You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Yu-Lin Chen (Jira)" <ji...@apache.org> on 2024/08/21 08:46:00 UTC

[jira] [Created] (YUNIKORN-2825) Fix the job name of pprof dashboard in Grafana dashboard example

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-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org