Closed nis-thac closed 1 month ago
Hi @nis-thac any update on this please?
@venkatb-zelar See this helpful comment on my issue in grafana/k8s-monitoring-helm.
@nis-thac i guess something is fundamentally wrong with my configuration. When we run alloy in daemonset mode, should we enable clustering? Else alloy jobs will be duplicated across nodes?
@venkatb-zelar Sorry, I have no experience with daemonset mode. I don't think clustering is part of the problem tho.
I came across same issue. Pods with multiple ports are scanned 4 times per minut (4 ports exposed) despite having same url for prometheus metrics (address replaced).
This was an issue in the k8s-monitoring Helm chart. Please upgrade to release 1.5.2 and try again.
What's wrong?
As reported my me in https://github.com/grafana/k8s-monitoring-helm/issues/645. It was suggested that Alloy should be de-duplicating the targets.
Steps to reproduce
1) Deploy the k8s-monitoring chart. 2) Add scrape annotations to a pod with multiple ports exposed. 3) The metrics for that pod will be scraped as many times per minute as there are ports. 5 ports = 5 scrapes per minute. Expected would be 1 scrape per minute no matter how many ports. 4) See the Grafana Alloy UI. The exact same targets will be present multiple times.
System information
No response
Software version
Grafana Alloy 1.2.0
Configuration
Logs
No response