From 7c313be3b513c197d83141fb8b2f2ffccbc2c7bf Mon Sep 17 00:00:00 2001 From: Arve Knudsen Date: Mon, 30 Oct 2023 14:53:32 +0100 Subject: [PATCH] Remove unnecessary event attributes Signed-off-by: Arve Knudsen --- tsdb/postings_for_matchers_cache.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/tsdb/postings_for_matchers_cache.go b/tsdb/postings_for_matchers_cache.go index 725a550a85..cc920d0084 100644 --- a/tsdb/postings_for_matchers_cache.go +++ b/tsdb/postings_for_matchers_cache.go @@ -238,7 +238,6 @@ func (c *PostingsForMatchersCache) created(ctx context.Context, key string, ts t if c.ttl <= 0 { span.AddEvent("deleting cached promise since c.ttl <= 0", trace.WithAttributes( attribute.Stringer("ttl", c.ttl), - attribute.String("key", key), )) c.calls.Delete(key) return @@ -255,7 +254,6 @@ func (c *PostingsForMatchersCache) created(ctx context.Context, key string, ts t c.cachedBytes += sizeBytes span.AddEvent("added cached value to expiry queue", trace.WithAttributes( attribute.Stringer("ttl", c.ttl), - attribute.String("key", key), attribute.Stringer("timestamp", ts), attribute.Int64("size in bytes", sizeBytes), attribute.Int64("cached bytes", c.cachedBytes),