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{
|
typedDesc: typedDesc{
|
||||||
desc: prometheus.NewDesc(
|
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.",
|
"The total number of seconds spent by all reads.",
|
||||||
diskLabelNames,
|
diskLabelNames,
|
||||||
nil,
|
nil,
|
||||||
|
@ -118,7 +118,7 @@ func NewDiskstatsCollector() (Collector, error) {
|
||||||
{
|
{
|
||||||
typedDesc: typedDesc{
|
typedDesc: typedDesc{
|
||||||
desc: prometheus.NewDesc(
|
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.",
|
"This is the total number of seconds spent by all writes.",
|
||||||
diskLabelNames,
|
diskLabelNames,
|
||||||
nil,
|
nil,
|
||||||
|
|
Loading…
Reference in New Issue