Fix the instrumentation fixes
This commit is contained in:
parent
73e38c534a
commit
663a1550d0
|
@ -54,7 +54,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Evaluation Duration</td>
|
<td>Evaluation Duration</td>
|
||||||
<td>{{ template "prom_query_drilldown" (args (printf "irate(prometheus_evaluator_duration_milliseconds_sum{job='prometheus',instance='%s'}[5m]) / rate(prometheus_evaluator_duration_milliseconds_count{job='prometheus',instance='%s'}[5m]) / 1000" .Params.instance .Params.instance) "" "humanizeDuration") }}</td>
|
<td>{{ template "prom_query_drilldown" (args (printf "irate(prometheus_evaluator_duration_seconds_sum{job='prometheus',instance='%s'}[5m]) / rate(prometheus_evaluator_duration_seconds_count{job='prometheus',instance='%s'}[5m]) / 1000" .Params.instance .Params.instance) "" "humanizeDuration") }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Notification Latency</td>
|
<td>Notification Latency</td>
|
||||||
|
|
|
@ -152,7 +152,7 @@ func (g *Group) run() {
|
||||||
start := time.Now()
|
start := time.Now()
|
||||||
g.eval()
|
g.eval()
|
||||||
|
|
||||||
iterationDuration.Observe(float64(time.Since(start)) / float64(time.Millisecond))
|
iterationDuration.Observe(float64(time.Since(start)) / float64(time.Second))
|
||||||
}
|
}
|
||||||
iter()
|
iter()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue