TP-62059 || Fix litmus_proxy metrics not getting emitted (#102)
* TP-62059 || Add caching to update enabled experiments. * TP-62059 || Make all the fields serializable to be dumped to Redis * TP-62059 || Refreshing enabled experiments * TP-62059 || Remove app_name tag from metric customizer as it conflicts with app_name in litmus_client jar
This commit is contained in:
@@ -23,7 +23,6 @@ public class MetricsRegistry {
|
|||||||
MeterRegistryCustomizer<MeterRegistry> metricsCommonTags() {
|
MeterRegistryCustomizer<MeterRegistry> metricsCommonTags() {
|
||||||
InetAddress inetAddress = inetAddress();
|
InetAddress inetAddress = inetAddress();
|
||||||
return registry -> registry.config()
|
return registry -> registry.config()
|
||||||
.commonTags("app.name", appName)
|
|
||||||
.commonTags("host.ip", inetAddress.getHostAddress().trim())
|
.commonTags("host.ip", inetAddress.getHostAddress().trim())
|
||||||
.commonTags("host.name", inetAddress.getHostName().trim());
|
.commonTags("host.name", inetAddress.getHostName().trim());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user