metrics
Get metrics data points.
Example endpoint with encoded query
https://<server.com>/metricsql/api/v3/tenants/<tenantId>/metrics?query=synthetic_response_time%7Binstance%3D%7E%22MonitoringChannel%7CTest+old+binary%22%7D&start=1635470492&end=1635488492
Get metrics data points with timestamps
Path Parameters
- tenantId
Describes clientId of the tenant
Query Parameters
- query
Describes the string defining all the patterns supported by OpsQL. The filter criteria of the query is create by the supported operators and attribute values. For details on how to create query for OpsQL please refer `https://docs.opsramp.com/platform-features/feature-guides/query-language-reference/query-language-ref/` See "metricsQL-overview" guide
- start
startTime - Timestamp in seconds
- end
EndTime
- step
step size
Default: 60
Responses
- status
- data
Loading Examples...