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

bug-1906108: upgrade markus to 5.0.0 and document metrics #1052

Merged
merged 5 commits into from
Aug 21, 2024

Conversation

willkg
Copy link
Contributor

@willkg willkg commented Aug 10, 2024

This upgrades Markus to 5.0.0 and documents the metrics. It also does some metrics-related cleanup by removing some things we weren't using.

Note: The first commit is covered in pull #1051. I needed that in order to test changes. We should land that PR first and then rebase this one on top of that one.

@willkg willkg added the DO NOT MERGE do not merge this label Aug 10, 2024
This adds a statsd_metrics.yaml file that registers all the statsd
metrics that Antenna emits.

This adds a document_metrics.py Sphinx extension for autogenerating
metrics documentation.

While doing this, I removed statsd bits from health state since we don't
use that anymore.
This changes the sentry_scrub_error metric to use the
``socorro.sentry_scrub_error`` key and pass the service as a tag. This
matches what we're changing the other Socorro services to do.
This fixes the tests so they set up logging and metrics at pytest
session start so that the metrics filters apply to all the tests.

This also removes the ``CaptureMetricsUsed`` because we don't need that
anymore.
@willkg willkg force-pushed the willkg-bug-1906108-markus branch 3 times, most recently from 193a9c8 to 5e99958 Compare August 12, 2024 19:29
@willkg willkg removed the DO NOT MERGE do not merge this label Aug 20, 2024
@willkg willkg marked this pull request as ready for review August 20, 2024 16:14
@willkg willkg requested a review from a team as a code owner August 20, 2024 16:14
@willkg willkg merged commit 68b1d2f into main Aug 21, 2024
2 checks passed
@willkg willkg deleted the willkg-bug-1906108-markus branch August 21, 2024 14:18
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