We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40b7680 commit bae29ecCopy full SHA for bae29ec
docs/modules/ROOT/pages/concepts/meter-filters.adoc
@@ -128,9 +128,9 @@ too high cardinality and starts stressing your monitoring system or costing too
128
new MeterFilter() {
129
@Override
130
public DistributionStatisticConfig configure(Meter.Id id, DistributionStatisticConfig config) {
131
- if (id.getName().startsWith(prefix)) {
+ if (id.getName().startsWith("prefix")) {
132
return DistributionStatisticConfig.builder()
133
- .publishPercentiles(0.9, 0.95)
+ .percentiles(0.9, 0.95)
134
.build()
135
.merge(config);
136
}
0 commit comments