mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 05:34:05 -08:00
Use <ix+1>_of_<shardCount> formatting for better readibility.
This commit is contained in:
parent
861f9083d8
commit
db7fa7621c
|
@ -482,7 +482,7 @@ func (c *LeveledCompactor) compact(dest string, dirs []string, open []*Block, sh
|
|||
"count", len(blocks),
|
||||
"sources", fmt.Sprintf("%v", uids),
|
||||
"duration", time.Since(start),
|
||||
"shard", fmt.Sprintf("%d_of_%d", ix, shardCount),
|
||||
"shard", fmt.Sprintf("%d_of_%d", ix+1, shardCount),
|
||||
)
|
||||
} else {
|
||||
allOutputBlocksAreEmpty = false
|
||||
|
@ -496,7 +496,7 @@ func (c *LeveledCompactor) compact(dest string, dirs []string, open []*Block, sh
|
|||
"ulid", meta.ULID,
|
||||
"sources", fmt.Sprintf("%v", uids),
|
||||
"duration", time.Since(start),
|
||||
"shard", fmt.Sprintf("%d_of_%d", ix, shardCount),
|
||||
"shard", fmt.Sprintf("%d_of_%d", ix+1, shardCount),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue