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-1906113: upgrade markus to 5.0.0 #2987

Merged
merged 3 commits into from
Aug 6, 2024
Merged

Conversation

willkg
Copy link
Contributor

@willkg willkg commented Aug 6, 2024

Upgrade markus to 5.0.0.

Switch to markus 5.0.0's new AnyTagValue and lets us assert things about tags ignoring values that change from test run to test run.

Documents all metrics in a format similar to how Glean defines metrics. This adds a filter when running tests that raises an error if a metric is emitted that's not documented.

This adds a Sphinx extension that automatically documents all metrics defined in tecken/tecken_metrics.yaml.

To review:

  1. run the tests
  2. build the docs (make docs)
  3. review the metrics documentation

This uses markus 5.0.0's new AnyTagValue and lets us assert things about
tags ignoring values that change from test run to test run.
This documents all metrics in a format similar to how Glean defines
metrics. This adds a filter when running tests that raises an error if a
metric is emitted that's not documented.

This adds a Sphinx extension that automatically documents all metrics
defined in `tecken/tecken_metrics.yaml`.
@willkg willkg requested a review from a team as a code owner August 6, 2024 14:18
@willkg willkg merged commit 725b8e3 into main Aug 6, 2024
2 checks passed
@willkg willkg deleted the willkg-1906113-upgrade-markus branch August 6, 2024 14:57
@willkg
Copy link
Contributor Author

willkg commented Aug 6, 2024

Thank you!

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