Unable to Get Internal Metrics for Logs Pipeline via Prometheus Exporter #39293
shahparthiv
started this conversation in
General
Replies: 1 comment
-
Hi Shahparthiv, receivers:
prometheus/internal:
config:
scrape_configs:
- job_name: 'internal-collector'
metrics_path: '/metrics'
scrape_interval: 15s
static_configs:
- targets: ['127.0.0.1:8888']
exporters:
prometheus:
endpoint: '0.0.0.0:9991'
service:
telemetry:
metrics:
level: basic
address: 127.0.0.1:8888
pipelines:
metrics/internal:
receivers: [prometheus/internal]
processors: []
exporters: [prometheus] This will then expose the internal metrics you're after on 8888 then scrape them, you can add whatever processing you need, then expose them on your port 9991. Does this work for your use case? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi team,
I'm working with the OpenTelemetry Collector and using a pipeline for processing logs.
Setup:
Problem:
I’m expecting internal metrics such as:
…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:
Current config setup
Beta Was this translation helpful? Give feedback.
All reactions