Peter Santa created FINERACT-2053:
-------------------------------------

             Summary: 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


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)

Reply via email to