Closed jranson closed 4 weeks ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
pkg/proxy/handlers/rpc/rpc.go | 0 | 1 | 0.0% | ||
pkg/proxy/handlers/clickhouse/clickhouse.go | 0 | 2 | 0.0% | ||
pkg/proxy/handlers/influxdb/influxdb.go | 0 | 2 | 0.0% | ||
pkg/proxy/handlers/prometheus/prometheus.go | 0 | 2 | 0.0% | ||
pkg/proxy/methods/methods.go | 0 | 4 | 0.0% | ||
pkg/proxy/handlers/purge.go | 0 | 8 | 0.0% | ||
pkg/httpserver/httpserver.go | 0 | 16 | 0.0% | ||
pkg/httpserver/listeners.go | 0 | 22 | 0.0% | ||
<!-- | Total: | 235 | 292 | 80.48% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
pkg/cache/bbolt/bbolt.go | 4 | 88.55% | ||
<!-- | Total: | 4 | --> |
Totals | |
---|---|
Change from base Build 9143081403: | 1.3% |
Covered Lines: | 17253 |
Relevant Lines: | 19112 |
This patch replaces the embedded
gorrila/mux
router with a new Longest-Match router. The LM Router is made for high-performance proxies in that it only uses basic string prefix matching, with no path parameter parsing or use of regular expressions. Some notes:/
separator, so/my/path-is-kinda-long
will match a route of/my/path
. Include the trailing/
in the route config to avoid this as needed./pkg/routing/routing.go
.Key Files:
Benchmarks: