Query
query ValidatorSegmentMetrics($input: ValidatorSegmentMetricsInput!) {
validatorSegmentMetrics(input: $input) {
__typename
... on ValidatorMetricWithDifferenceThresholdHistory {
values {
endTime
id
isFalsePositive
isIncident
lowerBound
severity
}
}
}
}Variables
{
"input": {
"segmentId": "value",
"timeRange": {
"end": "value",
"start": "value"
},
"validatorId": "value"
}
}Response
{
"data": {
"validatorSegmentMetrics": {
"__typename": "ValidatorMetricWithDifferenceThresholdHistory",
"values": [
{
"endTime": "value",
"id": "value",
"isFalsePositive": true,
"isIncident": true,
"lowerBound": 1.5,
"severity": "HIGH"
}
]
}
}
}Queries
validatorSegmentMetrics
Gets metrics for a validator and segment. Requires VALIDATORS_READ permissions.
QUERY
validatorSegmentMetrics(input: ValidatorSegmentMetricsInput!): ValidatorMetricWithThresholdHistory!Arguments
input
required
Query
query ValidatorSegmentMetrics($input: ValidatorSegmentMetricsInput!) {
validatorSegmentMetrics(input: $input) {
__typename
... on ValidatorMetricWithDifferenceThresholdHistory {
values {
endTime
id
isFalsePositive
isIncident
lowerBound
severity
}
}
}
}Variables
{
"input": {
"segmentId": "value",
"timeRange": {
"end": "value",
"start": "value"
},
"validatorId": "value"
}
}Response
{
"data": {
"validatorSegmentMetrics": {
"__typename": "ValidatorMetricWithDifferenceThresholdHistory",
"values": [
{
"endTime": "value",
"id": "value",
"isFalsePositive": true,
"isIncident": true,
"lowerBound": 1.5,
"severity": "HIGH"
}
]
}
}
}