diff options
author | xginn8 <xginn8@users.noreply.github.com> | 2018-07-05 10:26:48 -0400 |
---|---|---|
committer | Ben Kochie <superq@gmail.com> | 2018-07-05 16:26:48 +0200 |
commit | ac5a98176129e86c69f664e632ff273eee6f67bd (patch) | |
tree | d97df09b3af5dc05acd63f0f379c7b9f6107e2e1 /collector/systemd_linux_test.go | |
parent | 8af84a215dd21a7d78be0a82cf88b3b5ce52250c (diff) | |
download | prometheus_node_collector-ac5a98176129e86c69f664e632ff273eee6f67bd.tar.bz2 prometheus_node_collector-ac5a98176129e86c69f664e632ff273eee6f67bd.tar.xz prometheus_node_collector-ac5a98176129e86c69f664e632ff273eee6f67bd.zip |
Adding socket stat collection for systemd socket units (#968)
Signed-off-by: xginn8 <mamcgi@gmail.com>
Diffstat (limited to 'collector/systemd_linux_test.go')
-rw-r--r-- | collector/systemd_linux_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/collector/systemd_linux_test.go b/collector/systemd_linux_test.go index a68f6cd..82237bd 100644 --- a/collector/systemd_linux_test.go +++ b/collector/systemd_linux_test.go | |||
@@ -103,6 +103,7 @@ func TestSystemdCollectorDoesntCrash(t *testing.T) { | |||
103 | collector := (c).(*systemdCollector) | 103 | collector := (c).(*systemdCollector) |
104 | for _, units := range fixtures { | 104 | for _, units := range fixtures { |
105 | collector.collectUnitStatusMetrics(sink, units) | 105 | collector.collectUnitStatusMetrics(sink, units) |
106 | collector.collectSockets(sink, units) | ||
106 | } | 107 | } |
107 | } | 108 | } |
108 | 109 | ||