Montoring Grafana itself with Prometheus

137 views
Skip to first unread message

Cht G

unread,
Jun 18, 2021, 11:00:09 AM6/18/21
to Prometheus Users
Can we monitor Grafana itself with prometheus.
If, Yes what is metrics port should be opened in the Grafana Deployment to get the metrics.

Bjoern Rabenstein

unread,
Jun 18, 2021, 7:00:06 PM6/18/21
to Cht G, Prometheus Users
See
https://grafana.com/docs/grafana/latest/administration/view-server/internal-metrics/

In short, usually the Prometheus metrics about Grafana are served
under the `/metrics` endpoint on the usual port.

--
Björn Rabenstein
[PGP-ID] 0x851C3DA17D748D03
[email] bjo...@rabenste.in

Cht G

unread,
Jun 19, 2021, 8:51:48 PM6/19/21
to Prometheus Users
 I am monitoring argo workflow with Prometheus. 
argo_workflows_count{status="Error"}  -82
argo_workflows_count{status="Failed"}  -63
argo_workflows_count{status="Running"}  74
argo_workflows_count{status="Pending"} 484
argo_workflows_count{status="Succeeded"}  -402
the value is negative, How could the error count, succeeded will be negative...?

Bjoern Rabenstein

unread,
Jul 7, 2021, 11:06:44 AM7/7/21
to Cht G, Prometheus Users
On 19.06.21 17:51, Cht G wrote:
> I am monitoring argo workflow with Prometheus.
> argo_workflows_count{status="Error"} -82
> argo_workflows_count{status="Failed"} -63
> argo_workflows_count{status="Running"} 74
> argo_workflows_count{status="Pending"} 484
> argo_workflows_count{status="Succeeded"} -402
> the value is negative, How could the error count, succeeded will be
> negative...?

Those metrics don't seem to come from Grafana, so it's kind of
off-topic for this thread.

But short Googling pointed me to
https://github.com/argoproj/argo-workflows/issues/3902 . Seems to be a
bug in Argo.
Reply all
Reply to author
Forward
0 new messages