You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
summary: Returns an array of GuardMetrics for a given time range. If startTime or endTime are ommitted, a five minute duration is used by default. Default page size is 10.
31
31
parameters:
32
32
- $ref: "#/components/parameters/StartTime"
@@ -45,7 +45,90 @@ paths:
45
45
schema:
46
46
type: array
47
47
items:
48
-
$ref: "#/components/schemas/GuardMetric"
48
+
$ref: "#/components/schemas/GuardMetrics"
49
+
default:
50
+
description: Unexpected error
51
+
content:
52
+
application/json:
53
+
schema:
54
+
$ref: "#/components/schemas/HttpError"
55
+
/guards/{guardName}/runs/{requestId}/metrics:
56
+
get:
57
+
operationId: getGuardRunMetrics
58
+
summary: Returns an instance of GuardRunMetrics for a given request.
59
+
parameters:
60
+
- $ref: "#/components/parameters/GuardName"
61
+
- $ref: "#/components/parameters/RequestId"
62
+
tags:
63
+
- Metrics
64
+
security:
65
+
- apiKeyAuth: []
66
+
- bearerAuth: []
67
+
responses:
68
+
"200":
69
+
description: Returns metrics for Guard request
70
+
content:
71
+
application/json:
72
+
schema:
73
+
type: array
74
+
items:
75
+
$ref: "#/components/schemas/GuardRunMetrics"
76
+
default:
77
+
description: Unexpected error
78
+
content:
79
+
application/json:
80
+
schema:
81
+
$ref: "#/components/schemas/HttpError"
82
+
/validators/metrics:
83
+
get:
84
+
operationId: getValidatorMetrics
85
+
summary: Returns an array of ValidatorMetrics for a given time range. If startTime or endTime are ommitted, a five minute duration is used by default. Default page size is 10, but this page size applied to guard steps not validator metrics. Have to think this one out a little more.
0 commit comments