Skip to content

Commit 82729cf

Browse files
authored
fix: rename compact throughput logging keys (#27210) (#27213)
This should alleviate confusion for our compact throughput logs throughput_bytes_per_second -> compact-throughput throughput_bytes_per_second_burst -> compact-throughput-burst (cherry picked from commit e6b5c42)
1 parent d65673b commit 82729cf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tsdb/store.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -533,15 +533,15 @@ func (s *Store) loadShards() error {
533533

534534
compactionSettings = append(
535535
compactionSettings,
536-
zap.Int("throughput_bytes_per_second", throughput),
537-
zap.Int("throughput_bytes_per_second_burst", throughputBurst),
536+
zap.Int("compact-throughput", throughput),
537+
zap.Int("compact-throughput-burst", throughputBurst),
538538
)
539539
s.EngineOptions.CompactionThroughputLimiter = limiter.NewRate(throughput, throughputBurst)
540540
} else {
541541
compactionSettings = append(
542542
compactionSettings,
543-
zap.String("throughput_bytes_per_second", "unlimited"),
544-
zap.String("throughput_bytes_per_second_burst", "unlimited"),
543+
zap.String("compact-throughput", "unlimited"),
544+
zap.String("compact-throughput-burst", "unlimited"),
545545
)
546546
}
547547

0 commit comments

Comments
 (0)