Change metric namespace from wmi to windows

This commit is contained in:
Calle Pettersson
2020-05-24 20:36:25 +02:00
parent 6f90d83b83
commit eaa23705d0
4 changed files with 9 additions and 9 deletions

View File

@@ -396,13 +396,13 @@ func NewMSSQLCollector() (Collector, error) {
// meta
mssqlScrapeDurationDesc: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "collector_duration_seconds"),
"wmi_exporter: Duration of an mssql child collection.",
"windows_exporter: Duration of an mssql child collection.",
[]string{"collector", "instance"},
nil,
),
mssqlScrapeSuccessDesc: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "collector_success"),
"wmi_exporter: Whether a mssql child collector was successful.",
"windows_exporter: Whether a mssql child collector was successful.",
[]string{"collector", "instance"},
nil,
),