opentelemetry-php icon indicating copy to clipboard operation
opentelemetry-php copied to clipboard

update batch processors to emit otel semconv metrics

Open brettmc opened this issue 6 months ago • 1 comments

Our SDK's BatchSpanProcessor and BatchLogRecordProcessor emit metrics about their internal state, eg otel.trace.span_processor.spans and otel.logs.log_processor.queue.usage. Since #1633 has been merged we have some official semantic conventions that can be used.

We should:

  • use semconv where available
  • consider dropping or submitting new semconv's for metrics we emit that do not map to a semconv

See https://opentelemetry.io/docs/specs/semconv/otel/sdk-metrics/

This is not a breaking change in terms of API, but behaviourally different enough to go into SDK 2.x ?

brettmc avatar Jun 24 '25 02:06 brettmc

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 18 '25 05:10 stale[bot]