You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: Grafana dashboard issue - deployment name from concourse is missing #2124
I am able to get the metrics in prometheus (Graph and console), but the Grafana dashboards are not showing any metrics. while digging into it, I see the deployment name is not exposed on port 9391.
The following can also be handy:
Concourse version: 3.9.1
Deployment type (BOSH/Docker/binary): BOSH
Infrastructure/IaaS: vmware
Browser (if applicable): any browser
Did this used to work?- no
in the attached image, the first query is not working, whereas second query without deployment name is able to plot the graph.
So we would expose a metric that looked like: concourse_build_info{version="3.9.1"....} for any of those metric attributes specified, and then you could query using them (albeit in a roundabout way).
Activity
vito commentedon Apr 3, 2018
@jmcarp @TimSimmons Is this because the Prometheus emitter ignores
--metrics-attributeflag? These values get added on to the attributes for all events emitted, but the Prometheus emitter selects particular attributes for emitting.TimSimmons commentedon Apr 3, 2018
It is! It's generally an anti-pattern to add labels to all Prometheus metrics. We could however add a
concourse_build_infometric, similar to what is described here:https://www.robustperception.io/exposing-the-software-version-to-prometheus/
also of note:
https://www.robustperception.io/how-to-have-labels-for-machine-roles/
So we would expose a metric that looked like:
concourse_build_info{version="3.9.1"....}for any of those metric attributes specified, and then you could query using them (albeit in a roundabout way).vito commentedon Apr 3, 2018
@TimSimmons Thanks for the context! :)
@sattan66 Would that suggestion work for you?
Alexvianet commentedon Apr 11, 2018
Any updates same issue with corrupted concourse dashboards.
bump etree tsa handlers mux clockwork goxmldsig genproto grpc
xtremerui commentedon Nov 22, 2023
closing stale issue.