kubernetes-app icon indicating copy to clipboard operation
kubernetes-app copied to clipboard

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

Open jurgenweber opened this issue 5 years ago • 2 comments

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?

jurgenweber avatar Aug 23 '18 23:08 jurgenweber

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.

Stanislasss avatar Sep 13 '18 10:09 Stanislasss

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

robinsondan87 avatar Oct 30 '18 09:10 robinsondan87