diff options
Diffstat (limited to 'caddytest/integration/caddyfile_adapt/metrics_disable_om.txt')
-rw-r--r-- | caddytest/integration/caddyfile_adapt/metrics_disable_om.txt | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/caddytest/integration/caddyfile_adapt/metrics_disable_om.txt b/caddytest/integration/caddyfile_adapt/metrics_disable_om.txt new file mode 100644 index 000000000..2d7b24f4d --- /dev/null +++ b/caddytest/integration/caddyfile_adapt/metrics_disable_om.txt @@ -0,0 +1,36 @@ +:80 { + metrics /metrics { + disable_openmetrics + } +} +---------- +{ + "apps": { + "http": { + "servers": { + "srv0": { + "listen": [ + ":80" + ], + "routes": [ + { + "match": [ + { + "path": [ + "/metrics" + ] + } + ], + "handle": [ + { + "disable_openmetrics": true, + "handler": "metrics" + } + ] + } + ] + } + } + } + } +} |