mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-21 03:58:05 +01:00
Restore high-cardinality Lettuce metrics for debugging
This commit is contained in:
committed by
Jon Chambers
parent
587c385936
commit
c5dc01ee11
@@ -76,7 +76,7 @@ public class MetricsUtil {
|
||||
return defaultDistributionStatisticConfig.merge(config);
|
||||
}
|
||||
})
|
||||
// Remove high-cardinality `command` and `remote` tags from Lettuce metrics and prepend "chat." to meter names
|
||||
// Remove high-cardinality `command` tags from Lettuce metrics and prepend "chat." to meter names
|
||||
.meterFilter(new MeterFilter() {
|
||||
@Override
|
||||
public Meter.Id map(final Meter.Id id) {
|
||||
@@ -84,7 +84,6 @@ public class MetricsUtil {
|
||||
return id.withName(PREFIX + "." + id.getName())
|
||||
.replaceTags(id.getTags().stream()
|
||||
.filter(tag -> !"command".equals(tag.getKey()))
|
||||
.filter(tag -> !"remote".equals(tag.getKey()))
|
||||
.toList());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user