mirror of
https://github.com/prometheus/prometheus
synced 2024-12-23 23:13:11 +00:00
Fix the instrumentation fixes
This commit is contained in:
parent
73e38c534a
commit
663a1550d0
@ -54,7 +54,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<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>
|
||||
<td>Notification Latency</td>
|
||||
|
@ -152,7 +152,7 @@ func (g *Group) run() {
|
||||
start := time.Now()
|
||||
g.eval()
|
||||
|
||||
iterationDuration.Observe(float64(time.Since(start)) / float64(time.Millisecond))
|
||||
iterationDuration.Observe(float64(time.Since(start)) / float64(time.Second))
|
||||
}
|
||||
iter()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user