GitBulletin

Repository: farcasterxyz/hub-monorepo

Revolutionizing Data Tracking: New Metrics Unleashed for HTTP, RPC, and Streaming Requests!

2024-10-09 06:12:37 UTC

Enhanced integration with Grafana signals a new era of advanced configurations and real-time monitoring in the Hubble application, bolstering performance insights like never before.

Commit Details:

chore: add metrics for http/rpc/streaming requests for grafana (#2361) ## Why is this change needed? The metrics collected for statsd were not integrated into grafana, and needed a few extra details for advanced configurations. This adds a new metric for streaming, more tags on all three (http/rpc/streaming), and incorporates them into grafana. ## Merge Checklist _Choose all relevant options below by adding an `x` now or at any time before submitting for review_ - [x] PR title adheres to the [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) standard - [x] PR has a [changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets) - [x] PR has been tagged with a change label(s) (i.e. documentation, feature, bugfix, or chore) - [ ] PR includes [documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs) if necessary. <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on enhancing metrics tracking for HTTP and RPC requests in the `hubble` application, particularly for Grafana monitoring, by adding new metrics and adjusting existing ones. ### Detailed summary - Updated the method for decrementing `rpc.open_request_count` to use `getOnChainSigner`. - Introduced new metrics for `rpc.open_stream_count` in `subscribe`, `streamSync`, `streamFetch`. - Added new Grafana dashboard panels for tracking HTTP and RPC requests. - Configured `Graphite` as the data source for the new metrics in Grafana. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->

Search Similar