mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-02 14:56:53 +00:00
Restore high-cardinality Lettuce metrics for debugging
This commit is contained in:
1 parent
587c385936
commit
c5dc01ee11
2 files changed
+1
-3
No files matched your search
@@ -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