grafana / kubernetes-app

A set of dashboards and panels for kubernetes.
https://grafana.com/plugins/grafana-kubernetes-app
Apache License 2.0
401 stars 149 forks source link

node variable parameter.... fulls stop are being rewritten to underscores. #40

Open jurgenweber opened 5 years ago

jurgenweber commented 5 years ago

https://www.dropbox.com/s/1ecgy6foslcczxj/Screenshot%202018-08-24%2009.54.44.png?dl=0

api/datasources/proxy/1/api/v1/query_range?query=sum((avg(irate(node_cpu%7Bnodename%3D~%22ip-10-10-2-217_ap-southeast-2_compute_internal%22%2C%20mode%3D%22iowait%22%7D%5B5m%5D))%20*%20100))&start=1535068162&end=1535068462&step=60"

In the k8s-node dashboard you can select per node metrics, I find in the query inspector all . are being rewritten to _ so the hostnames do not exist in prometheus and so... it returns nothing.

questions; how is this controlled and why is the char changing?

Stanislasss commented 5 years ago

Having the exact same issue. Rewriting the underscore to dot in the URL does work. This will happen whit any query made with FQDN. Thanks in advance for the support.

robinsondan87 commented 5 years ago

Looks to be the same issue referenced under https://github.com/grafana/kubernetes-app/issues/13