Yu-Lin Chen created YUNIKORN-2825:
-------------------------------------

             Summary: Fix the job name of pprof dashboard in Grafana dashboard 
example
                 Key: YUNIKORN-2825
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2825
             Project: Apache YuniKorn
          Issue Type: Bug
          Components: documentation
            Reporter: Yu-Lin Chen


After following the steps in "[Prometheus and 
Grafana|https://yunikorn.apache.org/docs/next/user_guide/prometheus#deploy-prometheus-and-grafana-in-a-cluster]";
 to deploy Grafana, if you import the pprof dashboard through 
"[yunikorn-pprof.json|https://github.com/apache/yunikorn-k8shim/tree/master/deployments/grafana-dashboard]";,
 there is no metrics are displayed.

The reason is the job name in the yunikorn-pprof.json doesn't match what we 
have from Promethus operator.

We should fix the job name in the example json.

ex:
{code:bash}
"expr": "go_memstats_heap_inuse_bytes{job=~\"yunikorn\"}",
{code}
should change to
{code:bash}
"expr": "go_memstats_heap_inuse_bytes{job=\"yunikorn-service\"}",
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@yunikorn.apache.org
For additional commands, e-mail: dev-h...@yunikorn.apache.org

Reply via email to