Hello! I use fn queryTypes.withLabelValues(label, metric), where requirement fields is label and metric. But as i i see in grafana documentation , filed metric is optional, and may not be used at queries, and this my case: in my queries, metric options is not needed, want to use only labels. Tried use regex, not succeeded .
My code is:
great. thanks a lot. some note for others: if you already have jsonnetfile.json remove vendor folder and run jb update in folder with project, for using last version of grafonnet\libsonnet etc
Hello! I use fn queryTypes.withLabelValues(label, metric), where requirement fields is label and metric. But as i i see in grafana documentation , filed metric is optional, and may not be used at queries, and this my case: in my queries, metric options is not needed, want to use only labels. Tried use regex, not succeeded . My code is:
after build via jsonnet become like this:![изображение](https://user-images.githubusercontent.com/135844613/263080650-5f4d54de-704f-4c32-9d37-7bf561effe98.png)
"query": "label_values(, label)",
and Grafana couldn't use it correctly, at variable interface i see this