Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Prometheus Exporter for Confluence exposes Confluence metrics as JVM and application statistics to Prometheus.

...

  • Global controls the Prometheus server's global configuration.
  • Rule_files specifies the location of any rules that you want the Prometheus server to load.
  • Scrape_configs controls what resources Prometheus monitors.

 To enable Prometheus Exporter for Confluence so that it collects metrics and pulls it into Prometheus: 

  1. Use the following scrape_configs:

    Code Block
    titleprometheus.yml
    scrape_configs:
      - job_name: 'confluence'
        scheme: https # change to http if you don't have https
        metrics_path: '/<your_confluence_context_path>/plugins/servlet/prometheus/metrics'
        static_configs:
          - targets: ['myhost:1990'] # Confluence host and port you serve

    For a complete specification of configuration options, see Prometheus configuration documentation.


  2. On the Prometheus Status >Targets page, select the Prometheus Exporter for Confluence endpoint to get the Prometheus metrics (see example below).

  3. Build any of the available dashboards with the selected metrics.


...

Using Prometheus Exporter for Confluence

PE - Configuring Prometheus Exporter for Data Center