-
Notifications
You must be signed in to change notification settings - Fork 806
Closed
Labels
Description
I'm opening this issue to discuss if this change would make sense
At the moment the role of each server in the cluster is stored in a label with a true/false
value:
metric_name{cluster="cluster1",es_client_node="true",es_data_node="false",
es_ingest_node="false", es_master_node="true",...}
This provides the ability to filter by a given role in the cluster, but it's not very friendly to dashboard solutions.
Having the role as the value of a label (...,role="client",...
) could be easier to integrate into some dashboarding solutions. For instance, on Grafana, this value could be fetched from the metric with the label_values(metric, label)
function. This would allow using the "values group" feature.
So far the alternative that I've found for this is to accomplish this using relabeling. If the feature is welcomed I can submit a PR.