Skip to content

--metrics does not expose span histogram metrics unless --tracing is also enabled #475

@brg8

Description

@brg8

Summary

The --metrics flag only exposes a small subset of metrics unless --tracing is also turned on. In our production deployment, with metrics enabled, we only see:

  • rollup_boost_execution_mode
  • rollup_boost_rpc_blocks_created

The docs suggest that enabling --metrics should also expose span duration histograms such as:

  • fork_choice_updated_v3_duration
  • get_payload_v3_duration
  • new_payload_v3_duration

However, those histogram metrics appear to be gated behind --tracing, not --metrics (code ref).

Suggested fix

I think the cleanest fix would be to decouple Prometheus span metrics from OTLP tracing export.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions