Skip to content

Opt-in items and bytes counts at the node level. #2884

@jmacd

Description

@jmacd

Pre-filing checklist

  • I searched existing issues and didn't find a duplicate

Component(s)

Rust OTAP dataflow (rust/otap-dataflow/)

Description

We have node-level metrics for requests consumed and produced following OTel Collector semantic conventions.

We also want item counters and bytes counters of the same form.

Additional Context

https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/rfcs/component-universal-telemetry.md defines otelcol.{component_type}.produced.items for example.

We should support an opt-in metric for bytes and items.

Note that it may be possible to compute num_items and num_bytes once per (Context, Payload), if done carefully, so that we only recompute the number of items once per request (/mutation) in the pipeline. However, this is not a requirement.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions