From 22123bb5e653bbf0eece465438a1cc854f0ae103 Mon Sep 17 00:00:00 2001 From: "nastassia.dailidava" Date: Mon, 30 Sep 2024 12:46:15 +0200 Subject: [PATCH] allegro-internal/flex-roadmap#819 Migrated metrics to prometheus --- .../envoycontrol/MetricsDiscoveryServerCallbacksTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/MetricsDiscoveryServerCallbacksTest.kt b/envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/MetricsDiscoveryServerCallbacksTest.kt index f8e12ba44..b03524b6c 100644 --- a/envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/MetricsDiscoveryServerCallbacksTest.kt +++ b/envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/MetricsDiscoveryServerCallbacksTest.kt @@ -261,7 +261,7 @@ interface MetricsDiscoveryServerCallbacksTest { private fun assertCondition(type: String, condition: Predicate, metricType: String) { val counterValue = - envoyControl().app.meterRegistry().find("grpc.requests.total") + envoyControl().app.meterRegistry().find("grpc.requests.count") .tags(Tags.of("type", type, "metric-type", metricType)) .counter()?.count()?.toInt() logger.info("$type $counterValue")