diff --git a/rules/ast/functions.go b/rules/ast/functions.go index ccfe3e271..ab0cce47c 100644 --- a/rules/ast/functions.go +++ b/rules/ast/functions.go @@ -275,7 +275,7 @@ func dropCommonLabelsImpl(timestamp clientmodel.Timestamp, view *viewAdapter, ar } for _, el := range vector { - for k, _ := range el.Metric { + for k := range el.Metric { if _, ok := common[k]; ok { delete(el.Metric, k) } diff --git a/web/templates/_base.html b/web/templates/_base.html index 764c51a5f..a0f642256 100644 --- a/web/templates/_base.html +++ b/web/templates/_base.html @@ -17,6 +17,10 @@
Prometheus