Skip to content

Commit

Permalink
use more stricter regex
Browse files Browse the repository at this point in the history
Signed-off-by: Ahmad Karimi <[email protected]>
  • Loading branch information
therealak12 committed Jun 20, 2024
1 parent b2ed096 commit 394af7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/contour/shutdownmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import (
const (
// The prometheusURL is used to fetch the envoy metrics. Note that the filter
// value matches Envoy's raw stat names (i.e. those on the `/stats/` endpoint).
prometheusURL = "http://unix/stats/prometheus?filter=http\\..*\\.downstream_cx_active"
prometheusURL = "http://unix/stats/prometheus?filter=^http\\..*\\.downstream_cx_active$"
healthcheckFailURL = "http://unix/healthcheck/fail"
prometheusStat = "envoy_http_downstream_cx_active"
)
Expand Down

0 comments on commit 394af7a

Please sign in to comment.