We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b3ecc4 commit c0cced2Copy full SHA for c0cced2
components/proxy/conf/Caddyfile
@@ -22,9 +22,18 @@
22
23
servers {
24
protocols h1 h2 h2c
25
+ metrics
26
}
27
28
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
+
37
(compression) {
38
encode zstd gzip
39
@@ -142,7 +151,7 @@
142
151
143
152
# TODO: refactor once we can listen only in localhost
144
153
:9545 {
145
- metrics /metrics {
154
+ metrics /metrics @exclude502 {
146
155
disable_openmetrics
147
156
148
157
0 commit comments