[
https://issues.apache.org/jira/browse/FINERACT-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adam Saghy resolved FINERACT-2053.
----------------------------------
Fix Version/s: 1.15.0
Resolution: Fixed
> Prometheus scraping not working with the default development configuration
> --------------------------------------------------------------------------
>
> Key: FINERACT-2053
> URL: https://issues.apache.org/jira/browse/FINERACT-2053
> Project: Apache Fineract
> Issue Type: Bug
> Components: System
> Affects Versions: 1.9.0
> Reporter: Peter Santa
> Priority: Minor
> Fix For: 1.15.0
>
>
> 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
--
This message was sent by Atlassian Jira
(v8.20.10#820010)