Query QoS Metrics (v2.0)
POST/v2.0/api/tenants/:tenant_id/monitor/qos_metrics
Query the time series data for QOS statistics.
Request
Path Parameters
ID of the tenant.
- application/json
Body
Details of qos metrics query
- Array [
- ]
The end time to get the QoS metrics.
filter QosMetricsFilterrequired
Filters according to the specifications.
Possible values: [Ingress
, Egress
]
The direction of the traffic.
The element.
Priority level set for the QoS metric filter.
The sites.
The traffic type for the QoS metric.
The WAN interface of the network.
Possible values: [10sec
, 1min
, 5min
, 1hour
, 1day
, 1month
]
The time period of the QoS query.
The max data points.
metrics Metrics[]required
Metrics: Valid ListObject(allowDuplicate = true, allowEmpty = false, allowNull = false, listMaxSize = 0, error = INVALID_FILTER: Schema check failed - Invalid value for param {}, required = true)
Name: Required(error = REQUIRED_PROPERTY: Schema check failed - {} is a required property) Pattern(error = INVALID_FILTER: Schema check failed - Invalid value for param {}, regexp = ^[A-Za-z]+$)
Statistics: Required(error = REQUIRED_PROPERTY: Schema check failed - {} is a required property)
Unit: Required(error = REQUIRED_PROPERTY: Schema check failed - {} is a required property) Pattern(error = INVALID_FILTER: Schema check failed - Invalid value for param {}, regexp = ^[A-Za-z]+$)
The description of the QoS metric. Maz size = 128.
The start time to get the QoS metrics.
view View
View the QoS metric details.
Possible values: [ELEMENT
, INTERFACE
, CELLULAR_MODULE
, DIRECTION
, SITE
, APP
, PATH
, PATH_TYPE
, WANINTERFACE
, PRIORITY
, TRAFFIC_TYPE
, COMMON
, CLIENT_MAC_ADDRESS
, USER
, USER_EMAIL
, RESOLUTION_QUALITY
, None
]
The individual view values.
The summary of the view.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- Array [
- Array [
- ]
- ]
- ]
- ]
metrics MetricArray[]
The details of the metrics.
series Series[]
Series
data Data[]
Data
datapoints Datapoints[]
Datapoints
The date and time of the series.
The filter property ID.
Links
Ninetieth Percentile
The sites.
The values of the filter.
Statistics
The interval time.
The name.
Unit
View the active series details.
{
"metrics": [
{
"series": [
{
"data": [
{
"datapoints": [
{
"duration": "2024-07-29T15:51:28.071Z",
"filter_property_id": "string",
"links": [
"string"
],
"max_value_time": "2024-07-29T15:51:28.071Z",
"ninetieth_percentile": 0,
"sites": [
"string"
],
"value": 0
}
],
"statistics": {}
}
],
"interval": "string",
"name": "string",
"unit": "string",
"view": {}
}
]
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
The error code.
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "REQUIRED_PROPERTY"
},
{
"code": "INVALID_FILTER"
},
{
"code": "MAX_DATAPOINTS_NOT_SUPPORTED"
},
{
"code": "REQUESTED_VIEW_NOT_SUPPORTED"
},
{
"code": "START_TIME_GREATER_THAN_END_TIME"
},
{
"code": "REQUESTED_METRIC_NOT_SUPPORTED"
},
{
"code": "REQUESTED_METRIC_UNIT_NOT_SUPPORTED"
},
{
"code": "REQUESTED_METRIC_STATISTICS_NOT_SUPPORTED"
},
{
"code": "INVALID_STATS_REQUEST_BODY"
}
]
}
}