diff --git a/cmd/aggregator/backfill.go b/cmd/aggregator/backfill.go
index 4955b7a..c27f1db 100644
--- a/cmd/aggregator/backfill.go
+++ b/cmd/aggregator/backfill.go
@@ -62,8 +62,10 @@ func Backfill(ctx context.Context, collectorAddrs []string, cache *Cache) {
mergeDump(r.coarse, coarseByTS)
}
+ mergeStart := time.Now()
fine := buildSnapshots(fineByTS, st.FineTopK, st.FineRingSize)
coarse := buildSnapshots(coarseByTS, st.CoarseTopK, st.CoarseRingSize)
+ log.Printf("backfill: merge+topk took %s", time.Since(mergeStart).Round(time.Microsecond))
if len(fine)+len(coarse) == 0 {
log.Printf("backfill: no data received from any collector")
@@ -71,7 +73,7 @@ func Backfill(ctx context.Context, collectorAddrs []string, cache *Cache) {
}
loadStart := time.Now()
cache.LoadHistorical(fine, coarse)
- log.Printf("backfill: loaded %d fine + %d coarse buckets in %s total",
+ log.Printf("backfill: loaded %d fine + %d coarse buckets in %s",
len(fine), len(coarse), time.Since(loadStart).Round(time.Microsecond))
}
diff --git a/cmd/frontend/templates/index.html b/cmd/frontend/templates/index.html
index 404a13c..853f547 100644
--- a/cmd/frontend/templates/index.html
+++ b/cmd/frontend/templates/index.html
@@ -32,7 +32,7 @@
-
+
{{- if .FilterExpr}} × clear{{end}}