Grafana & Prometheus > no data
... / Grafana & Prometheus > no data
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
question

Grafana & Prometheus > no data

Par
JohannR3
Créé le 2021-06-19 07:30:21 (edited on 2024-09-04 11:21:18) dans Erreur connexion SSL

Hello,
I would like to use grafana / prometheus / Metrics.
I have a cluster in Public cloud with differents pods.
I have a metrics account with token in OVH Panel.
My datasource in grafana is ok. (the test is ok).
But no data is returned.
If I check in Developer Tools browser, in Network tab, all request to https://prometheus.gra1.metrics.ovh.net/api/v1/ are in 200, but without returned data.
Why ?
Thanks
Johann


1 réponse ( Latest reply on 2021-07-03 08:02:31 Par
JohannR3
)

Hello,
I follow this documentation https://docs.ovh.com/fr/metrics/protocol-prom-remote/

Requirements
- An active OVH Metrics account (xs plan at least)
- A working Prometheus instance

So I deploy a Prometheus instance to my cluster, and configure "remote_read"and "remote_write" as the doc.

In Grafana, I create 2 dashboards : one with OVH Metrics Datasource and one with direct Prometheus Instance Datasource.

From OVH Metrics Datasource, I lose informations.

In my OVH account UI (Metrics), I have this :


I use the Spring Boot framework, and the default prometheus metrics.
If I understand, one series in Metrics is a metrics in prometheus ? Per example, 1 serie = 1 metric JVM Memory or 1 serie = 1 metric http_server_request etc

Am I right ?