Skip to content

Commit

Permalink
add go example
Browse files Browse the repository at this point in the history
  • Loading branch information
zeitlinger committed Feb 2, 2024
1 parent 1027690 commit 9db1aa6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/go/oats.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ docker-compose:
files:
- ./docker-compose.oats.yml
input:
- path: /rolldice
- path: /
expected:
traces:
- traceql: '{ span.http.route = "/rolldice" }'
- traceql: '{ span.http.route = "/" }'
spans:
- name: '/' # should be "GET /rolldice"
- name: '/' # should be "GET /"
attributes:
otel.library.name: go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
metrics:
Expand Down

0 comments on commit 9db1aa6

Please sign in to comment.