mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-14 09:58:50 +08:00
Merge pull request #5378 from FuhengZhao/RedwoodMetricsLevelFix
Redwood Metric Level
This commit is contained in:
commit
303449f82f
@ -1721,7 +1721,7 @@ struct RedwoodMetrics {
|
||||
for (auto& m : metrics) {
|
||||
char c = m.first[0];
|
||||
if (c != 0 && (!skipZeroes || m.second != 0)) {
|
||||
e->detail(format("L%d%s", i + 1, m.first + (c == '-' ? 1 : 0)), m.second);
|
||||
e->detail(format("L%d%s", i, m.first + (c == '-' ? 1 : 0)), m.second);
|
||||
}
|
||||
}
|
||||
metric.events.toTraceEvent(e, i);
|
||||
|
Loading…
x
Reference in New Issue
Block a user