diff options
Diffstat (limited to 'collector/qdisc_linux.go')
-rw-r--r-- | collector/qdisc_linux.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/collector/qdisc_linux.go b/collector/qdisc_linux.go index d96e7bd..74757b3 100644 --- a/collector/qdisc_linux.go +++ b/collector/qdisc_linux.go | |||
@@ -41,6 +41,7 @@ func init() { | |||
41 | registerCollector("qdisc", defaultDisabled, NewQdiscStatCollector) | 41 | registerCollector("qdisc", defaultDisabled, NewQdiscStatCollector) |
42 | } | 42 | } |
43 | 43 | ||
44 | // NewQdiscStatCollector returns a new Collector exposing queuing discipline statistics. | ||
44 | func NewQdiscStatCollector() (Collector, error) { | 45 | func NewQdiscStatCollector() (Collector, error) { |
45 | return &qdiscStatCollector{ | 46 | return &qdiscStatCollector{ |
46 | bytes: typedDesc{prometheus.NewDesc( | 47 | bytes: typedDesc{prometheus.NewDesc( |