Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.9.0
-
None
-
None
Description
The Prometheus scraping in the development docker-compose configuration is somewhat wrong. The correct config is:
scrape_interval: 5s
metrics_path: "/fineract-provider/actuator/prometheus"
scheme: "https"
tls_config:
insecure_skip_verify: true
static_configs:
- targets: ["fineract-server:8443"]
Two changes are required:
- the metrics are exposed at /fineract-provider/actuator/prometheus (instead of just /actuator/prometheus), so need to scrape from there
- Fineract uses an untrusted certificate in this config, so we need to not not try to verify it so that scraping works