mirror of https://github.com/k3s-io/k3s
Mark deprecated in related kubelet metrics
parent
0e9515c709
commit
4fa0ee7805
|
@ -206,7 +206,7 @@ var (
|
||||||
prometheus.SummaryOpts{
|
prometheus.SummaryOpts{
|
||||||
Subsystem: KubeletSubsystem,
|
Subsystem: KubeletSubsystem,
|
||||||
Name: DeprecatedPodWorkerLatencyKey,
|
Name: DeprecatedPodWorkerLatencyKey,
|
||||||
Help: "Latency in microseconds to sync a single pod. Broken down by operation type: create, update, or sync",
|
Help: "(Deprecated) Latency in microseconds to sync a single pod. Broken down by operation type: create, update, or sync",
|
||||||
},
|
},
|
||||||
[]string{"operation_type"},
|
[]string{"operation_type"},
|
||||||
)
|
)
|
||||||
|
@ -214,14 +214,14 @@ var (
|
||||||
prometheus.SummaryOpts{
|
prometheus.SummaryOpts{
|
||||||
Subsystem: KubeletSubsystem,
|
Subsystem: KubeletSubsystem,
|
||||||
Name: DeprecatedPodStartLatencyKey,
|
Name: DeprecatedPodStartLatencyKey,
|
||||||
Help: "Latency in microseconds for a single pod to go from pending to running.",
|
Help: "(Deprecated) Latency in microseconds for a single pod to go from pending to running.",
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
DeprecatedCgroupManagerLatency = prometheus.NewSummaryVec(
|
DeprecatedCgroupManagerLatency = prometheus.NewSummaryVec(
|
||||||
prometheus.SummaryOpts{
|
prometheus.SummaryOpts{
|
||||||
Subsystem: KubeletSubsystem,
|
Subsystem: KubeletSubsystem,
|
||||||
Name: DeprecatedCgroupManagerOperationsKey,
|
Name: DeprecatedCgroupManagerOperationsKey,
|
||||||
Help: "Latency in microseconds for cgroup manager operations. Broken down by method.",
|
Help: "(Deprecated) Latency in microseconds for cgroup manager operations. Broken down by method.",
|
||||||
},
|
},
|
||||||
[]string{"operation_type"},
|
[]string{"operation_type"},
|
||||||
)
|
)
|
||||||
|
@ -229,28 +229,28 @@ var (
|
||||||
prometheus.SummaryOpts{
|
prometheus.SummaryOpts{
|
||||||
Subsystem: KubeletSubsystem,
|
Subsystem: KubeletSubsystem,
|
||||||
Name: DeprecatedPodWorkerStartLatencyKey,
|
Name: DeprecatedPodWorkerStartLatencyKey,
|
||||||
Help: "Latency in microseconds from seeing a pod to starting a worker.",
|
Help: "(Deprecated) Latency in microseconds from seeing a pod to starting a worker.",
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
DeprecatedPLEGRelistLatency = prometheus.NewSummary(
|
DeprecatedPLEGRelistLatency = prometheus.NewSummary(
|
||||||
prometheus.SummaryOpts{
|
prometheus.SummaryOpts{
|
||||||
Subsystem: KubeletSubsystem,
|
Subsystem: KubeletSubsystem,
|
||||||
Name: DeprecatedPLEGRelistLatencyKey,
|
Name: DeprecatedPLEGRelistLatencyKey,
|
||||||
Help: "Latency in microseconds for relisting pods in PLEG.",
|
Help: "(Deprecated) Latency in microseconds for relisting pods in PLEG.",
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
DeprecatedPLEGRelistInterval = prometheus.NewSummary(
|
DeprecatedPLEGRelistInterval = prometheus.NewSummary(
|
||||||
prometheus.SummaryOpts{
|
prometheus.SummaryOpts{
|
||||||
Subsystem: KubeletSubsystem,
|
Subsystem: KubeletSubsystem,
|
||||||
Name: DeprecatedPLEGRelistIntervalKey,
|
Name: DeprecatedPLEGRelistIntervalKey,
|
||||||
Help: "Interval in microseconds between relisting in PLEG.",
|
Help: "(Deprecated) Interval in microseconds between relisting in PLEG.",
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
DeprecatedRuntimeOperations = prometheus.NewCounterVec(
|
DeprecatedRuntimeOperations = prometheus.NewCounterVec(
|
||||||
prometheus.CounterOpts{
|
prometheus.CounterOpts{
|
||||||
Subsystem: KubeletSubsystem,
|
Subsystem: KubeletSubsystem,
|
||||||
Name: DeprecatedRuntimeOperationsKey,
|
Name: DeprecatedRuntimeOperationsKey,
|
||||||
Help: "Cumulative number of runtime operations by operation type.",
|
Help: "(Deprecated) Cumulative number of runtime operations by operation type.",
|
||||||
},
|
},
|
||||||
[]string{"operation_type"},
|
[]string{"operation_type"},
|
||||||
)
|
)
|
||||||
|
@ -258,7 +258,7 @@ var (
|
||||||
prometheus.SummaryOpts{
|
prometheus.SummaryOpts{
|
||||||
Subsystem: KubeletSubsystem,
|
Subsystem: KubeletSubsystem,
|
||||||
Name: DeprecatedRuntimeOperationsLatencyKey,
|
Name: DeprecatedRuntimeOperationsLatencyKey,
|
||||||
Help: "Latency in microseconds of runtime operations. Broken down by operation type.",
|
Help: "(Deprecated) Latency in microseconds of runtime operations. Broken down by operation type.",
|
||||||
},
|
},
|
||||||
[]string{"operation_type"},
|
[]string{"operation_type"},
|
||||||
)
|
)
|
||||||
|
@ -266,7 +266,7 @@ var (
|
||||||
prometheus.CounterOpts{
|
prometheus.CounterOpts{
|
||||||
Subsystem: KubeletSubsystem,
|
Subsystem: KubeletSubsystem,
|
||||||
Name: DeprecatedRuntimeOperationsErrorsKey,
|
Name: DeprecatedRuntimeOperationsErrorsKey,
|
||||||
Help: "Cumulative number of runtime operation errors by operation type.",
|
Help: "(Deprecated) Cumulative number of runtime operation errors by operation type.",
|
||||||
},
|
},
|
||||||
[]string{"operation_type"},
|
[]string{"operation_type"},
|
||||||
)
|
)
|
||||||
|
@ -274,7 +274,7 @@ var (
|
||||||
prometheus.SummaryOpts{
|
prometheus.SummaryOpts{
|
||||||
Subsystem: KubeletSubsystem,
|
Subsystem: KubeletSubsystem,
|
||||||
Name: DeprecatedEvictionStatsAgeKey,
|
Name: DeprecatedEvictionStatsAgeKey,
|
||||||
Help: "Time between when stats are collected, and when pod is evicted based on those stats by eviction signal",
|
Help: "(Deprecated) Time between when stats are collected, and when pod is evicted based on those stats by eviction signal",
|
||||||
},
|
},
|
||||||
[]string{"eviction_signal"},
|
[]string{"eviction_signal"},
|
||||||
)
|
)
|
||||||
|
@ -282,7 +282,7 @@ var (
|
||||||
prometheus.CounterOpts{
|
prometheus.CounterOpts{
|
||||||
Subsystem: KubeletSubsystem,
|
Subsystem: KubeletSubsystem,
|
||||||
Name: DeprecatedDevicePluginRegistrationCountKey,
|
Name: DeprecatedDevicePluginRegistrationCountKey,
|
||||||
Help: "Cumulative number of device plugin registrations. Broken down by resource name.",
|
Help: "(Deprecated) Cumulative number of device plugin registrations. Broken down by resource name.",
|
||||||
},
|
},
|
||||||
[]string{"resource_name"},
|
[]string{"resource_name"},
|
||||||
)
|
)
|
||||||
|
@ -290,7 +290,7 @@ var (
|
||||||
prometheus.SummaryOpts{
|
prometheus.SummaryOpts{
|
||||||
Subsystem: KubeletSubsystem,
|
Subsystem: KubeletSubsystem,
|
||||||
Name: DeprecatedDevicePluginAllocationLatencyKey,
|
Name: DeprecatedDevicePluginAllocationLatencyKey,
|
||||||
Help: "Latency in microseconds to serve a device plugin Allocation request. Broken down by resource name.",
|
Help: "(Deprecated) Latency in microseconds to serve a device plugin Allocation request. Broken down by resource name.",
|
||||||
},
|
},
|
||||||
[]string{"resource_name"},
|
[]string{"resource_name"},
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue