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

Remove Prometheus registry setup #1495

Merged
merged 9 commits into from
Jun 13, 2024
Merged

Conversation

aarontp
Copy link
Member

@aarontp aarontp commented Jun 13, 2024

Description of the change

Removes the registry setup for Prometheus as this causes the application metrics not to show up. This also makes sure that we only initialize worker metrics once (otherwise we get duplicate timeseries errors from prometheus_client) and unregisters all metrics in worker task tearDown() instead of individual tests.

Applicable issues

Additional information

Checklist

  • [ x] All tests were successful.
  • Unit tests added.
  • Documentation updated.

@aarontp aarontp added the WIP Work in progress label Jun 13, 2024
@aarontp aarontp removed the WIP Work in progress label Jun 13, 2024
@aarontp aarontp marked this pull request as ready for review June 13, 2024 22:17
@aarontp aarontp requested a review from jleaniz June 13, 2024 22:17
Copy link
Collaborator

@jleaniz jleaniz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jleaniz jleaniz merged commit 9da8379 into google:master Jun 13, 2024
5 checks passed
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

Successfully merging this pull request may close these issues.

2 participants