Get All Derived Metrics
Get all derived metric definitions for a customer
Request
URI
GET
https://{api_host}/api/v2/derivedmetric
COPY
Query Parameters
integer
offset
Optional
Constraints:
default: 0
offset
integer
limit
Optional
Constraints:
default: 100
limit
Responses
200
successful operation
Returns
ResponseContainerPagedDerivedMetricDefinition
of type(s)
application/json
{
"status": {
"result": "string",
"message": "string",
"code": 0
},
"response": {
"items": [
{
"tagpaths": [
"string"
],
"minutes": 0,
"name": "string",
"id": "string",
"query": "string",
"createdEpochMillis": 0,
"updatedEpochMillis": 0,
"tags": {
"customerTags": [
"string"
]
},
"status": [
"string"
],
"deleted": false,
"created": 0,
"queryQBEnabled": false,
"queryQBSerialization": "string",
"processRateMinutes": 0,
"createUserId": "string",
"updated": 0,
"updateUserId": "string",
"queryFailing": false,
"lastFailedTime": 0,
"lastErrorMessage": "string",
"additionalInformation": "string",
"metricsUsed": [
"string"
],
"hostsUsed": [
"string"
],
"inTrash": false,
"lastProcessedMillis": 0,
"pointsScannedAtLastQuery": 0,
"includeObsoleteMetrics": false,
"lastQueryTime": 0,
"creatorId": "string",
"updaterId": "string"
}
],
"offset": 0,
"limit": 0,
"cursor": "string",
"totalItems": 0,
"moreItems": false,
"sort": {
"ascending": false,
"field": "string",
"default": false
}
}
}
object
status
Required
status
object
response
Optional
response
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/api/v2/derivedmetric
Derived Metric Operations
GET
Get All Derived Metrics
POST
Create Derived Metric
GET
Get Derived Metric
PUT
Update Derived Metric
DELETE
Delete Derived Metric
GET
Get Derived Metric History
GET
Get Derived Metric By Version
GET
Get Derived Metric Tags
POST
Set Derived Metric Tags
PUT
Add Tag To Derived Metric
DELETE
Remove Tag From Derived Metric
POST
Undelete Derived Metric