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

API error rate is high for realtime endpoint #23

Open
kerrickstaley opened this issue Jan 16, 2024 · 2 comments · May be fixed by #24
Open

API error rate is high for realtime endpoint #23

kerrickstaley opened this issue Jan 16, 2024 · 2 comments · May be fixed by #24
Assignees
Labels
bug Something isn't working

Comments

@kerrickstaley
Copy link
Contributor

The API's /realtime endpoint frequently returns a 503 response when queried. Over the past week, the site has returned a 503 response about 24% of the time. This number comes from some VictoriaMetrics + Prometheus monitoring I set up that periodically queries the Hoboken realtime endpoint at https://path.api.razza.dev/v1/stations/hoboken/realtime.

Here's a graph of the response code over time:
Screenshot 2024-01-15 at 11 29 14 PM

Not trying to complain here, just stating the way things are. I realize that running this service is probably expensive and PATH doesn't go out of their way to make it easier for you! I'm happy to help out with funding or running the service since I use it every day.

@mrazza mrazza self-assigned this Jan 17, 2024
@mrazza mrazza added the bug Something isn't working label Jan 17, 2024
@mrazza
Copy link
Owner

mrazza commented Jan 17, 2024

Not sure what went wrong. This will probably repro and requires more investigation when it does. I reset the jobs, let me know if this has (at least temporarily) improved this.

@kerrickstaley
Copy link
Contributor Author

There isn't a noticeable difference between the error rate before 1:30 PM today (when you said you reset the jobs) and after 1:30 PM today.

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
2 participants