Commit 7aef2efe authored by danielqsj's avatar danielqsj

Mark deprecated in related dockershim metrics

parent 65aec219
...@@ -93,7 +93,7 @@ var ( ...@@ -93,7 +93,7 @@ var (
prometheus.SummaryOpts{ prometheus.SummaryOpts{
Subsystem: kubeletSubsystem, Subsystem: kubeletSubsystem,
Name: DeprecatedDockerOperationsLatencyKey, 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"}, []string{"operation_type"},
) )
...@@ -102,7 +102,7 @@ var ( ...@@ -102,7 +102,7 @@ var (
prometheus.CounterOpts{ prometheus.CounterOpts{
Subsystem: kubeletSubsystem, Subsystem: kubeletSubsystem,
Name: DeprecatedDockerOperationsKey, Name: DeprecatedDockerOperationsKey,
Help: "Cumulative number of Docker operations by operation type.", Help: "(Deprecated) Cumulative number of Docker operations by operation type.",
}, },
[]string{"operation_type"}, []string{"operation_type"},
) )
...@@ -112,7 +112,7 @@ var ( ...@@ -112,7 +112,7 @@ var (
prometheus.CounterOpts{ prometheus.CounterOpts{
Subsystem: kubeletSubsystem, Subsystem: kubeletSubsystem,
Name: DeprecatedDockerOperationsErrorsKey, 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"}, []string{"operation_type"},
) )
...@@ -121,7 +121,7 @@ var ( ...@@ -121,7 +121,7 @@ var (
prometheus.CounterOpts{ prometheus.CounterOpts{
Subsystem: kubeletSubsystem, Subsystem: kubeletSubsystem,
Name: DeprecatedDockerOperationsTimeoutKey, 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"}, []string{"operation_type"},
) )
......
...@@ -54,7 +54,7 @@ var ( ...@@ -54,7 +54,7 @@ var (
prometheus.SummaryOpts{ prometheus.SummaryOpts{
Subsystem: kubeletSubsystem, Subsystem: kubeletSubsystem,
Name: DeprecatedNetworkPluginOperationsLatencyKey, 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"}, []string{"operation_type"},
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment