Skip to content

Commit

Permalink
Correct metric name
Browse files Browse the repository at this point in the history
  • Loading branch information
stblassitude committed Dec 7, 2019
1 parent e8002ab commit f428c18
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions mumblestats.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,12 @@ def __init__(self, server):
# unit='dBFS', buckets=buckets)

self.metric_level = Gauge(
'metric_level', 'audio level in dBFS, either root-mean-square or peak',
labelnames=['channel', 'level'])
'mumble_level',
'audio level in dBFS, either root-mean-square or peak',
unit='dBFS', labelnames=['channel', 'level'])
self.metric_users = Gauge(
'mumble_users', 'number of users connected',
labelnames=['channel'])
'mumble_users', 'number of users connected',
labelnames=['channel'])

def get_stats(self):
r = {}
Expand Down

0 comments on commit f428c18

Please # to comment.