draios / grafana-sysdig-datasource

Sysdig datasource plugin for Grafana (https://grafana.com/)
Apache License 2.0
36 stars 13 forks source link

label values/name in variable not fetching prometheus metrics labels in Sysdig Data API #88

Open harikumarrr opened 2 years ago

harikumarrr commented 2 years ago

label values and label names functions in variable not fetching Prometheus metrics labels

We have a prometheus metric like metrics_name{method="create"} 4 which method label have different options like create, delete etc., On sysdig monitoring dasboard metrics have additional labels like kubernetes.namespace.name, kubernetes.cluster.id, kubernetes.cluster.name etc,.

We're using sysdig as a data source in Grafana I want to add a variable that carry the values of label method but the label_values/label_names function in dashboard variable not fetching the method label values but it's fetching the label values for kubernetes.cluster.name, kubernetes.cluster.id.

Can someone help me to figure it out.