mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
prometheus-statsd-exporter: add new package
statsd_exporter receives StatsD-style metrics and exports them as Prometheus metrics. Signed-off-by: Andre Heider <a.heider@gmail.com>
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
mappings:
|
||||
# asterisk mappings
|
||||
# use "prefix = asterisk" in asterisk's statsd.conf
|
||||
- match: asterisk.PJSIP.registrations.state.*
|
||||
name: "asterisk_PJSIP_registrations_state"
|
||||
labels:
|
||||
state: "$1"
|
||||
- match: asterisk.PJSIP.endpoints.state.*
|
||||
name: "asterisk_PJSIP_endpoints_state"
|
||||
labels:
|
||||
state: "$1"
|
||||
- match: asterisk.PJSIP.contacts.states.*
|
||||
name: "asterisk_PJSIP_contacts_states"
|
||||
labels:
|
||||
state: "$1"
|
||||
- match: asterisk.endpoints.state.*
|
||||
name: "asterisk_endpoints_state"
|
||||
labels:
|
||||
state: "$1"
|
||||
- match: asterisk.endpoints.*.*.channels
|
||||
name: "asterisk_endpoints_channels"
|
||||
labels:
|
||||
tech: "$1"
|
||||
resource: "$2"
|
||||
Reference in New Issue
Block a user