Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request Logs not showing for API Users #153

Open
landonreed opened this issue Sep 7, 2021 · 0 comments
Open

Request Logs not showing for API Users #153

landonreed opened this issue Sep 7, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@landonreed
Copy link
Contributor

Observed behavior

Visiting the OTP Admin Dashboard to view request logs (i.e., requests made by users who have signed up for API access), only show two API keys that were manually created for the web clients (desktop and kiosk). Other API users' requests are missing (!).

Expected behavior

All users/API keys should be returned by the otp-middleware backend.

Steps to reproduce the problem

Run local copy of otp-middleware and otp-admin-dashboard (maybe comment out the bugsnag stuff so a big event data request is not kicked off).

  1. Sign up as a new API user on the OTP admin dashboard: https://otp-admin-ui-ibi-group.vercel.app/
  2. Verify your email, and run the sample CURL command using your new API key.
  3. Your request log should show at the bottom of the admin dashboard (It can take a little bit of time for the requests to register with the AWS console: https://console.aws.amazon.com/apigateway/home?region=us-east-1#/usage-plans/ajjp1j
  4. The requests should also show up when you log in as an admin here (but they don't).

Any special notes on configuration used

n/a

Version of otp-middleware and/or OpenTripPlanner if applicable (exact commit hash or branch name)

latest dev

@landonreed landonreed added the bug Something isn't working label Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant