Skip to content

Commit

Permalink
Merge pull request #378 from lichess-org/metrics/fix-search-http-route
Browse files Browse the repository at this point in the history
Fix http.route attribute for search
  • Loading branch information
lenguyenthanh authored Nov 29, 2024
2 parents 3c04a5b + 0a38476 commit c8795a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/app/src/main/scala/service.search.scala
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class SearchServiceImpl(esClient: ESClient[IO], metric: Histogram[IO, Double])(u
TimeUnit.MILLISECONDS,
withErrorType(
baseAttributes
.added(MetricKeys.httpRoute, s"/api/count/")
.added(MetricKeys.httpRoute, s"/api/search/")
)
)

Expand Down

0 comments on commit c8795a8

Please sign in to comment.