mirror of
https://github.com/KevinMidboe/mktxp-no-cli.git
synced 2025-10-29 17:50:23 +00:00
Netwatch collector
This commit is contained in:
@@ -31,5 +31,5 @@ class NetwatchCollector(BaseCollector):
|
|||||||
if netwatch_records:
|
if netwatch_records:
|
||||||
yield BaseCollector.info_collector('netwatch', 'Netwatch Info Metrics', netwatch_records, netwatch_labels)
|
yield BaseCollector.info_collector('netwatch', 'Netwatch Info Metrics', netwatch_records, netwatch_labels)
|
||||||
|
|
||||||
yield BaseCollector.gauge_collector('netwatch', 'Netwatch Status Metrics', netwatch_records, 'status', ['name'])
|
yield BaseCollector.gauge_collector('netwatch_status', 'Netwatch Status Metrics', netwatch_records, 'status', ['name'])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user