Commit 0f516f75 authored by danielqsj's avatar danielqsj

Mark deprecated in related scheduler metrics

parent 5b42a84c
...@@ -82,7 +82,7 @@ var ( ...@@ -82,7 +82,7 @@ var (
prometheus.HistogramOpts{ prometheus.HistogramOpts{
Subsystem: SchedulerSubsystem, Subsystem: SchedulerSubsystem,
Name: "e2e_scheduling_latency_microseconds", Name: "e2e_scheduling_latency_microseconds",
Help: "E2e scheduling latency in microseconds (scheduling algorithm + binding)", Help: "(Deprecated) E2e scheduling latency in microseconds (scheduling algorithm + binding)",
Buckets: prometheus.ExponentialBuckets(1000, 2, 15), Buckets: prometheus.ExponentialBuckets(1000, 2, 15),
}, },
) )
...@@ -98,7 +98,7 @@ var ( ...@@ -98,7 +98,7 @@ var (
prometheus.HistogramOpts{ prometheus.HistogramOpts{
Subsystem: SchedulerSubsystem, Subsystem: SchedulerSubsystem,
Name: "scheduling_algorithm_latency_microseconds", Name: "scheduling_algorithm_latency_microseconds",
Help: "Scheduling algorithm latency in microseconds", Help: "(Deprecated) Scheduling algorithm latency in microseconds",
Buckets: prometheus.ExponentialBuckets(1000, 2, 15), Buckets: prometheus.ExponentialBuckets(1000, 2, 15),
}, },
) )
...@@ -114,7 +114,7 @@ var ( ...@@ -114,7 +114,7 @@ var (
prometheus.HistogramOpts{ prometheus.HistogramOpts{
Subsystem: SchedulerSubsystem, Subsystem: SchedulerSubsystem,
Name: "scheduling_algorithm_predicate_evaluation", Name: "scheduling_algorithm_predicate_evaluation",
Help: "Scheduling algorithm predicate evaluation duration in microseconds", Help: "(Deprecated) Scheduling algorithm predicate evaluation duration in microseconds",
Buckets: prometheus.ExponentialBuckets(1000, 2, 15), Buckets: prometheus.ExponentialBuckets(1000, 2, 15),
}, },
) )
...@@ -130,7 +130,7 @@ var ( ...@@ -130,7 +130,7 @@ var (
prometheus.HistogramOpts{ prometheus.HistogramOpts{
Subsystem: SchedulerSubsystem, Subsystem: SchedulerSubsystem,
Name: "scheduling_algorithm_priority_evaluation", Name: "scheduling_algorithm_priority_evaluation",
Help: "Scheduling algorithm priority evaluation duration in microseconds", Help: "(Deprecated) Scheduling algorithm priority evaluation duration in microseconds",
Buckets: prometheus.ExponentialBuckets(1000, 2, 15), Buckets: prometheus.ExponentialBuckets(1000, 2, 15),
}, },
) )
...@@ -146,7 +146,7 @@ var ( ...@@ -146,7 +146,7 @@ var (
prometheus.HistogramOpts{ prometheus.HistogramOpts{
Subsystem: SchedulerSubsystem, Subsystem: SchedulerSubsystem,
Name: "scheduling_algorithm_preemption_evaluation", Name: "scheduling_algorithm_preemption_evaluation",
Help: "Scheduling algorithm preemption evaluation duration in microseconds", Help: "(Deprecated) Scheduling algorithm preemption evaluation duration in microseconds",
Buckets: prometheus.ExponentialBuckets(1000, 2, 15), Buckets: prometheus.ExponentialBuckets(1000, 2, 15),
}, },
) )
...@@ -162,7 +162,7 @@ var ( ...@@ -162,7 +162,7 @@ var (
prometheus.HistogramOpts{ prometheus.HistogramOpts{
Subsystem: SchedulerSubsystem, Subsystem: SchedulerSubsystem,
Name: "binding_latency_microseconds", Name: "binding_latency_microseconds",
Help: "Binding latency in microseconds", Help: "(Deprecated) Binding latency in microseconds",
Buckets: prometheus.ExponentialBuckets(1000, 2, 15), Buckets: prometheus.ExponentialBuckets(1000, 2, 15),
}, },
) )
......
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