From f863eda1a5bf0e2fe5d660c91f2403dee5244984 Mon Sep 17 00:00:00 2001 From: Joe Elliott Date: Tue, 19 Nov 2024 15:14:49 -0500 Subject: [PATCH] lint Signed-off-by: Joe Elliott --- pkg/tempopb/pool/pool.go | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pkg/tempopb/pool/pool.go b/pkg/tempopb/pool/pool.go index c8eb7758ff6..508031925ef 100644 --- a/pkg/tempopb/pool/pool.go +++ b/pkg/tempopb/pool/pool.go @@ -11,13 +11,11 @@ import ( "github.com/prometheus/client_golang/prometheus/promauto" ) -var ( - metricAllocOutPool = promauto.NewCounter(prometheus.CounterOpts{ - Namespace: "tempo", - Name: "ingester_prealloc_miss_bytes_total", - Help: "The total number of alloc'ed bytes that missed the sync pools.", - }) -) +var metricAllocOutPool = promauto.NewCounter(prometheus.CounterOpts{ + Namespace: "tempo", + Name: "ingester_prealloc_miss_bytes_total", + Help: "The total number of alloc'ed bytes that missed the sync pools.", +}) // Pool is a linearly bucketed pool for variably sized byte slices. type Pool struct {