mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-23 20:36:21 +01:00
Merge pull request #1515 from belm0/bugfix/hertz_typo
fix typo in cpufreq metric names (#1510)
This commit is contained in:
commit
9f49fff79e
@ -9,6 +9,7 @@
|
||||
- `node_md_disks` now has a `state` label for "fail", "spare", "active" disks.
|
||||
- `node_md_is_active` is replaced by `node_md_state` with a state set of "active", "inactive", "recovering", "resync".
|
||||
* Additional label `mountaddr` added to NFS device metrics to distinguish mounts from the same URL, but different IP addresses. #1417
|
||||
* Metrics node_cpu_scaling_frequency_min_hrts and node_cpu_scaling_frequency_max_hrts of the cpufreq collector were renamed to node_cpu_scaling_frequency_min_hertz and node_cpu_scaling_frequency_max_hertz. #1510
|
||||
|
||||
### Changes
|
||||
|
||||
@ -28,6 +29,7 @@
|
||||
* [BUGFIX] Fix netdev nil reference on Darwin #1414
|
||||
* [BUGFIX] Strip path.rootfs from mountpoint labels #1421
|
||||
* [BUGFIX] Fix empty string in path.rootfs #1464
|
||||
* [BUGFIX] Fix typo in cpufreq metric names #1510
|
||||
|
||||
## 0.18.1 / 2019-06-04
|
||||
|
||||
|
@ -66,12 +66,12 @@ func NewCPUFreqCollector() (Collector, error) {
|
||||
[]string{"cpu"}, nil,
|
||||
),
|
||||
scalingFreqMin: prometheus.NewDesc(
|
||||
prometheus.BuildFQName(namespace, cpuCollectorSubsystem, "scaling_frequency_min_hrts"),
|
||||
prometheus.BuildFQName(namespace, cpuCollectorSubsystem, "scaling_frequency_min_hertz"),
|
||||
"Minimum scaled cpu thread frequency in hertz.",
|
||||
[]string{"cpu"}, nil,
|
||||
),
|
||||
scalingFreqMax: prometheus.NewDesc(
|
||||
prometheus.BuildFQName(namespace, cpuCollectorSubsystem, "scaling_frequency_max_hrts"),
|
||||
prometheus.BuildFQName(namespace, cpuCollectorSubsystem, "scaling_frequency_max_hertz"),
|
||||
"Maximum scaled cpu thread frequency in hertz.",
|
||||
[]string{"cpu"}, nil,
|
||||
),
|
||||
|
@ -228,18 +228,18 @@ node_cpu_scaling_frequency_hertz{cpu="0"} 1.699981e+09
|
||||
node_cpu_scaling_frequency_hertz{cpu="1"} 1.699981e+09
|
||||
node_cpu_scaling_frequency_hertz{cpu="2"} 8e+06
|
||||
node_cpu_scaling_frequency_hertz{cpu="3"} 8e+06
|
||||
# HELP node_cpu_scaling_frequency_max_hrts Maximum scaled cpu thread frequency in hertz.
|
||||
# TYPE node_cpu_scaling_frequency_max_hrts gauge
|
||||
node_cpu_scaling_frequency_max_hrts{cpu="0"} 3.7e+09
|
||||
node_cpu_scaling_frequency_max_hrts{cpu="1"} 3.7e+09
|
||||
node_cpu_scaling_frequency_max_hrts{cpu="2"} 4.2e+09
|
||||
node_cpu_scaling_frequency_max_hrts{cpu="3"} 4.2e+09
|
||||
# HELP node_cpu_scaling_frequency_min_hrts Minimum scaled cpu thread frequency in hertz.
|
||||
# TYPE node_cpu_scaling_frequency_min_hrts gauge
|
||||
node_cpu_scaling_frequency_min_hrts{cpu="0"} 8e+08
|
||||
node_cpu_scaling_frequency_min_hrts{cpu="1"} 8e+08
|
||||
node_cpu_scaling_frequency_min_hrts{cpu="2"} 1e+06
|
||||
node_cpu_scaling_frequency_min_hrts{cpu="3"} 1e+06
|
||||
# HELP node_cpu_scaling_frequency_max_hertz Maximum scaled cpu thread frequency in hertz.
|
||||
# TYPE node_cpu_scaling_frequency_max_hertz gauge
|
||||
node_cpu_scaling_frequency_max_hertz{cpu="0"} 3.7e+09
|
||||
node_cpu_scaling_frequency_max_hertz{cpu="1"} 3.7e+09
|
||||
node_cpu_scaling_frequency_max_hertz{cpu="2"} 4.2e+09
|
||||
node_cpu_scaling_frequency_max_hertz{cpu="3"} 4.2e+09
|
||||
# HELP node_cpu_scaling_frequency_min_hertz Minimum scaled cpu thread frequency in hertz.
|
||||
# TYPE node_cpu_scaling_frequency_min_hertz gauge
|
||||
node_cpu_scaling_frequency_min_hertz{cpu="0"} 8e+08
|
||||
node_cpu_scaling_frequency_min_hertz{cpu="1"} 8e+08
|
||||
node_cpu_scaling_frequency_min_hertz{cpu="2"} 1e+06
|
||||
node_cpu_scaling_frequency_min_hertz{cpu="3"} 1e+06
|
||||
# HELP node_cpu_seconds_total Seconds the cpus spent in each mode.
|
||||
# TYPE node_cpu_seconds_total counter
|
||||
node_cpu_seconds_total{cpu="0",mode="idle"} 10870.69
|
||||
|
@ -228,18 +228,18 @@ node_cpu_scaling_frequency_hertz{cpu="0"} 1.699981e+09
|
||||
node_cpu_scaling_frequency_hertz{cpu="1"} 1.699981e+09
|
||||
node_cpu_scaling_frequency_hertz{cpu="2"} 8e+06
|
||||
node_cpu_scaling_frequency_hertz{cpu="3"} 8e+06
|
||||
# HELP node_cpu_scaling_frequency_max_hrts Maximum scaled cpu thread frequency in hertz.
|
||||
# TYPE node_cpu_scaling_frequency_max_hrts gauge
|
||||
node_cpu_scaling_frequency_max_hrts{cpu="0"} 3.7e+09
|
||||
node_cpu_scaling_frequency_max_hrts{cpu="1"} 3.7e+09
|
||||
node_cpu_scaling_frequency_max_hrts{cpu="2"} 4.2e+09
|
||||
node_cpu_scaling_frequency_max_hrts{cpu="3"} 4.2e+09
|
||||
# HELP node_cpu_scaling_frequency_min_hrts Minimum scaled cpu thread frequency in hertz.
|
||||
# TYPE node_cpu_scaling_frequency_min_hrts gauge
|
||||
node_cpu_scaling_frequency_min_hrts{cpu="0"} 8e+08
|
||||
node_cpu_scaling_frequency_min_hrts{cpu="1"} 8e+08
|
||||
node_cpu_scaling_frequency_min_hrts{cpu="2"} 1e+06
|
||||
node_cpu_scaling_frequency_min_hrts{cpu="3"} 1e+06
|
||||
# HELP node_cpu_scaling_frequency_max_hertz Maximum scaled cpu thread frequency in hertz.
|
||||
# TYPE node_cpu_scaling_frequency_max_hertz gauge
|
||||
node_cpu_scaling_frequency_max_hertz{cpu="0"} 3.7e+09
|
||||
node_cpu_scaling_frequency_max_hertz{cpu="1"} 3.7e+09
|
||||
node_cpu_scaling_frequency_max_hertz{cpu="2"} 4.2e+09
|
||||
node_cpu_scaling_frequency_max_hertz{cpu="3"} 4.2e+09
|
||||
# HELP node_cpu_scaling_frequency_min_hertz Minimum scaled cpu thread frequency in hertz.
|
||||
# TYPE node_cpu_scaling_frequency_min_hertz gauge
|
||||
node_cpu_scaling_frequency_min_hertz{cpu="0"} 8e+08
|
||||
node_cpu_scaling_frequency_min_hertz{cpu="1"} 8e+08
|
||||
node_cpu_scaling_frequency_min_hertz{cpu="2"} 1e+06
|
||||
node_cpu_scaling_frequency_min_hertz{cpu="3"} 1e+06
|
||||
# HELP node_cpu_seconds_total Seconds the cpus spent in each mode.
|
||||
# TYPE node_cpu_seconds_total counter
|
||||
node_cpu_seconds_total{cpu="0",mode="idle"} 10870.69
|
||||
|
Loading…
Reference in New Issue
Block a user