Skip to content

Add metrics useful for Partial Data Columns#21

Open
MarcoPolo wants to merge 1 commit intoethereum:masterfrom
MarcoPolo:partial-columns-metrics
Open

Add metrics useful for Partial Data Columns#21
MarcoPolo wants to merge 1 commit intoethereum:masterfrom
MarcoPolo:partial-columns-metrics

Conversation

@MarcoPolo
Copy link

We may add more things over time, but this is the first pass at obviously useful metrics.

@MarcoPolo MarcoPolo force-pushed the partial-columns-metrics branch from f293d0e to 8f64233 Compare January 14, 2026 23:35
@MarcoPolo MarcoPolo force-pushed the partial-columns-metrics branch from 8f64233 to 4e219ab Compare January 19, 2026 21:26
@MarcoPolo
Copy link
Author

One thing to consider, rust-libp2p already has had some of these metrics with a different name for a while. It would be a breaking change for them to rename it.

It seems like our options are:

  1. Relabel the metric at scrape time: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
  2. Different queries for different CLs
  3. ? something else?

| `beacon_engine_getBlobsV3_complete_responses_total` | Counter | Total number of complete `engine_getBlobsV3` successful responses received | On receiving `engine_getBlobsV2` responses |
| `beacon_engine_getBlobsV3_partial_responses_total` | Counter | Total number of `engine_getBlobsV3` partial responses received | On receiving `engine_getBlobsV3` responses |
| `beacon_engine_getBlobsV2_request_duration_seconds` | Histogram | Duration of `engine_getBlobsV3` requests | On `engine_getBlobsV2` request completion |
| `gossipsub_pubsub_rpc_sent_pub_size_total` | Counter | Total size of publish messages sent via RPC. Labels: `topic`, `is_partial` (bool) | On pubsub RPC publish |
Copy link

Choose a reason for hiding this comment

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

in Lighthouse this already existed with gossipsub_topic_msg_sent_bytes . I now added a field in the label to allow filtering for partial messages

| `beacon_engine_getBlobsV3_partial_responses_total` | Counter | Total number of `engine_getBlobsV3` partial responses received | On receiving `engine_getBlobsV3` responses |
| `beacon_engine_getBlobsV2_request_duration_seconds` | Histogram | Duration of `engine_getBlobsV3` requests | On `engine_getBlobsV2` request completion |
| `gossipsub_pubsub_rpc_sent_pub_size_total` | Counter | Total size of publish messages sent via RPC. Labels: `topic`, `is_partial` (bool) | On pubsub RPC publish |
| `gossipsub_mesh_partial_message_capable_peers` | Gauge | Number of partial-message capable peers in mesh. Labels: `topic` | On mesh peer update |
Copy link

Choose a reason for hiding this comment

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

Lighthouse already had gossipsub_mesh_peer_counts . I now added a field in the label to allow to filter supports_partial for peers that support partial messages on the topic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants