Skip to content

Commit b2059f3

Browse files
Add db.client.operation.duration assertion
See #144 (comment).
1 parent bd82cd5 commit b2059f3

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
@@ -14,6 +14,8 @@ expected:
1414
contains:
1515
- 'Application started'
1616
metrics:
17+
- promql: db.client.operation.duration{}
18+
value: '>= 0'
1719
- promql: http_client_request_duration_seconds_count{}
1820
value: '>= 0'
1921
- promql: http_client_request_duration_seconds_count{http_request_method="GET", http_response_status_code="200"}

0 commit comments

Comments
 (0)