mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Update tsdb/postings_for_matchers_cache.go
Co-authored-by: Charles Korn <charleskorn@users.noreply.github.com>
This commit is contained in:
parent
ca4cdeb1af
commit
6c0910a289
|
@ -267,7 +267,7 @@ func (c *PostingsForMatchersCache) created(ctx context.Context, key string, ts t
|
|||
sizeBytes: sizeBytes,
|
||||
})
|
||||
c.cachedBytes += sizeBytes
|
||||
span.AddEvent("recorded cached promise size", trace.WithAttributes(
|
||||
span.AddEvent("added cached value to expiry queue", trace.WithAttributes(
|
||||
attribute.Stringer("ttl", c.ttl),
|
||||
attribute.String("key", key),
|
||||
attribute.Stringer("timestamp", ts),
|
||||
|
|
Loading…
Reference in a new issue