Add collector for hostname information

This can be useful for building grafana dashboards with dropdowns for multiple hosts
Or for managed instances of Prometheus where the user is not able to add labels via config
This commit is contained in:
Stefan Lengauer
2020-02-24 17:00:22 +01:00
committed by Stefan Lengauer
parent 90b197450e
commit baba51bc6a
2 changed files with 30 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ Name | Description | Type | Labels
-----|-------------|------|-------
`wmi_cs_logical_processors` | Number of installed logical processors | gauge | None
`wmi_cs_physical_memory_bytes` | Total installed physical memory | gauge | None
`wmi_cs_hostname` | Labeled system hostname information | gauge | `hostname`, `domain`, `fqdn`
### Example metric
_This collector does not yet have explained examples, we would appreciate your help adding them!_