Uploaded image for project: 'Apache Fineract'
  1. Apache Fineract
  2. FINERACT-2053

Prometheus scraping not working with the default development configuration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.9.0
    • None
    • System
    • 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            peter.santa Peter Santa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: