Skip to content

Commit cda49ca

Browse files
Fix trace query
Fix trace query for `GetError`.
1 parent c944b1a commit cda49ca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docker/docker-compose-aspnetcore/http/oats.http-geterror.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,13 @@ expected:
77
- traceql: '{ span.http.route =~ "api/HttpClient/GetError" }'
88
spans:
99
- name: 'GET api/HttpClient/GetError'
10+
attributes:
11+
http.request.method: GET
12+
- name: 'GET'
1013
attributes:
1114
error.type: '500'
1215
http.request.method: GET
16+
http.response.status_code: '500'
1317
metrics:
1418
- promql: http_client_request_duration_seconds_count{}
1519
value: '>= 0'

0 commit comments

Comments
 (0)