GitBulletin

Repository: farcasterxyz/hub-monorepo

Data Revolution: StatsD Metrics Get a Game-Changing Overhaul!

2024-02-27 23:21:23 UTC

New Tagging System Set to Transform Multivariate Data Tracking in Hubble Network Operations.

Commit Details:

refactor: add tags to key statsd metrics (#1752) ## Motivation - StatsD metrics support tags for high cardinality multivariate data - String interpolation is useful for local development, but can be much more difficult to graph in production ## Change Summary - Update `gossip.message_failure` - Update `submit_message.error` - Add `gossip.emit` - Update `gossip.worker.latency_ms` ## 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 - [ ] 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. - [x] All [commits have been signed](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#22-signing-commits) ## Additional Context If this is a relatively large or complex change, provide more details here that will help reviewers <!-- start pr-codex --> --- ## PR-Codex overview This PR enhances gossip message tracking in the Hubble network by adding detailed tags for message failures and emissions. ### Detailed summary - Added detailed tags for latency tracking in `gossipNodeWorker.ts` - Enhanced message failure tracking with specific tags in `hubble.ts` - Improved message tracking and decoding in `gossipNode.ts` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->

Search Similar