mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-23 12:30:46 +01:00
Align Darwin disk stat names with Linux (#930)
Signed-off-by: Steve Kotsopoulos <sk@fywss.com>
This commit is contained in:
parent
24a28fcc9e
commit
84dc362b05
@ -76,7 +76,7 @@ func NewDiskstatsCollector() (Collector, error) {
|
||||
{
|
||||
typedDesc: typedDesc{
|
||||
desc: prometheus.NewDesc(
|
||||
prometheus.BuildFQName(namespace, diskSubsystem, "read_seconds_total"),
|
||||
prometheus.BuildFQName(namespace, diskSubsystem, "read_time_seconds_total"),
|
||||
"The total number of seconds spent by all reads.",
|
||||
diskLabelNames,
|
||||
nil,
|
||||
@ -118,7 +118,7 @@ func NewDiskstatsCollector() (Collector, error) {
|
||||
{
|
||||
typedDesc: typedDesc{
|
||||
desc: prometheus.NewDesc(
|
||||
prometheus.BuildFQName(namespace, diskSubsystem, "write_seconds_total"),
|
||||
prometheus.BuildFQName(namespace, diskSubsystem, "write_time_seconds_total"),
|
||||
"This is the total number of seconds spent by all writes.",
|
||||
diskLabelNames,
|
||||
nil,
|
||||
|
Loading…
Reference in New Issue
Block a user