res_prometheus

Since 17.0.0 Module Configuration Found this useful? Upvote it. ×

Resource for integration with Prometheus

Last reviewed 2026-04-14

Description

prometheus.conf

[general]

General settings.

  • enabled - Enable or disable Prometheus statistics.
  • core_metrics_enabled - Enable or disable core metrics.
  • uri - The HTTP URI to serve metrics up on.
  • auth_username - Username to use for Basic Auth.

    Warning

    It is highly recommended to set up Basic Auth. Failure to do so may result in useful information about your Asterisk system being made easily scrapable by the wide world. Consider yourself duly warned.

  • auth_password - Password to use for Basic Auth.

  • auth_realm - Auth realm used in challenge responses

User Notes

No notes yet. Be the first to contribute a tip or example.

Contribute a note

Share a tip, gotcha, or practical example. Keep it under 2000 characters. No questions (use the Asterisk community forums for support). Wrap code in backticks.

Moderated before publishing. Email never shown.