Skip to content

Conversation

cprussin
Copy link
Collaborator

@cprussin cprussin commented Jun 6, 2025

Summary

Add prometheus histograms to measure query latency for explorer queries.

Rationale

So that we can keep an eye on query performance in prod.

How has this been tested?

  • Current tests cover my changes
  • Added new tests
  • Manually tested the code

Copy link

vercel bot commented Jun 6, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api-reference ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 6, 2025 5:51am
component-library ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 6, 2025 5:51am
developer-hub ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 6, 2025 5:51am
entropy-debugger ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 6, 2025 5:51am
entropy-explorer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 6, 2025 5:51am
insights ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 6, 2025 5:51am
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 6, 2025 5:51am
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 6, 2025 5:51am

futures = { version = "0.3.28" }
hex = "0.4.3"
prometheus-client = { version = "0.21.2" }
prometheus-client = { version = "0.23.1" }
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This upgrade is required because in 0.21.2 there was no implementation of the EncodeLabelSet trait for bool, which I need

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