Hey,
I am trying to use the Helm daemonset from helm-charts/charts/telegraf-ds/README.md at master · influxdata/helm-charts · GitHub with my influxdb cloud URL and token like
helm upgrade --install telegraf-ds \
--set outputs.influxdb.urls=["https://eu-central-1-1.aws.cloud2.influxdata.com/api/v2/write?org=<orga>&bucket=<bucket>"] \
--set outputs.influxdb.token="<token>" \
influxdata/telegraf-ds
I am hoping to get resource insights from telegraf. For now I don’t really care whether it’s from the pod or the node; but I assume like this it shall collect data from the node and send it to influxDB.
Unfortunately I get
2024-11-20T08:00:05Z E! [outputs.influxdb] When writing to [http://influxdb.monitoring.svc:8086]: failed doing req: Post "http://influxdb.monitoring.svc:8086/write?db=telegraf": dial tcp: lookup influxdb.monitoring.svc on 10.96.0.10:53: no such host
2024-11-20T08:00:05Z E! [agent] Error writing to outputs.influxdb: could not write any address
Why is it trying to send data to a influxdb.monitoring service (which doesn’t) exist, rather then sending it to my specified URL? Do you have any hints?
regards