Skip to content

Commit 992e23b

Browse files
authored
Revert " [proxy] enable metrics for Caddy (#19877)" (#19882)
This reverts commit c0cced2.
1 parent c0cced2 commit 992e23b

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

components/proxy/conf/Caddyfile

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,9 @@
2222

2323
servers {
2424
protocols h1 h2 h2c
25-
metrics
2625
}
2726
}
2827

29-
# Define a matcher to exclude 502 errors on a specific path
30-
@exclude502 {
31-
not {
32-
path /_supervisor*
33-
status 502
34-
}
35-
}
36-
3728
(compression) {
3829
encode zstd gzip
3930
}
@@ -151,7 +142,7 @@
151142

152143
# TODO: refactor once we can listen only in localhost
153144
:9545 {
154-
metrics /metrics @exclude502 {
145+
metrics /metrics {
155146
disable_openmetrics
156147
}
157148
}

0 commit comments

Comments
 (0)