Merge pull request #5378 from FuhengZhao/RedwoodMetricsLevelFix

Redwood Metric Level
This commit is contained in:
Steve Atherton 2021-08-12 20:29:08 -07:00 committed by GitHub
commit 303449f82f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);