Is it possible to disable metrics port for the collector ? #6547
Unanswered
santoshkashyap
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Set the metrics level to none. You should then see the log line "Skipping telemetry setup." after restart.
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have following configuration for the otel collector:
otel-config.yaml
My focus currently is on traces ONLY. But, when the collector binary is run with the above config, prometheus port (8888) is also enabled .
Is there a way to disable exposure of metrics port ? The receiver config documentation doesn't have much information. Thanks in advance!
Best,
Santosh
Beta Was this translation helpful? Give feedback.
All reactions