From 9db1aa6b9586400697c2f0093b0be96e3ebfde63 Mon Sep 17 00:00:00 2001 From: Gregor Zeitlinger Date: Fri, 2 Feb 2024 18:19:40 +0100 Subject: [PATCH] add go example --- examples/go/oats.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/go/oats.yaml b/examples/go/oats.yaml index 58ad1a6..9ebecd2 100644 --- a/examples/go/oats.yaml +++ b/examples/go/oats.yaml @@ -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: