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

metrics(relayer)!: make per submission gauges into histograms #1060

Merged
merged 1 commit into from
May 14, 2024

Conversation

SuperFluffy
Copy link
Member

Summary

Changes various *per_tx metrics gauges into histograms.

Background

Making the *per_tx metrics into histograms will allow summing over all Celestia submissions and will give a running total of bytes, blobs, and blocks submitted to Celestia.

Changes

  • Changed astria_sequencer_relayer_blobs_per_celestia_tx from gauge to histogram
  • Changed astria_sequencer_relayer_blocks_per_celestia_tx from gauge to histogram
  • Removed astria_sequencer_relayer_total_blob_data_size_for_astria_block
  • Added histogram astria_sequencer_relayer_bytes_per_celestia_tx

Testing

Metrics need to be tested by observing them.

Metrics

  • Added histogram astria_sequencer_relayer_bytes_per_celestia_tx

Breaking Changelist

  • Changed metric types, removed a metric, added a metric (see above)

@SuperFluffy SuperFluffy requested a review from a team as a code owner May 9, 2024 12:23
@SuperFluffy SuperFluffy requested a review from Fraser999 May 9, 2024 12:23
@github-actions github-actions bot added the sequencer-relayer pertaining to the astria-sequencer-relayer crate label May 9, 2024
@SuperFluffy SuperFluffy force-pushed the superfluffy/histogram-not-gauge branch from 2c02d26 to e23bb9e Compare May 9, 2024 12:24
@SuperFluffy SuperFluffy added this pull request to the merge queue May 14, 2024
Merged via the queue into main with commit 19a70cf May 14, 2024
36 checks passed
@SuperFluffy SuperFluffy deleted the superfluffy/histogram-not-gauge branch May 14, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sequencer-relayer pertaining to the astria-sequencer-relayer crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants