Skip to content

Commit

Permalink
rules: remove skipped iterations cuz no throttling
Browse files Browse the repository at this point in the history
Signed-off-by: Goutham Veeramachaneni <[email protected]>
  • Loading branch information
gouthamve committed Nov 14, 2017
1 parent 91be55e commit e111771
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions rules/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,6 @@ var (
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},
})
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{
Namespace: namespace,
Name: "evaluator_iterations_missed_total",
Expand All @@ -88,7 +83,7 @@ var (
iterationsScheduled = prometheus.NewCounter(prometheus.CounterOpts{
Namespace: namespace,
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.",
})
)

Expand All @@ -100,7 +95,6 @@ func init() {

prometheus.MustRegister(iterationDuration)
prometheus.MustRegister(iterationsScheduled)
prometheus.MustRegister(iterationsSkipped)
prometheus.MustRegister(iterationsMissed)
prometheus.MustRegister(evalFailures)
prometheus.MustRegister(evalDuration)
Expand Down

0 comments on commit e111771

Please sign in to comment.