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

A0-3853: Prometheus metrics #8

Merged
merged 5 commits into from
Jan 12, 2024
Merged

A0-3853: Prometheus metrics #8

merged 5 commits into from
Jan 12, 2024

Conversation

kostekIV
Copy link
Collaborator

@kostekIV kostekIV commented Jan 9, 2024

No description provided.

@kostekIV kostekIV changed the title A0-3853: Prometheus for methods A0-3853: Prometheus metrics Jan 11, 2024
Copy link

@piotrMocz piotrMocz left a comment

Choose a reason for hiding this comment

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

Very nice ;) src/server.rs was a bit hard to read with the formatting changes so I hope I didn't miss anything there, but seems good.

BTW clippy doesn't seem to like your metrics hashmap (thinks it's too complex). Maybe setting sth like type MetricPair = (Counter<U64>, Histogram) will make it happy

src/extensions/prometheus/mod.rs Show resolved Hide resolved
src/extensions/prometheus/mod.rs Outdated Show resolved Hide resolved
src/extensions/server/prometheus.rs Show resolved Hide resolved
@kostekIV kostekIV merged commit 7218798 into alephzero Jan 12, 2024
1 check passed
@kostekIV kostekIV deleted the prometheus branch January 12, 2024 10:23
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