Skip to content

Processed/exported SDK metrics #83

@carlosalberto

Description

@carlosalberto

Opening this issue to mainly get the ball rolling, as I have had users asking for metrics around processed/dropped/exported data (starting with traces, but following up with metrics/logs). I'd like to initially add the following metrics (some inspiration take by the current metrics in the Java SDK):

  • otel.exporter.exported, counter, with attributes:
    • success = true|false
    • type = span|metric|log
    • exporterType = <exporter type, e.g. GrpcSpanExporter>
  • otel.processor.processed, counter, with attributes:
    • dropped = true|false (buffer overflow)
    • type = span|metric|log
    • processorType = <processor typ, e.g. BatchSpanProcessor>

Albeit this is mostly targeted at SDKs, the Collector could use this as well - in which case we may want to add a component or pipeline.component attribute (or similar), to signal whether this is a SDK or a Collector.

Metadata

Metadata

Assignees

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