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

Implement internal metrics

Open wsmoak opened this issue 3 months ago • 3 comments

Now that we have metrics... we can have metrics about the metrics! (and the logs and the spans.)

See Semantic conventions for OpenTelemetry SDK metrics

This document describes metrics emitted by the OpenTelemetry SDK components themselves about their internal state.

For example, otel.sdk.processor.log.queue.size - The number of log records in the queue of a given instance of an SDK log processor.

wsmoak avatar Oct 19 '25 13:10 wsmoak

The Python SDK has the metrics instruments defined in opentelemetry-semantic-conventions/src/opentelemetry/semconv/_incubating/metrics/otel_metrics.py but nothing is reporting them yet.

Discussed in: https://cloud-native.slack.com/archives/C01PD4HUVBL/p1758901890444609

wsmoak avatar Oct 19 '25 13:10 wsmoak

Great point, @wsmoak! Ruby has constants for those metrics defined in our latest semantic conventions package: https://github.com/open-telemetry/opentelemetry-ruby/blob/1f4f85ef19914fdb31cbd314c59f3f247b61df07/semantic_conventions/lib/opentelemetry/semconv/incubating/otel/metrics.rb#L130

kaylareopelle avatar Oct 20 '25 18:10 kaylareopelle

👋 This issue has been marked as stale because it has been open with no activity. You can: comment on the issue or remove the stale label to hold stale off for a while, add the keep label to hold stale off permanently, or do nothing. If you do nothing this issue will be closed eventually by the stale bot.

github-actions[bot] avatar Nov 20 '25 02:11 github-actions[bot]