Skip to content

Commit 577aeaf

Browse files
Add db.client.operation.duration assertion
See #144 (comment).
1 parent 0aa1a0f commit 577aeaf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker/docker-compose-aspnetcore/oats.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ expected:
1313
contains:
1414
- 'Application started'
1515
metrics:
16+
- promql: db.client.operation.duration{}
17+
value: '>= 0'
1618
- promql: http_client_request_duration_seconds_count{}
1719
value: '>= 0'
1820
- promql: http_client_request_duration_seconds_count{http_request_method="GET", http_response_status_code="200"}

0 commit comments

Comments
 (0)