Skip to content

Commit 35748c2

Browse files
committed
formatting
1 parent 7b3d010 commit 35748c2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

internal/collector/nginxplusreceiver/scraper.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,12 @@ func (nps *nginxPlusScraper) recordCacheMetrics(stats *plusapi.Stats, now pcommo
929929
metadata.AttributeNginxCacheOutcomeEXPIRED,
930930
name,
931931
)
932-
nps.mb.RecordNginxCacheBytesReadDataPoint(now, int64(cache.Hit.Bytes), metadata.AttributeNginxCacheOutcomeHIT, name)
932+
nps.mb.RecordNginxCacheBytesReadDataPoint(
933+
now,
934+
int64(cache.Hit.Bytes),
935+
metadata.AttributeNginxCacheOutcomeHIT,
936+
name,
937+
)
933938
nps.mb.RecordNginxCacheBytesReadDataPoint(
934939
now,
935940
int64(cache.Miss.Bytes),

0 commit comments

Comments
 (0)