Description
Component(s)
No response
Describe the issue you're reporting
Hi team,
I'm working with the OpenTelemetry Collector and using a pipeline for processing logs.
Setup:
Receiver: NetFlow receiver (emits logs)
Processor: Custom processor that reads and transforms logs to metrics
Pipeline type: logs
Exporter: debug
Problem:
I’m expecting internal metrics such as:
otelcol_receiver_accepted_log_records
otelcol_processor_incoming_items
otelcol_processor_outgoing_items
…to be exposed via the Prometheus exporter.
However, even after configuring the Prometheus exporter, these internal metrics are not visible at /metrics.
Question:
What’s the correct way to expose internal pipeline metrics for a logs pipeline using the Prometheus exporter?
Do I need to:
Add something specific in the pipeline config?
Enable internal telemetry or metrics level somewhere?
Use a special receiver/exporter combo for logs pipelines?
Current config setup
service:
telemetry:
metrics:
readers:
- pull:
exporter:
prometheus:
host: '0.0.0.0'
port: 9991
pipelines:
logs:
receivers:
- netflow
processors:
- custom_netflow_processor
exporters:
- debug