Closed ArvinDevel closed 6 years ago
The app said that we can use Kubernetes tags to to filter pod metrics, but these filter has no effect too. I only can see the two empty panel Kubernetes Node Info
and Kubernetes Pod Nav
. And the principle behind the tag filter is not explained too.
So could you guys give some details documentations, which will receives more appreciations. Thanks!
The reason for not working is that the connection to kubernetes is not working. Just like #19 , we should guarantee the connection to kubernetes is valid. The easiest way which I tried is that specifying http url( which should be kubernetes api server url) as localhost:8001
after turn on proxy on localhost and disable tls check.
I use one local grafana server with one prometheus on k8s as datasource, I had verified the prometheus datasource's correctness, and the configured kubernetes-app kubernetes datasource showed up too. But the metrics on all dashboard are not displayed. For example, on
K8s Cluster
dashboard, I found the reason is that thenode
variable is not parsed correctly although thecluster
variable is parsed. I don't understand the query ofnode
variable , will the prometheus accept thenode
string as one query parameter, I guess that the plugin does some other work to support this. So my question is why the dashboard doesn't work and why the variables defined is not parsed correctly, for examplenode
inK8s Cluster
dashboard? Another question is the what's the implementation guide of the kubernetes-app plugin, I can't find other documentation to know it deeply, such as the defined variable.