Files
f2bdd29d18 fix: change metric units to singular (#14753)
#### Description

This is to align the metric units with [OTel
specification](https://opentelemetry.io/docs/specs/semconv/general/metrics/#instrument-units):

> All non-units that use curly braces to annotate a quantity need to
match the grammatical number of the quantity it represent. For example
if measuring the number of individual requests to a process the unit
would be **{request}, not {requests}**.

#### Link to tracking issue

Part of
https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/45270

❓ Is there a way for this change to surface to users as a
breaking change?

---------

Co-authored-by: Pablo Baeyens <[email protected]>
2026-03-12 10:45:27 +00:00

38 lines
887 B
YAML

type: processorhelper
github_project: open-telemetry/opentelemetry-collector
status:
disable_codecov_badge: true
class: pkg
stability:
beta: [traces, metrics, logs]
telemetry:
metrics:
processor_incoming_items:
enabled: true
stability: alpha
description: Number of items passed to the processor.
unit: "{item}"
sum:
value_type: int
monotonic: true
processor_internal_duration:
enabled: true
stability: alpha
description: Duration of time taken to process a batch of telemetry data through the processor.
unit: s
histogram:
async: false
value_type: double
processor_outgoing_items:
enabled: true
stability: alpha
description: Number of items emitted from the processor.
unit: "{item}"
sum:
value_type: int
monotonic: true