summaryrefslogtreecommitdiffhomepage
path: root/caddytest/integration/caddyfile_adapt/metrics_syntax.txt
diff options
context:
space:
mode:
Diffstat (limited to 'caddytest/integration/caddyfile_adapt/metrics_syntax.txt')
-rw-r--r--caddytest/integration/caddyfile_adapt/metrics_syntax.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/caddytest/integration/caddyfile_adapt/metrics_syntax.txt b/caddytest/integration/caddyfile_adapt/metrics_syntax.txt
new file mode 100644
index 000000000..ca08cea23
--- /dev/null
+++ b/caddytest/integration/caddyfile_adapt/metrics_syntax.txt
@@ -0,0 +1,33 @@
+:80 {
+ metrics /metrics
+}
+----------
+{
+ "apps": {
+ "http": {
+ "servers": {
+ "srv0": {
+ "listen": [
+ ":80"
+ ],
+ "routes": [
+ {
+ "match": [
+ {
+ "path": [
+ "/metrics"
+ ]
+ }
+ ],
+ "handle": [
+ {
+ "handler": "metrics"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+ }
+}