Compare commits

..

No commits in common. "main" and "new_metric" have entirely different histories.

View File

@ -22,8 +22,6 @@ def read_callback():
r'[^a-zA-Z0-9]', r'[^a-zA-Z0-9]',
r'-', r'-',
dev_info.path)[1:] dev_info.path)[1:]
if not metric.plugin_instance:
metric.plugin_instance = "missing"
for counter, value in stats.counters.items(): for counter, value in stats.counters.items():
metric.type_instance = counter metric.type_instance = counter
metric.dispatch(TYPE_STATS, [value], interval=INTERVAL) metric.dispatch(TYPE_STATS, [value], interval=INTERVAL)