-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v2: selfReporting generates incomplete metric grafana_kubernetes_monitoring_build_info #875
Comments
the scrape interval for self-reporting isn't overridden by the global:
If you're seeing otherwise, let me know. The cluster label should be set by the destination, not the data source (self-reporting)... I'll investigate why this isn't showing up here... |
Fact is (what I tried): I set 5m in that scrape interval and yet I got samples each minute that's why I said it was overridden (maybe poor choice of words, I didn't investigate too much but trusted the comment in the value file). |
Cool. I'll try it out |
btw: the cluster label is now present in all PS: it is wrong to assume that an OTLP-only destination should be able to carry/relabel everything correctly? |
Yeah, I just fixed an issue where it would request prometheus-ecosystem metrics destinations, but then try to use otlp-ecosystem metrics destinations. I fixed it to be consistent (prefer prometheus ecosystem). I also need to fix the otlp destination to set |
From a vanilla values file I enabled selfReporting to ensure all metrics checks are green in Grafana Cloud (Home => Infrastructure => Kubernetes => Configuration => Metrics status).
I defined 3 destinations (prometheus, loki and otlp) and deployed.
In the resulting alloy configs only the singleton shows the reporting blocks added by the chart templates (which is probably correct as it's the $chosenCollector even if I would expect the receiver to be higher priority if the "list" is ordered) and specifically generates this metric:
which lacks the
cluster
label (ie it's not added even in further relabeling blocks) thus failing the check:Here we can query for that metric and see its labels:
Please note: the
cluster
label is missing from allgrafana_kubernetes.*
metrics, is that expected/correct?As a side note: the
selfReporting.scrapeInterval
key can be set but it's overridden by the global one so I don't see the point in setting it (and the comment/description in the values file doesn't help understand how to use it).The text was updated successfully, but these errors were encountered: