You've already forked oncall
mirror of
https://github.com/linkedin/oncall.git
synced 2025-11-29 23:38:17 +02:00
influx metric field keys need to make sense (#179)
* influx metric field keys need to make sense
This commit is contained in:
committed by
Joe Gillotti
parent
cd152f1168
commit
28a2ac7b34
@@ -38,11 +38,11 @@ class influx(object):
|
||||
payload = []
|
||||
for metric, value in metrics.iteritems():
|
||||
data = {
|
||||
'measurement': self.appname + '_' + metric,
|
||||
'measurement': self.appname,
|
||||
'tags': {},
|
||||
'time': now,
|
||||
'fields': {
|
||||
'value': value
|
||||
metric: value
|
||||
}
|
||||
}
|
||||
if self.extra_tags:
|
||||
|
||||
Reference in New Issue
Block a user