-
Notifications
You must be signed in to change notification settings - Fork 468
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make metrics modular & report from a per-server registry (#7493)
This PR takes the work in https://github.com/MaterializeInc/materialize/compare/main...benesch:metrics?expand=1, expands it and makes it apply to all the bits of the system. Some high points: * More ergonomic creation / registration of metrics via type inference * It's no longer necessary to import the prometheus crate at all (it's all re-exported nicely from the ore crate), unless a crate needs to read from the registry. * This allows setting up per-server-object metrics, and so you can make assertions about the state of a metric in unit/integration tests.
- Loading branch information
Showing
50 changed files
with
1,691 additions
and
632 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.