Query Time Series Application QOS Metrics (2.0)
POST/v2.0/api/tenants/:tenant_id/monitor/application/qos_metrics
Query the time series application QOS metrics.
Request
Path Parameters
The tenant ID.
- application/json
Body
Filters for application qos metrics
- Array [
- ]
The end time to get the application QoS metrics.
filter ApplicationQosMetricsFilterrequired
Filters according to the specifications.
Filter by the name of the application.
Possible values: [Ingress
, Egress
]
Filter by the traffic direction.
Filter by the email address.
Filter by the site.
Filter by user.
Possible values: [10sec
, 1min
, 5min
, 1hour
, 1day
, 1month
]
The interval time of the application QoS metrics.
The max datapoints of the application QoS metrics.
metrics Metrics[]required
Details of the application QoS metrics.
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 name of the Application QoS metric.
The start time to get the application QoS metrics.
view View
View
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[]
Details of the application 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_STATS_REQUEST_BODY"
},
{
"code": "INVALID_FILTER"
},
{
"code": "APPLICATION_NOT_SUPPORTED"
},
{
"code": "MULTIPLE_QOS_TYPE_NOT_SUPPORTED"
},
{
"code": "REQUESTED_METRIC_NOT_SUPPORTED"
},
{
"code": "REQUESTED_METRIC_UNIT_NOT_SUPPORTED"
},
{
"code": "REQUESTED_METRIC_STATISTICS_NOT_SUPPORTED"
},
{
"code": "MAX_DATAPOINTS_NOT_SUPPORTED"
},
{
"code": "REQUESTED_VIEW_NOT_SUPPORTED"
},
{
"code": "START_TIME_GREATER_THAN_END_TIME"
},
{
"code": "OTHER_METRICS_NOT_SUPPORTED"
},
{
"code": "REQUESTED_VIEW_NOT_SUPPORTED_FOR_METRIC"
},
{
"code": "MOS_METRICS_NOT_SUPPORTED"
},
{
"code": "SERVICE_UNAVAILABLE"
}
]
}
}