Skip to content

Commit

Permalink
caddy fmt opentelemetry.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrii Kushch committed Sep 27, 2021
1 parent 8323fbd commit 42beed1
Showing 1 changed file with 15 additions and 19 deletions.
34 changes: 15 additions & 19 deletions caddytest/integration/caddyfile_adapt/opentelemetry.txt
Original file line number Diff line number Diff line change
@@ -1,36 +1,32 @@
:80 {
opentelemetry /myhandler {
span_name my-span
span_name my-span
}
}
----------
{
---------- {
"apps": {
"http": {
"servers": {
"srv0": {
"listen": [
":80"
":80"
],
"routes": [
{
"match": [
{
"path": [
"/myhandler"
]
}
],
"handle": [
{
"handler": "opentelemetry",
"span_name": "my-span"
}
"routes": [ {
"match": [ {
"path": [
"/myhandler"
]
}
],
"handle": [ {
"handler": "opentelemetry",
"span_name": "my-span"
}
]
}
]
}
}
}
}
}
}

0 comments on commit 42beed1

Please sign in to comment.