Closed aerfio closed 10 months ago
Diff between my values.yaml and values.yaml from chart@0.27.2, mine red, orignal chart's values as green:
Ups, this might be an issue with the endpoint on my side. Still, improving error message might be beneficial, I didn't see it wrapped with some message like "failed to call external service: XYZ" so I assumed it must be internal grafana-agent error. I'll try to see if I can ensure if that's error on my side, consider this issue on hold for now.
Ok, ignore that, it was probably error on my side. Closing this issue then
What's wrong?
Following documentation for otelcol.receiver.prometheus component leads to errors in grafana-agent deployed on K8s cluster using newest chart (0.27.2 as of writing this issue):
Steps to reproduce
Install Grafana Agent on k8s cluster with provided values.yaml (in which I've set the chart to use manually created configmap) + with following configmap
In comparison to https://grafana.com/docs/agent/latest/flow/reference/components/otelcol.receiver.prometheus/#example I've only changed the port in prometheus.scrape from
12345
to80
(because those metrics are exposed there, just checked!) and the endpoint has been redacted and logging.level=debug has been added. This leads to:System information
K8s v1.26.8+rke2r1
Software version
Grafana Agent v0.34.2
Configuration
Logs