Skip to content

Commit

Permalink
allegro-internal/flex-roadmap#819 Migrated metrics to prometheus
Browse files Browse the repository at this point in the history
  • Loading branch information
nastassia-dailidava committed Sep 30, 2024
1 parent 2516f18 commit 22123bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ interface MetricsDiscoveryServerCallbacksTest {

private fun assertCondition(type: String, condition: Predicate<Int?>, 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")
Expand Down

0 comments on commit 22123bb

Please sign in to comment.