lesovsky/pgscv

Prometheus data source error

Closed this issue · 1 comments

Метрика доступна по url http://xx.xx.xx.xxx:9890/metrics в браузере, однако при добавлении
в grafana получаю всегда такую ошибку! Подскажите в чем может быть дело ? версия Grafana v9.0.2 (0641b5d0cd)

Error reading Prometheus: bad_response: readObjectStart: expect { or n, but found <, error found in #1 byte of ...| <hea|..., bigger context ...| <title>pgSCV / Weaponry metrics collec|...

Так же каждый запрос с дашбордов возвращает :

*request:Object
url:"api/datasources/proxy/6/api/v1/query_range?query=100%20
%20sum%20by%20(mode)%20(rate(node_cpu_seconds_total%7Bmode!%3D%22idle%22%2Cinstance%3D%22%22%7D%5B1m%5D))%20%2F%20on%20(instance)%20group_left%20sum(rate(node_cpu_seconds_all_total%7Binstance%3D%22%22%7D%5B1m%5D))&start=1657528035&end=1657549635&step=15"
method:"GET"
hideFromInspector:false
response:"

<title>pgSCV / Weaponry metrics collector</title> pgSCV / Weaponry metrics collector, for more info visit Github page.

Metrics

"**

Recreate the issue using the following template and English please.

Also post the link to the dashboard.