This repository has no description
Something went wrong. Try again.
refactor metrics middleware in to `util/svcutil` (#1003) master
The main motivation here is to not have `splitter` import from `bgs`; it was only doing so for MetricsMiddleware. This moves MetricsMiddleware out to new service-oriented util package (not directly in `util/` because it depends on prometheus and echo), and updates the trivial usage to that. Not touching `cmd/relay/` because that is getting refactored in a separate branch; and not touching `search/metrics.go` because it adds "extra" labels.
Author bnewbold Committer GitHub Date (Apr 1, 2025, 9:06 PM UTC) Commit bfc7f487 bfc7f487e4ed5ece2c07a1bb309ba1d32dede33e Parent 66fd40eb 66fd40eb26f4d0fcc467d9df1ae3826982d29746