Closed Integration-IT closed 1 year ago
Hello @Integration-IT
Please provide further information: which package ? pypi/rpm/deb ? and which os version ?
As for the prometheus metrics, i'm getting what it's supposed to provide, here's a grafana dashboard i'm working on actually:
hello @farirat ,
This is my lab env:
Now all files are clean and get release integrity.
curl 127.0.0.1:1401/metrics
results are correct.
But still can't understand how did you configure your grafana.
In my case i am using Prometheus Data Source - Native Plugin from external server to get remote metrics directly from target url on port 1401.
This is my prometheus config:
scrape_configs:
- job_name: jasmin
static_configs:
- targets:
- 'jasmin:1401'
- job_name: rabbitmq
static_configs:
- targets:
- 'rabbit-mq:15692'
Fully worked.
Hi,
http://127.0.0.1:1401/metrics is down in some case, because the package has not been updated like git repo version.
The curl command returns 404 in case package does not have server.py updated with metrics path and if metrics.py is not in endpoints path.
The last trouble is http://127.0.0.1:1401/metrics is not compliant with prometheus because the datasource will call http://127.0.0.1:1401/metrics/api/v1/query to get stats and not http://127.0.0.1:1401/metrics.
Regards, MonkeyTester.