Mark deprecated in related dockershim metrics

pull/564/head
danielqsj 2019-01-08 15:24:44 +08:00
parent 65aec219c8
commit 7aef2efe5b
2 changed files with 5 additions and 5 deletions

View File

@ -93,7 +93,7 @@ var (
prometheus.SummaryOpts{
Subsystem: kubeletSubsystem,
Name: DeprecatedDockerOperationsLatencyKey,
Help: "Latency in microseconds of Docker operations. Broken down by operation type.",
Help: "(Deprecated) Latency in microseconds of Docker operations. Broken down by operation type.",
},
[]string{"operation_type"},
)
@ -102,7 +102,7 @@ var (
prometheus.CounterOpts{
Subsystem: kubeletSubsystem,
Name: DeprecatedDockerOperationsKey,
Help: "Cumulative number of Docker operations by operation type.",
Help: "(Deprecated) Cumulative number of Docker operations by operation type.",
},
[]string{"operation_type"},
)
@ -112,7 +112,7 @@ var (
prometheus.CounterOpts{
Subsystem: kubeletSubsystem,
Name: DeprecatedDockerOperationsErrorsKey,
Help: "Cumulative number of Docker operation errors by operation type.",
Help: "(Deprecated) Cumulative number of Docker operation errors by operation type.",
},
[]string{"operation_type"},
)
@ -121,7 +121,7 @@ var (
prometheus.CounterOpts{
Subsystem: kubeletSubsystem,
Name: DeprecatedDockerOperationsTimeoutKey,
Help: "Cumulative number of Docker operation timeout by operation type.",
Help: "(Deprecated) Cumulative number of Docker operation timeout by operation type.",
},
[]string{"operation_type"},
)

View File

@ -54,7 +54,7 @@ var (
prometheus.SummaryOpts{
Subsystem: kubeletSubsystem,
Name: DeprecatedNetworkPluginOperationsLatencyKey,
Help: "Latency in microseconds of network plugin operations. Broken down by operation type.",
Help: "(Deprecated) Latency in microseconds of network plugin operations. Broken down by operation type.",
},
[]string{"operation_type"},
)