Skip to content

op-batcher: Record unsafe_da_bytes metric even when throttling disabled#19138

Merged
geoknee merged 6 commits intodevelopfrom
gk/batcher-metric
Feb 11, 2026
Merged

op-batcher: Record unsafe_da_bytes metric even when throttling disabled#19138
geoknee merged 6 commits intodevelopfrom
gk/batcher-metric

Conversation

@geoknee
Copy link
Contributor

@geoknee geoknee commented Feb 10, 2026

This means we can still track the metric when throttling is disabled.

Adds to unit tests showing that metrics are always emitted even when throttling is not enabled.

This means we can still track the metric when throttling is disabled.
if we can't send on the channel, we drop the update anyway
@geoknee geoknee changed the title Add metrics recording before sending to throttling loop op-batcher: Add metrics recording before sending to throttling loop Feb 10, 2026
This commit adds a test case to verify the behavior of the batch
submitter when throttling is disabled (LowerThreshold = 0). The test
ensures that:

- The throttling loop does not start
- No throttle updates are sent to the endpoint
- Unsafe data availability bytes metric is still recorded
- The driver can process blocks and update metrics without running the
  throttling loop
@geoknee geoknee added the A-op-batcher Area: op-batcher label Feb 11, 2026
@geoknee geoknee marked this pull request as ready for review February 11, 2026 09:41
@geoknee geoknee requested review from a team as code owners February 11, 2026 09:41
@geoknee geoknee requested a review from teddyknox February 11, 2026 09:41
@almanax-ai
Copy link
Contributor

almanax-ai bot commented Feb 11, 2026

Plan expired

Your subscription has expired. Please renew your subscription to continue using CI/CD integration and other features.

@geoknee geoknee changed the title op-batcher: Add metrics recording before sending to throttling loop op-batcher: Record unsafe_da_bytes metric even when throttling disabled Feb 11, 2026
@geoknee geoknee added this pull request to the merge queue Feb 11, 2026
Merged via the queue into develop with commit bdf59c8 Feb 11, 2026
79 checks passed
@geoknee geoknee deleted the gk/batcher-metric branch February 11, 2026 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-op-batcher Area: op-batcher

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants