Files
telemetry/internal/e2e/testdata/exporter_failure_attributes_test.yaml
Israel Blancasandzeekay 86eacd5139 Add detailed failure attributes to exporter send_failed metrics (#14247)
#### Description
- Added `error.type` and `error.permanent` attributes in detailed mode
to `otelcol_exporter_send_failed_<signal>` metrics

Suggested here
https://github.com/open-telemetry/opentelemetry-collector/pull/13957#issuecomment-3598050342

#### Link to tracking issue
Fixes #13956

---------

Signed-off-by: Israel Blancas <[email protected]>
2026-02-22 00:54:49 -08:00

36 lines
669 B
YAML

receivers:
otlp:
protocols:
http:
endpoint: localhost:${env:OTEL_PORT}
exporters:
otlp_http/test:
endpoint: ${env:EXPORTER_ENDPOINT}
timeout: 100ms
retry_on_failure:
enabled: true
initial_interval: 10ms
max_interval: 50ms
max_elapsed_time: 200ms
sending_queue:
enabled: false
service:
telemetry:
logs:
level: info
metrics:
level: detailed
readers:
- pull:
exporter:
prometheus:
host: localhost
port: ${env:METRICS_PORT}
pipelines:
metrics:
receivers: [otlp]
exporters: [otlp_http/test]