@ -41,9 +42,11 @@ type qdiscStatCollector struct {
}
var(
collectorQdisc=kingpin.Flag("collector.qdisc.fixtures","test fixtures to use for qdisc collector end-to-end testing").Default("").String()
collectorQdiskDeviceInclude=kingpin.Flag("collector.qdisk.device-include","Regexp of qdisk devices to include (mutually exclusive to device-exclude).").String()
collectorQdiskDeviceExclude=kingpin.Flag("collector.qdisk.device-exclude","Regexp of qdisk devices to exclude (mutually exclusive to device-include).").String()
collectorQdisc=kingpin.Flag("collector.qdisc.fixtures","test fixtures to use for qdisc collector end-to-end testing").Default("").String()
collectorQdiscDeviceInclude=kingpin.Flag("collector.qdisc.device-include","Regexp of qdisc devices to include (mutually exclusive to device-exclude).").String()
oldCollectorQdiskDeviceInclude=kingpin.Flag("collector.qdisk.device-include","DEPRECATED: Use collector.qdisc.device-include").Hidden().String()
collectorQdiscDeviceExclude=kingpin.Flag("collector.qdisc.device-exclude","Regexp of qdisc devices to exclude (mutually exclusive to device-include).").String()
oldCollectorQdiskDeviceExclude=kingpin.Flag("collector.qdisk.device-exclude","DEPRECATED: Use collector.qdisc.device-exclude").Hidden().String()
)
funcinit(){
@ -52,8 +55,26 @@ func init() {
// NewQdiscStatCollector returns a new Collector exposing queuing discipline statistics.