Skip to content

Prometheus Metrics

Akkoma includes support for exporting metrics via the prometheus_ex library.

Config example:

config :pleroma, :instance,
  export_prometheus_metrics: true


Exports Prometheus application metrics

  • Method: GET
  • Authentication: required
  • Params: none
  • Response: text


Config example

The following is a config example to use with Grafana

  - job_name: 'beam'
    metrics_path: /api/v1/akkoma/metrics
    scheme: https
    - targets: ['']