mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-03 17:16:37 +00:00
Update dhcp.go
Re-add DHCP perflib dependency Fixes https://github.com/prometheus-community/windows_exporter/issues/1259 Signed-off-by: Jan-Otto Kröpke <github@jkroepke.de>
This commit is contained in:
@@ -66,7 +66,7 @@ func (c *collector) SetLogger(logger log.Logger) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *collector) GetPerfCounter() ([]string, error) {
|
func (c *collector) GetPerfCounter() ([]string, error) {
|
||||||
return []string{}, nil
|
return []string{"DHCP Server"}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *collector) Build() error {
|
func (c *collector) Build() error {
|
||||||
|
|||||||
Reference in New Issue
Block a user