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

Add metric for agencies with coverage #4

Open
3 tasks
aaronbrethorst opened this issue Jan 7, 2025 · 0 comments
Open
3 tasks

Add metric for agencies with coverage #4

aaronbrethorst opened this issue Jan 7, 2025 · 0 comments

Comments

@aaronbrethorst
Copy link
Member

Note: Blocked on #3

User story

as a devops engineer,
I want to make sure that all agencies in the bundle are represented in the server,
so that I can be confident about the state of my data

Acceptance criteria

  • add a new metrics file/function at internal/metrics/agencies_with_coverage.go / CheckAgenciesWithCoverage(), and wire it up in api/metrics.go
  • Verify that the number of agencies represented in the static GTFS file matches the number of agencies in the agencies-with-coverage endpoint.
  • Add tests verifying that this works as expected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant