mirror of
https://github.com/KevinMidboe/mktxp-no-cli.git
synced 2025-10-29 17:50:23 +00:00
bug fixes
This commit is contained in:
@@ -24,7 +24,7 @@ class IPConnectionCollector(BaseCollector):
|
||||
if not router_entry.config_entry.connections:
|
||||
return
|
||||
|
||||
connection_records = IPConnectionDatasource.metric_records(router_entry, metric_labels = [])
|
||||
connection_records = IPConnectionDatasource.metric_records(router_entry)
|
||||
if connection_records:
|
||||
|
||||
connection_metrics = BaseCollector.gauge_collector('ip_connections_total', 'Number of IP connections', connection_records, 'count',)
|
||||
|
||||
Reference in New Issue
Block a user