Closed mgherman closed 1 year ago
Hey, you should put this config under agent
, like:
agent:
config:
telemetry:
metrics:
address: 0.0.0.0:8890
Thanks @omrozowicz-splunk this lead me to a solution of:
agent:
config:
receivers:
prometheus/agent:
config:
scrape_configs:
- job_name: otel-agent
scrape_interval: 10s
static_configs:
- targets:
- ${K8S_POD_IP}:8890
service:
telemetry:
metrics:
address: 0.0.0.0:8890
I appreciate your help.
Describe the issue you're reporting
Hi Folks,
When trying to install this chart (version 0.80.0), i'm seeing the splunk-otel-collector-agent pods failing to start due to a port conflict on 8889/TCP due to that port already being in use on the cluster nodes.
Looking at other issues I noticed that https://github.com/signalfx/splunk-otel-collector-chart/issues/572#issuecomment-1317429619 mentions updating the values.yaml file to set an alternate port, however when attempting this
helm throws an error:
Short of downloading and modifying the chart locally, is there a "correct" way to update the port to resolve the conflict?