Skip to content

Commit

Permalink
Merge pull request #260 from brharrington/bucket-types
Browse files Browse the repository at this point in the history
indicate type as prefix on idx value
  • Loading branch information
brharrington committed Jan 18, 2016
2 parents 81e1814 + 2b3ea88 commit ef5c42e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public static PercentileDistributionSummary get(Registry registry, Id id) {
this.summary = registry.distributionSummary(id);
this.counters = new Counter[PercentileBuckets.length()];
for (int i = 0; i < counters.length; ++i) {
Id counterId = id.withTag("percentile", String.format("%04X", i));
Id counterId = id.withTag("percentile", String.format("D%04X", i));
counters[i] = registry.counter(counterId);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public static PercentileTimer get(Registry registry, Id id) {
this.timer = registry.timer(id);
this.counters = new Counter[PercentileBuckets.length()];
for (int i = 0; i < counters.length; ++i) {
Id counterId = id.withTag("percentile", String.format("%04X", i));
Id counterId = id.withTag("percentile", String.format("T%04X", i));
counters[i] = registry.counter(counterId);
}
}
Expand Down

0 comments on commit ef5c42e

Please sign in to comment.