mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-12 22:37:27 -08:00
rules: remove skipped iterations cuz no throttling
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
This commit is contained in:
parent
91be55ebf0
commit
e1117715fe
|
@ -75,11 +75,6 @@ var (
|
||||||
Help: "The duration of rule group evaluations.",
|
Help: "The duration of rule group evaluations.",
|
||||||
Objectives: map[float64]float64{0.01: 0.001, 0.05: 0.005, 0.5: 0.05, 0.90: 0.01, 0.99: 0.001},
|
Objectives: map[float64]float64{0.01: 0.001, 0.05: 0.005, 0.5: 0.05, 0.90: 0.01, 0.99: 0.001},
|
||||||
})
|
})
|
||||||
iterationsSkipped = prometheus.NewCounter(prometheus.CounterOpts{
|
|
||||||
Namespace: namespace,
|
|
||||||
Name: "evaluator_iterations_skipped_total",
|
|
||||||
Help: "The total number of rule group evaluations skipped due to throttled metric storage.",
|
|
||||||
})
|
|
||||||
iterationsMissed = prometheus.NewCounter(prometheus.CounterOpts{
|
iterationsMissed = prometheus.NewCounter(prometheus.CounterOpts{
|
||||||
Namespace: namespace,
|
Namespace: namespace,
|
||||||
Name: "evaluator_iterations_missed_total",
|
Name: "evaluator_iterations_missed_total",
|
||||||
|
@ -88,7 +83,7 @@ var (
|
||||||
iterationsScheduled = prometheus.NewCounter(prometheus.CounterOpts{
|
iterationsScheduled = prometheus.NewCounter(prometheus.CounterOpts{
|
||||||
Namespace: namespace,
|
Namespace: namespace,
|
||||||
Name: "evaluator_iterations_total",
|
Name: "evaluator_iterations_total",
|
||||||
Help: "The total number of scheduled rule group evaluations, whether executed, missed or skipped.",
|
Help: "The total number of scheduled rule group evaluations, whether executed or missed.",
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -100,7 +95,6 @@ func init() {
|
||||||
|
|
||||||
prometheus.MustRegister(iterationDuration)
|
prometheus.MustRegister(iterationDuration)
|
||||||
prometheus.MustRegister(iterationsScheduled)
|
prometheus.MustRegister(iterationsScheduled)
|
||||||
prometheus.MustRegister(iterationsSkipped)
|
|
||||||
prometheus.MustRegister(iterationsMissed)
|
prometheus.MustRegister(iterationsMissed)
|
||||||
prometheus.MustRegister(evalFailures)
|
prometheus.MustRegister(evalFailures)
|
||||||
prometheus.MustRegister(evalDuration)
|
prometheus.MustRegister(evalDuration)
|
||||||
|
|
Loading…
Reference in a new issue