Skip to content

refactor(sequencer): fix prepare proposal metrics#1211

Merged
lobstergrindset merged 2 commits intomainfrom
lilyjjo/sequencer_fix_metrics
Jul 8, 2024
Merged

refactor(sequencer): fix prepare proposal metrics#1211
lobstergrindset merged 2 commits intomainfrom
lilyjjo/sequencer_fix_metrics

Conversation

@lobstergrindset
Copy link
Copy Markdown
Contributor

Summary

The sequencer's prepare_proposal() metrics got shifted to process_proposal() across some refactors.

Changes

Put metrics back in proper places and removed unneeded metric.

Testing

Ran locally

Metrics

Removed the PREPARE_PROPOSAL_EXCLUDED_TRANSACTIONS_DECODE_FAILURE metric as the mempool should be filtering these transactions out.

@github-actions github-actions bot added the sequencer pertaining to the astria-sequencer crate label Jun 26, 2024
// removed from the mempool in `update_mempool_after_finalization`.
txs_to_readd_to_mempool.push((enqueued_tx, priority));
} else {
failed_tx_count = failed_tx_count.saturating_add(1);
Copy link
Copy Markdown
Contributor Author

@lobstergrindset lobstergrindset Jun 26, 2024

Choose a reason for hiding this comment

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

I'm not really sure what this log is for. Do we use it for alters somewhere? I moved it down here so we could have an accurate count for the excluded transactions gauge.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

pretty sure it's only used for logging at the moment, but useful to have

@lobstergrindset lobstergrindset marked this pull request as ready for review June 26, 2024 15:59
@lobstergrindset lobstergrindset requested a review from a team as a code owner June 26, 2024 15:59
@lobstergrindset lobstergrindset added this pull request to the merge queue Jul 8, 2024
Merged via the queue into main with commit 30c562a Jul 8, 2024
@lobstergrindset lobstergrindset deleted the lilyjjo/sequencer_fix_metrics branch July 8, 2024 12:04
steezeburger added a commit that referenced this pull request Jul 11, 2024
* main: (27 commits)
  refactor(sequencer): fix prepare proposal metrics (#1211)
  refactor(bridge-withdrawer): move generated contract bindings to crate (#1237)
  fix(sequencer) fix wrong metric and remove unused metric (#1240)
  feat(sequencer): implement transaction fee query (#1196)
  chore(cli)!: remove unmaintained rollup subcommand (#1235)
  release(sequencer): 0.14.1 patch release (#1233)
  feat(sequencer-utils): generate example genesis state (#1224)
  feat(sequencer): implement abci query for bridge account info (#1189)
  feat(charts): bridge-withdrawer, smoke test, various chart improvements (#1141)
  chore(charts): update for new geth update (#1226)
  chore(chart)!: dusk-8 chart version updates (#1223)
  release(conductor): fix conductor release version (#1222)
  release: dusk-8 versions (#1219)
  fix(core): revert `From` ed25519_consensus types for crypto mod (#1220)
  Refactor(chart, sequencer): restructure sequencer chart, adjust configs (#1193)
  refactor(withdrawer): read from block subscription stream and get events on each block (#1207)
  feat(core): implement with verification key for address builder and crypto improvements (#1218)
  feat(proto, sequencer)!: use full IBC ICS20 denoms instead of IDs (#1209)
  chore(chart): update evm chart for new prefix field (#1214)
  chore: bump penumbra deps (#1216)
  ...
bharath-123 pushed a commit that referenced this pull request Jul 25, 2024
## Summary
The sequencer's `prepare_proposal()` metrics got shifted to
`process_proposal()` across some refactors.

## Changes
Put metrics back in proper places and removed unneeded metric.

## Testing
Ran locally 

## Metrics
Removed the `PREPARE_PROPOSAL_EXCLUDED_TRANSACTIONS_DECODE_FAILURE`
metric as the mempool should be filtering these transactions out.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sequencer pertaining to the astria-sequencer crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants