Import StackState Templated JSON (STJ) setting nodes.
| timeoutSeconds | integer <int64> |
| namespace | string |
| unlocked | string Enum: "fail" "skip" "overwrite" |
[- { }
]Export StackState Templated JSON (STJ) setting nodes.
| nodesWithIds | Array of integers <int64> |
| allNodesOfTypes | Array of strings |
| namespace | string |
| allowReferences | Array of strings |
{- "nodesWithIds": [
- 0
], - "allNodesOfTypes": [
- "string"
], - "namespace": "string",
- "allowReferences": [
- "string"
]
}{- "nodeTypes": [
- {
- "typeName": "string",
- "description": "string"
}
]
}list all nodes of that type
| nodeType required | string |
| namespace | string |
| ownedBy | string |
[- {
- "typeName": "string",
- "id": 0,
- "lastUpdateTimestamp": 0,
- "identifier": "string",
- "name": "string",
- "description": "string",
- "ownedBy": "string",
- "manual": true,
- "isSettingsNode": true
}
]upload a StackPack
| stackPack | string <binary> |
{- "name": "string",
- "displayName": "string",
- "version": "string",
- "logo": "string",
- "categories": [
- "string"
], - "isNew": true,
- "overviewUrl": "string",
- "detailedOverviewUrl": "string",
- "resourcesUrl": "string",
- "faqs": [
- {
- "question": "string",
- "answer": "string"
}
], - "configurationUrls": [
- [
- "string"
]
], - "releaseStatus": "AVAILABLE",
- "isCompatible": true
}[- {
- "name": "string",
- "displayName": "string",
- "version": "string",
- "configurations": [
- {
- "id": 0,
- "status": "string",
- "lastUpdateTimestamp": 0,
- "stackPackVersion": "string"
}
], - "latestVersion": {
- "version": "string"
}, - "nextVersion": {
- "version": "string"
}, - "steps": [
- {
- "display": "string",
- "name": "string",
- "value": {
- "_type": "string"
}
}
]
}
]Provision details
| stackName required | string (stackName) |
| property name* | string |
{- "property1": "string",
- "property2": "string"
}{- "id": 0,
- "status": "string",
- "name": "string",
- "stackPackVersion": "string",
- "lastUpdateTimestamp": 0
}{- "monitors": [
- {
- "id": 0,
- "name": "string",
- "identifier": "string",
- "description": "string",
- "functionId": 0,
- "arguments": [
- { }
], - "remediationHint": "string",
- "intervalSeconds": 0,
- "tags": [
- "string"
], - "status": "ENABLED"
}
]
}Returns a monitor full representation
| monitorIdOrUrn required | string (MonitorIdOrUrn) ^urn:.+|[0-9]+$ The id or identifier (urn) of a monitor |
{- "id": 0,
- "name": "string",
- "identifier": "string",
- "description": "string",
- "functionId": 0,
- "arguments": [
- { }
], - "remediationHint": "string",
- "intervalSeconds": 0,
- "tags": [
- "string"
], - "status": "ENABLED"
}Performs a patch on the monitor base properties.
| monitorIdOrUrn required | string (MonitorIdOrUrn) ^urn:.+|[0-9]+$ The id or identifier (urn) of a monitor |
Monitor base properties
| name | string |
| identifier | string (MonitorUrn) |
| description | string |
| remediationHint | string |
| intervalSeconds | integer |
| tags | Array of strings |
| status | string (MonitorStatusValue) Enum: "ENABLED" "DISABLED" If a monitor status is set to DISABLED it won't produce any health states but it can still be run manually to inspect it's output |
{- "name": "string",
- "identifier": "string",
- "description": "string",
- "remediationHint": "string",
- "intervalSeconds": 0,
- "tags": [
- "string"
], - "status": "ENABLED"
}{- "id": 0,
- "name": "string",
- "identifier": "string",
- "description": "string",
- "functionId": 0,
- "arguments": [
- { }
], - "remediationHint": "string",
- "intervalSeconds": 0,
- "tags": [
- "string"
], - "status": "ENABLED"
}Deletes existing monitor
| monitorIdOrUrn required | string (MonitorIdOrUrn) ^urn:.+|[0-9]+$ The id or identifier (urn) of a monitor |
{- "monitorIdOrUrn": "string",
- "_type": "InvalidMonitorIdentifierError"
}Performs a run of a monitor. If 'dryRun' is set, topology state will not be modified.
| monitorIdOrUrn required | string (MonitorIdOrUrn) ^urn:.+|[0-9]+$ The id or identifier (urn) of a monitor |
| dryRun | boolean If set, the topology state will not be modified |
{- "result": { }
}Returns a monitor full representation with the stream status information
| monitorIdOrUrn required | string (MonitorIdOrUrn) ^urn:.+|[0-9]+$ The id or identifier (urn) of a monitor |
{- "monitor": {
- "id": 0,
- "name": "string",
- "identifier": "string",
- "description": "string",
- "functionId": 0,
- "arguments": [
- { }
], - "remediationHint": "string",
- "intervalSeconds": 0,
- "tags": [
- "string"
], - "status": "ENABLED"
}, - "errors": [
- {
- "error": "string",
- "count": 0
}
], - "metrics": {
- "healthSyncServiceMetrics": {
- "bucketSizeSeconds": 0,
- "latencySeconds": [
- {
- "value": 0
}
], - "messagePerSecond": [
- {
- "value": 0
}
], - "createsPerSecond": [
- {
- "value": 0
}
], - "updatesPerSecond": [
- {
- "value": 0
}
], - "deletesPerSecond": [
- {
- "value": 0
}
]
}, - "runtimeMetrics": {
- "unknownCount": 0,
- "clearCount": 0,
- "deviatingCount": 0,
- "criticalCount": 0,
- "lastRunTimestamp": 0,
- "lastSuccessfulRunTimestamp": 0,
- "lastFailedRunTimestamp": 0
}
}, - "monitorHealthStateStateCount": 0,
- "topologyMatchResult": {
- "matchedCheckStates": 0,
- "unmatchedCheckStates": [
- {
- "checkStateId": "string",
- "topologyElementIdentifier": "string"
}
], - "multipleMatchesCheckStates": [
- {
- "checkStateId": "string",
- "topologyElementIdentifier": "string",
- "matchCount": 0
}
]
}
}Save current user profile.
| name required | string |
| description | string |
| identifier | string |
| starredViews | Array of integers <int64> |
| ownedBy | string |
{- "name": "string",
- "description": "string",
- "identifier": "string",
- "starredViews": [
- 0
], - "ownedBy": "string"
}{- "id": 0,
- "lastUpdateTimestamp": 0,
- "name": "string",
- "description": "string",
- "identifier": "string",
- "starredViews": [
- 0
], - "ownedBy": "string"
}Gets you a list of events that exist for topology and time selections.
| startTimestampMs required | integer <instant> |
| endTimestampMs required | integer <instant> |
| topologyQuery required | string |
| limit required | integer |
| playHeadTimestampMs | integer <instant> |
| rootCauseMode | string (RootCauseMode) Enum: "no-cause" "cause-only" "full-cause-tree" |
| eventTypes | Array of strings |
| eventTags | Array of strings |
| eventCategories | Array of strings (EventCategory) Items Enum: "Changes" "Alerts" "Anomalies" "Activities" "Others" |
| eventSources | Array of strings |
object (EventCursor) |
{- "startTimestampMs": 0,
- "endTimestampMs": 0,
- "topologyQuery": "string",
- "limit": 0,
- "playHeadTimestampMs": 0,
- "rootCauseMode": "no-cause",
- "eventTypes": [
- "string"
], - "eventTags": [
- "string"
], - "eventCategories": [
- "Changes"
], - "eventSources": [
- "string"
], - "cursor": {
- "lastEventTimestampMs": 0,
- "lastEventId": "string"
}
}{- "items": [
- {
- "identifier": "string",
- "sourceIdentifier": "string",
- "elementIdentifiers": [
- "string"
], - "elements": [
- {
- "_type": "EventComponent",
- "id": 0,
- "componentTypeId": 0,
- "name": "string"
}
], - "source": "string",
- "category": "Changes",
- "description": "string",
- "name": "string",
- "sourceLinks": [
- {
- "title": "string",
- "url": "string"
}
], - "data": { },
- "eventType": "string",
- "eventTime": 0,
- "processedTime": 0,
- "tags": [
- {
- "key": "string",
- "value": "string"
}
], - "causingEvents": [
- {
- "title": "string",
- "eventId": "string",
- "eventTimestamp": 0,
- "eventType": "string"
}
]
}
], - "total": 0
}Retrieves a specific event by its identifier.
| eventId required | string (EventId) The Identifier of an event. |
| startTimestampMs required | integer <instant> |
| endTimestampMs required | integer <instant> |
| playHeadTimestampMs | integer <instant> |
{- "identifier": "string",
- "sourceIdentifier": "string",
- "elementIdentifiers": [
- "string"
], - "elements": [
- {
- "_type": "EventComponent",
- "id": 0,
- "componentTypeId": 0,
- "name": "string"
}
], - "source": "string",
- "category": "Changes",
- "description": "string",
- "name": "string",
- "sourceLinks": [
- {
- "title": "string",
- "url": "string"
}
], - "data": { },
- "eventType": "string",
- "eventTime": 0,
- "processedTime": 0,
- "tags": [
- {
- "key": "string",
- "value": "string"
}
], - "causingEvents": [
- {
- "title": "string",
- "eventId": "string",
- "eventTimestamp": 0,
- "eventType": "string"
}
]
}Get a list of event types for a certain STQL query.
| startTimestampMs required | integer <instant> |
| endTimestampMs required | integer <instant> |
| topologyQuery required | string |
| rootCauseMode | string (RootCauseMode) Enum: "no-cause" "cause-only" "full-cause-tree" |
| playHeadTimestampMs | integer <instant> |
| eventTypes | Array of strings |
| limit required | integer |
| eventCategories | Array of strings (EventCategory) Items Enum: "Changes" "Alerts" "Anomalies" "Activities" "Others" The category labels of an event. |
| eventSources | Array of strings |
| eventTags | Array of strings |
| match | string Default: "" |
{- "items": [
- "string"
], - "total": 0
}Get a list of event sources.
| startTimestampMs required | integer <instant> |
| endTimestampMs required | integer <instant> |
| topologyQuery required | string |
| rootCauseMode | string (RootCauseMode) Enum: "no-cause" "cause-only" "full-cause-tree" |
| playHeadTimestampMs | integer <instant> |
| eventTypes | Array of strings |
| limit required | integer |
| eventCategories | Array of strings (EventCategory) Items Enum: "Changes" "Alerts" "Anomalies" "Activities" "Others" The category labels of an event. |
| eventSources | Array of strings |
| eventTags | Array of strings |
| match | string Default: "" |
{- "items": [
- "string"
], - "total": 0
}Gets a list of tags that exist in a list of events.
| startTimestampMs required | integer <instant> |
| endTimestampMs required | integer <instant> |
| topologyQuery required | string |
| rootCauseMode | string (RootCauseMode) Enum: "no-cause" "cause-only" "full-cause-tree" |
| playHeadTimestampMs | integer <instant> |
| eventTypes | Array of strings |
| limit required | integer |
| eventCategories | Array of strings (EventCategory) Items Enum: "Changes" "Alerts" "Anomalies" "Activities" "Others" The category labels of an event. |
| eventSources | Array of strings |
| eventTags | Array of strings |
| match | string Default: "" |
{- "items": [
- "string"
], - "total": 0
}Status overview of a single health synchronization stream
| healthStreamUrn required | string Urn of the health stream. |
{- "partition": 0,
- "consistencyModel": "string",
- "recoverMessage": "string",
- "globalErrors": [
- {
- "errorCode": "string",
- "level": "string",
- "error": "string",
- "count": 0
}
], - "aggregateMetrics": {
- "bucketSizeSeconds": 0,
- "latencySeconds": [
- {
- "value": 0
}
], - "messagePerSecond": [
- {
- "value": 0
}
], - "createsPerSecond": [
- {
- "value": 0
}
], - "updatesPerSecond": [
- {
- "value": 0
}
], - "deletesPerSecond": [
- {
- "value": 0
}
]
}, - "mainStreamStatus": {
- "errors": [
- {
- "errorCode": "string",
- "level": "string",
- "error": "string",
- "count": 0
}
], - "metrics": {
- "bucketSizeSeconds": 0,
- "latencySeconds": [
- {
- "value": 0
}
], - "messagePerSecond": [
- {
- "value": 0
}
], - "createsPerSecond": [
- {
- "value": 0
}
], - "updatesPerSecond": [
- {
- "value": 0
}
], - "deletesPerSecond": [
- {
- "value": 0
}
]
}, - "subStreamState": {
- "_type": "HealthSubStreamSnapshot",
- "expiryIntervalMs": 0,
- "repeatIntervalMs": 0
}, - "checkStateCount": 0
}
}Overview of all sub-streams in a certain health stream.
| healthStreamUrn required | string Urn of the health stream. |
{- "subStreams": [
- {
- "subStreamId": "string",
- "subStreamState": {
- "_type": "HealthSubStreamSnapshot",
- "expiryIntervalMs": 0,
- "repeatIntervalMs": 0
}, - "checkStateCount": 0
}
]
}Overview of check-states matched to topology on the main stream.
| healthStreamUrn required | string Urn of the health stream. |
{- "matchedCheckStates": 0,
- "unmatchedCheckStates": [
- {
- "checkStateId": "string",
- "topologyElementIdentifier": "string"
}
], - "multipleMatchesCheckStates": [
- {
- "checkStateId": "string",
- "topologyElementIdentifier": "string",
- "matchCount": 0
}
]
}Status overview of a single health synchronization sub stream
| healthStreamUrn required | string Urn of the health stream. |
| healthSyncSubStreamId required | string Health synchronization sub stream id. |
{- "errors": [
- {
- "errorCode": "string",
- "level": "string",
- "error": "string",
- "count": 0
}
], - "metrics": {
- "bucketSizeSeconds": 0,
- "latencySeconds": [
- {
- "value": 0
}
], - "messagePerSecond": [
- {
- "value": 0
}
], - "createsPerSecond": [
- {
- "value": 0
}
], - "updatesPerSecond": [
- {
- "value": 0
}
], - "deletesPerSecond": [
- {
- "value": 0
}
]
}, - "subStreamState": {
- "_type": "HealthSubStreamSnapshot",
- "expiryIntervalMs": 0,
- "repeatIntervalMs": 0
}, - "checkStateCount": 0
}Overview of check-states matched to topology on the main stream.
| healthStreamUrn required | string Urn of the health stream. |
| healthSyncSubStreamId required | string Health synchronization sub stream id. |
{- "matchedCheckStates": 0,
- "unmatchedCheckStates": [
- {
- "checkStateId": "string",
- "topologyElementIdentifier": "string"
}
], - "multipleMatchesCheckStates": [
- {
- "checkStateId": "string",
- "topologyElementIdentifier": "string",
- "matchCount": 0
}
]
}Overview of the topology synchronization streams
{- "streams": [
- {
- "syncIdentifier": "string",
- "nodeId": 0,
- "name": "string",
- "createdRelations": 0,
- "deletedRelations": 0,
- "createdComponents": 0,
- "deletedComponents": 0,
- "errors": 0,
- "status": "Running"
}
]
}Overview of a specific Topology Stream, queried by node id or sync identifier
| identifier required | string |
| identifierType required | string (IdentifierType) Enum: "NodeId" "Identifier" |
{- "item": {
- "syncIdentifier": "string",
- "nodeId": 0,
- "name": "string",
- "createdRelations": 0,
- "deletedRelations": 0,
- "createdComponents": 0,
- "deletedComponents": 0,
- "errors": 0,
- "status": "Running"
}, - "errorDetails": [
- {
- "level": "Warn",
- "message": "string",
- "externalId": "string"
}
]
}Clear all the errors related to a specific sync
| identifier required | string |
| identifierType required | string (IdentifierType) Enum: "NodeId" "Identifier" |
{- "message": "string"
}Execute a StackState Scripting Language or Template Language script with arbitrary arguments.
| timeoutMs | integer |
| script required | string |
| argumentsScript | string |
{- "timeoutMs": 0,
- "script": "string",
- "argumentsScript": "string"
}{- "result": { }
}Get information of the StackState information, such as version, deployment mode, etc.
{- "version": {
- "major": 0,
- "minor": 0,
- "patch": 0,
- "diff": "string",
- "commit": "string",
- "isDev": true
}, - "deploymentMode": "Saas"
}[- {
- "id": 0,
- "lastUpdateTimestamp": 0,
- "name": "string",
- "description": "string",
- "expiration": 0,
- "roles": [
- "string"
]
}
]Create new service token.
| name required | string |
| expiryDate | integer <int64> |
| roles required | Array of strings |
{- "name": "string",
- "expiryDate": 0,
- "roles": [
- "string"
]
}{- "name": "string",
- "token": "string",
- "expiration": 0
}Delete service token.
| serviceTokenId required | integer <int64> (ServiceTokenId) The identifier of a service token |
{- "_type": "ErrorsResponse",
- "trackingKey": "string",
- "serverTimestamp": 0,
- "errors": [
- {
- "_type": "InternalError",
- "message": "string",
- "errorCode": 0
}
]
}{- "_type": "ExpiredSubscription",
- "subscription": {
- "tenant": "string",
- "expiryTimestampMs": 0,
- "plan": "string"
}
}Update the StackState license
The new license
| key required | string |
{- "key": "string"
}{- "_type": "ExpiredSubscription",
- "subscription": {
- "tenant": "string",
- "expiryTimestampMs": 0,
- "plan": "string"
}
}| startTime required | integer <int64> Beginning of timerange of to be exported anomalies. Timestamp in unix millis. |
| endTime | integer <int64> End of timerange of to be exported anomalies. Timestamp in unix millis. |
| history | integer <int64> Amount of historic data, leading up to the anomaly, to be exported. Duration in unix millis. |
| feedback required | string Value: "present" Type of filtering to do on feedback. Filtering on feedback is currently mandatory, with only the 'present' value being supporeted (feedback is available). |
[- {
- "anomaly": {
- "id": "string",
- "name": "string",
- "reference": {
- "_type": "MetricStreamReference",
- "streamNodeId": 0,
- "elementIdentifiers": [
- "string"
]
}, - "identifiers": [
- "string"
], - "description": "string",
- "annotationType": "MetricStreamAnomaly",
- "eventTimeInterval": {
- "start": 0,
- "end": 0
}, - "processedTime": 0,
- "createdTime": 0,
- "tags": [
- "string"
], - "data": {
- "_type": "MetricStreamAnomalyData",
- "severity": "LOW",
- "severityScore": 0,
- "checkedInterval": {
- "start": 0,
- "end": 0
}, - "explanation": "string",
- "modelInfo": { },
- "elementName": "string",
- "streamName": "string",
- "query": {
- "dataSourceId": 0,
- "conditions": [
- {
- "key": "string",
- "value": "string"
}
], - "aggregationMethod": "MEAN",
- "bucketSize": 0,
- "metricField": "string",
- "queryHash": "string"
}
}
}, - "data": [
- {
- "ts": 0,
- "v": 0
}
], - "feedback": {
- "_type": "FeedbackData",
- "subject": "string",
- "thumbsup": [
- "string"
], - "thumbsdown": [
- "string"
], - "comments": [
- {
- "author": "string",
- "text": "string",
- "timestamp": 0
}
], - "query": {
- "dataSourceId": 0,
- "conditions": [
- {
- "key": "string",
- "value": "string"
}
], - "aggregationMethod": "MEAN",
- "bucketSize": 0,
- "metricField": "string",
- "queryHash": "string"
}
}
}
]List all streams from the component
| componentId required | integer <int64> (ComponentId) The Identifier of a component |
| queryTime required | integer <instant> (QueryTime) A Data point for a query either point from timeline or 'now' if livemode |
[- {
- "_type": "MetricTelemetryStreamDefinition",
- "bindQuery": "string",
- "dataSourceId": 0,
- "description": "string",
- "id": 0,
- "identifier": "string",
- "labels": [
- "string"
], - "lastUpdateTimestamp": 0,
- "metricValuation": "higher-is-better",
- "name": "string",
- "ownedBy": "string",
- "priority": "None",
- "telemetryQuery": {
- "_type": "MetricTelemetryQuery",
- "aggregation": "MEAN",
- "baseline": {
- "_type": "Baseline",
- "arguments": [
- {
- "_type": "ArgumentAnomalyDirectionVal",
- "id": 0,
- "lastUpdateTimestamp": 0,
- "parameter": 0,
- "value": "RISE"
}
], - "description": "string",
- "function": 0,
- "id": 0,
- "lastUpdateTimestamp": 0,
- "name": "string"
}, - "conditions": [
- {
- "key": "string",
- "value": "string"
}
], - "groupBy": [
- "string"
], - "id": 0,
- "lastUpdateTimestamp": 0,
- "metricField": "string"
}, - "topologyMapping": [
- {
- "_type": "FieldMapping",
- "eventField": "string",
- "tagKey": "string"
}
]
}
]Adds a DataStream/TelemetryStreamDefinition on the component
| componentId required | integer <int64> (ComponentId) The Identifier of a component |
Single telemetry stream definition
| _type required | string EventStream MetricStream EventStream |
| dataSource required | integer <int64> |
| dataType required | string (DataType) Enum: "METRICS" "TOPOLOGY_ELEMENTS" "EVENTS" |
| description | string |
| id | integer <int64> |
| lastUpdateTimestamp | integer <int64> |
| name required | string |
| priority | string (StreamPriority) Enum: "HIGH" "MEDIUM" "LOW" |
required | object (EventTelemetryQuery) |
| syncCreated required | boolean |
{- "_type": "EventStream",
- "dataSource": 0,
- "dataType": "METRICS",
- "description": "string",
- "id": 0,
- "lastUpdateTimestamp": 0,
- "name": "string",
- "priority": "HIGH",
- "query": {
- "_type": "EventTelemetryQuery",
- "conditions": [
- {
- "key": "string",
- "value": "string"
}
], - "id": 0,
- "lastUpdateTimestamp": 0
}, - "syncCreated": true
}{- "_type": "MetricTelemetryStreamDefinition",
- "bindQuery": "string",
- "dataSourceId": 0,
- "description": "string",
- "id": 0,
- "identifier": "string",
- "labels": [
- "string"
], - "lastUpdateTimestamp": 0,
- "metricValuation": "higher-is-better",
- "name": "string",
- "ownedBy": "string",
- "priority": "None",
- "telemetryQuery": {
- "_type": "MetricTelemetryQuery",
- "aggregation": "MEAN",
- "baseline": {
- "_type": "Baseline",
- "arguments": [
- {
- "_type": "ArgumentAnomalyDirectionVal",
- "id": 0,
- "lastUpdateTimestamp": 0,
- "parameter": 0,
- "value": "RISE"
}
], - "description": "string",
- "function": 0,
- "id": 0,
- "lastUpdateTimestamp": 0,
- "name": "string"
}, - "conditions": [
- {
- "key": "string",
- "value": "string"
}
], - "groupBy": [
- "string"
], - "id": 0,
- "lastUpdateTimestamp": 0,
- "metricField": "string"
}, - "topologyMapping": [
- {
- "_type": "FieldMapping",
- "eventField": "string",
- "tagKey": "string"
}
]
}Get a Specific stream from the component
| componentId required | integer <int64> (ComponentId) The Identifier of a component |
| streamId required | integer <int64> (StreamId) The Identifier of a stream |
| queryTime required | integer <instant> (QueryTime) A Data point for a query either point from timeline or 'now' if livemode |
{- "_type": "MetricTelemetryStreamDefinition",
- "bindQuery": "string",
- "dataSourceId": 0,
- "description": "string",
- "id": 0,
- "identifier": "string",
- "labels": [
- "string"
], - "lastUpdateTimestamp": 0,
- "metricValuation": "higher-is-better",
- "name": "string",
- "ownedBy": "string",
- "priority": "None",
- "telemetryQuery": {
- "_type": "MetricTelemetryQuery",
- "aggregation": "MEAN",
- "baseline": {
- "_type": "Baseline",
- "arguments": [
- {
- "_type": "ArgumentAnomalyDirectionVal",
- "id": 0,
- "lastUpdateTimestamp": 0,
- "parameter": 0,
- "value": "RISE"
}
], - "description": "string",
- "function": 0,
- "id": 0,
- "lastUpdateTimestamp": 0,
- "name": "string"
}, - "conditions": [
- {
- "key": "string",
- "value": "string"
}
], - "groupBy": [
- "string"
], - "id": 0,
- "lastUpdateTimestamp": 0,
- "metricField": "string"
}, - "topologyMapping": [
- {
- "_type": "FieldMapping",
- "eventField": "string",
- "tagKey": "string"
}
]
}Update a Specific stream from the component
| componentId required | integer <int64> (ComponentId) The Identifier of a component |
| streamId required | integer <int64> (StreamId) The Identifier of a stream |
Single telemetry stream definition
| _type required | string EventStream MetricStream EventStream |
| dataSource required | integer <int64> |
| dataType required | string (DataType) Enum: "METRICS" "TOPOLOGY_ELEMENTS" "EVENTS" |
| description | string |
| id | integer <int64> |
| lastUpdateTimestamp | integer <int64> |
| name required | string |
| priority | string (StreamPriority) Enum: "HIGH" "MEDIUM" "LOW" |
required | object (EventTelemetryQuery) |
| syncCreated required | boolean |
{- "_type": "EventStream",
- "dataSource": 0,
- "dataType": "METRICS",
- "description": "string",
- "id": 0,
- "lastUpdateTimestamp": 0,
- "name": "string",
- "priority": "HIGH",
- "query": {
- "_type": "EventTelemetryQuery",
- "conditions": [
- {
- "key": "string",
- "value": "string"
}
], - "id": 0,
- "lastUpdateTimestamp": 0
}, - "syncCreated": true
}{- "_type": "MetricTelemetryStreamDefinition",
- "bindQuery": "string",
- "dataSourceId": 0,
- "description": "string",
- "id": 0,
- "identifier": "string",
- "labels": [
- "string"
], - "lastUpdateTimestamp": 0,
- "metricValuation": "higher-is-better",
- "name": "string",
- "ownedBy": "string",
- "priority": "None",
- "telemetryQuery": {
- "_type": "MetricTelemetryQuery",
- "aggregation": "MEAN",
- "baseline": {
- "_type": "Baseline",
- "arguments": [
- {
- "_type": "ArgumentAnomalyDirectionVal",
- "id": 0,
- "lastUpdateTimestamp": 0,
- "parameter": 0,
- "value": "RISE"
}
], - "description": "string",
- "function": 0,
- "id": 0,
- "lastUpdateTimestamp": 0,
- "name": "string"
}, - "conditions": [
- {
- "key": "string",
- "value": "string"
}
], - "groupBy": [
- "string"
], - "id": 0,
- "lastUpdateTimestamp": 0,
- "metricField": "string"
}, - "topologyMapping": [
- {
- "_type": "FieldMapping",
- "eventField": "string",
- "tagKey": "string"
}
]
}Delete a Specific stream from the component
| componentId required | integer <int64> (ComponentId) The Identifier of a component |
| streamId required | integer <int64> (StreamId) The Identifier of a stream |
Gets a top 3 metrics for a datapoint, always takes the last 15 minutes before provided timepoint
| componentId required | integer <int64> (ComponentId) The Identifier of a component |
| queryTime required | integer <instant> (QueryTime) A Data point for a query either point from timeline or 'now' if livemode |
| streamIds required | Array of integers <int64> (StreamIds) Ids of streams to query for |
List all checks from the component
| componentId required | integer <int64> (ComponentId) The Identifier of a component |
| queryTime required | integer <instant> (QueryTime) A Data point for a query either point from timeline or 'now' if livemode |
[- {
- "_type": "Check",
- "arguments": [
- {
- "_type": "ArgumentAnomalyDirectionVal",
- "id": 0,
- "lastUpdateTimestamp": 0,
- "parameter": 0,
- "value": "RISE"
}
], - "description": "string",
- "function": 0,
- "id": 0,
- "lastUpdateTimestamp": 0,
- "name": "string",
- "remediationHint": "string",
- "state": {
- "_type": "CheckState",
- "id": 0,
- "lastUpdateTimestamp": 0,
- "state": "UNKNOWN",
- "lastHealthStateChangeTimestamp": 0,
- "activeErrors": [
- {
- "_type": "CheckError",
- "id": 0,
- "lastUpdateTimeStamp": 0,
- "message": "string",
- "detailedMessage": "string",
- "state": "UNKNOWN"
}
], - "source": 0,
- "stateAcknowledgement": {
- "_type": "CheckStateAcknowledgement",
- "id": 0,
- "lastUpdateTimeStamp": 0,
- "acknowledgedTimestamp": 0,
- "message": "string"
}, - "detailedMessage": "string",
- "shortMessage": "string",
- "causingEvents": [
- {
- "title": "string",
- "eventId": "string",
- "eventTimestamp": 0,
- "eventType": "string"
}
], - "data": { }
}, - "syncCreated": true
}
]Adds a Check on the component
| componentId required | integer <int64> (ComponentId) The Identifier of a component |
Single Check
Get a Specific check from the component
| componentId required | integer <int64> (ComponentId) The Identifier of a component |
| checkId required | integer <int64> (CheckId) The Identifier of a Check |
| queryTime required | integer <instant> (QueryTime) A Data point for a query either point from timeline or 'now' if livemode |
Update a Specific check from the component
| componentId required | integer <int64> (ComponentId) The Identifier of a component |
| checkId required | integer <int64> (CheckId) The Identifier of a Check |
Single Check
Delete a Specific check from the component
| componentId required | integer <int64> (ComponentId) The Identifier of a component |
| checkId required | integer <int64> (CheckId) The Identifier of a Check |
List all streams from the relation
| relationId required | integer <int64> (RelationId) The Identifier of a relation |
| queryTime required | integer <instant> (QueryTime) A Data point for a query either point from timeline or 'now' if livemode |
[- {
- "_type": "MetricTelemetryStreamDefinition",
- "bindQuery": "string",
- "dataSourceId": 0,
- "description": "string",
- "id": 0,
- "identifier": "string",
- "labels": [
- "string"
], - "lastUpdateTimestamp": 0,
- "metricValuation": "higher-is-better",
- "name": "string",
- "ownedBy": "string",
- "priority": "None",
- "telemetryQuery": {
- "_type": "MetricTelemetryQuery",
- "aggregation": "MEAN",
- "baseline": {
- "_type": "Baseline",
- "arguments": [
- {
- "_type": "ArgumentAnomalyDirectionVal",
- "id": 0,
- "lastUpdateTimestamp": 0,
- "parameter": 0,
- "value": "RISE"
}
], - "description": "string",
- "function": 0,
- "id": 0,
- "lastUpdateTimestamp": 0,
- "name": "string"
}, - "conditions": [
- {
- "key": "string",
- "value": "string"
}
], - "groupBy": [
- "string"
], - "id": 0,
- "lastUpdateTimestamp": 0,
- "metricField": "string"
}, - "topologyMapping": [
- {
- "_type": "FieldMapping",
- "eventField": "string",
- "tagKey": "string"
}
]
}
]Adds a DataStream/TelemetryStreamDefinition on the relation
| relationId required | integer <int64> (RelationId) The Identifier of a relation |
Single telemetry stream definition
| _type required | string EventStream MetricStream EventStream |
| dataSource required | integer <int64> |
| dataType required | string (DataType) Enum: "METRICS" "TOPOLOGY_ELEMENTS" "EVENTS" |
| description | string |
| id | integer <int64> |
| lastUpdateTimestamp | integer <int64> |
| name required | string |
| priority | string (StreamPriority) Enum: "HIGH" "MEDIUM" "LOW" |
required | object (EventTelemetryQuery) |
| syncCreated required | boolean |
{- "_type": "EventStream",
- "dataSource": 0,
- "dataType": "METRICS",
- "description": "string",
- "id": 0,
- "lastUpdateTimestamp": 0,
- "name": "string",
- "priority": "HIGH",
- "query": {
- "_type": "EventTelemetryQuery",
- "conditions": [
- {
- "key": "string",
- "value": "string"
}
], - "id": 0,
- "lastUpdateTimestamp": 0
}, - "syncCreated": true
}{- "_type": "MetricTelemetryStreamDefinition",
- "bindQuery": "string",
- "dataSourceId": 0,
- "description": "string",
- "id": 0,
- "identifier": "string",
- "labels": [
- "string"
], - "lastUpdateTimestamp": 0,
- "metricValuation": "higher-is-better",
- "name": "string",
- "ownedBy": "string",
- "priority": "None",
- "telemetryQuery": {
- "_type": "MetricTelemetryQuery",
- "aggregation": "MEAN",
- "baseline": {
- "_type": "Baseline",
- "arguments": [
- {
- "_type": "ArgumentAnomalyDirectionVal",
- "id": 0,
- "lastUpdateTimestamp": 0,
- "parameter": 0,
- "value": "RISE"
}
], - "description": "string",
- "function": 0,
- "id": 0,
- "lastUpdateTimestamp": 0,
- "name": "string"
}, - "conditions": [
- {
- "key": "string",
- "value": "string"
}
], - "groupBy": [
- "string"
], - "id": 0,
- "lastUpdateTimestamp": 0,
- "metricField": "string"
}, - "topologyMapping": [
- {
- "_type": "FieldMapping",
- "eventField": "string",
- "tagKey": "string"
}
]
}Get a Specific stream from the relation
| relationId required | integer <int64> (RelationId) The Identifier of a relation |
| streamId required | integer <int64> (StreamId) The Identifier of a stream |
| queryTime required | integer <instant> (QueryTime) A Data point for a query either point from timeline or 'now' if livemode |
{- "_type": "MetricTelemetryStreamDefinition",
- "bindQuery": "string",
- "dataSourceId": 0,
- "description": "string",
- "id": 0,
- "identifier": "string",
- "labels": [
- "string"
], - "lastUpdateTimestamp": 0,
- "metricValuation": "higher-is-better",
- "name": "string",
- "ownedBy": "string",
- "priority": "None",
- "telemetryQuery": {
- "_type": "MetricTelemetryQuery",
- "aggregation": "MEAN",
- "baseline": {
- "_type": "Baseline",
- "arguments": [
- {
- "_type": "ArgumentAnomalyDirectionVal",
- "id": 0,
- "lastUpdateTimestamp": 0,
- "parameter": 0,
- "value": "RISE"
}
], - "description": "string",
- "function": 0,
- "id": 0,
- "lastUpdateTimestamp": 0,
- "name": "string"
}, - "conditions": [
- {
- "key": "string",
- "value": "string"
}
], - "groupBy": [
- "string"
], - "id": 0,
- "lastUpdateTimestamp": 0,
- "metricField": "string"
}, - "topologyMapping": [
- {
- "_type": "FieldMapping",
- "eventField": "string",
- "tagKey": "string"
}
]
}Update a Specific stream from the relation
| relationId required | integer <int64> (RelationId) The Identifier of a relation |
| streamId required | integer <int64> (StreamId) The Identifier of a stream |
Single telemetry stream definition
| _type required | string EventStream MetricStream EventStream |
| dataSource required | integer <int64> |
| dataType required | string (DataType) Enum: "METRICS" "TOPOLOGY_ELEMENTS" "EVENTS" |
| description | string |
| id | integer <int64> |
| lastUpdateTimestamp | integer <int64> |
| name required | string |
| priority | string (StreamPriority) Enum: "HIGH" "MEDIUM" "LOW" |
required | object (EventTelemetryQuery) |
| syncCreated required | boolean |
{- "_type": "EventStream",
- "dataSource": 0,
- "dataType": "METRICS",
- "description": "string",
- "id": 0,
- "lastUpdateTimestamp": 0,
- "name": "string",
- "priority": "HIGH",
- "query": {
- "_type": "EventTelemetryQuery",
- "conditions": [
- {
- "key": "string",
- "value": "string"
}
], - "id": 0,
- "lastUpdateTimestamp": 0
}, - "syncCreated": true
}{- "_type": "MetricTelemetryStreamDefinition",
- "bindQuery": "string",
- "dataSourceId": 0,
- "description": "string",
- "id": 0,
- "identifier": "string",
- "labels": [
- "string"
], - "lastUpdateTimestamp": 0,
- "metricValuation": "higher-is-better",
- "name": "string",
- "ownedBy": "string",
- "priority": "None",
- "telemetryQuery": {
- "_type": "MetricTelemetryQuery",
- "aggregation": "MEAN",
- "baseline": {
- "_type": "Baseline",
- "arguments": [
- {
- "_type": "ArgumentAnomalyDirectionVal",
- "id": 0,
- "lastUpdateTimestamp": 0,
- "parameter": 0,
- "value": "RISE"
}
], - "description": "string",
- "function": 0,
- "id": 0,
- "lastUpdateTimestamp": 0,
- "name": "string"
}, - "conditions": [
- {
- "key": "string",
- "value": "string"
}
], - "groupBy": [
- "string"
], - "id": 0,
- "lastUpdateTimestamp": 0,
- "metricField": "string"
}, - "topologyMapping": [
- {
- "_type": "FieldMapping",
- "eventField": "string",
- "tagKey": "string"
}
]
}Delete a Specific stream from the relation
| relationId required | integer <int64> (RelationId) The Identifier of a relation |
| streamId required | integer <int64> (StreamId) The Identifier of a stream |
List all checks from the relation
| relationId required | integer <int64> (RelationId) The Identifier of a relation |
| queryTime required | integer <instant> (QueryTime) A Data point for a query either point from timeline or 'now' if livemode |
[- {
- "_type": "Check",
- "arguments": [
- {
- "_type": "ArgumentAnomalyDirectionVal",
- "id": 0,
- "lastUpdateTimestamp": 0,
- "parameter": 0,
- "value": "RISE"
}
], - "description": "string",
- "function": 0,
- "id": 0,
- "lastUpdateTimestamp": 0,
- "name": "string",
- "remediationHint": "string",
- "state": {
- "_type": "CheckState",
- "id": 0,
- "lastUpdateTimestamp": 0,
- "state": "UNKNOWN",
- "lastHealthStateChangeTimestamp": 0,
- "activeErrors": [
- {
- "_type": "CheckError",
- "id": 0,
- "lastUpdateTimeStamp": 0,
- "message": "string",
- "detailedMessage": "string",
- "state": "UNKNOWN"
}
], - "source": 0,
- "stateAcknowledgement": {
- "_type": "CheckStateAcknowledgement",
- "id": 0,
- "lastUpdateTimeStamp": 0,
- "acknowledgedTimestamp": 0,
- "message": "string"
}, - "detailedMessage": "string",
- "shortMessage": "string",
- "causingEvents": [
- {
- "title": "string",
- "eventId": "string",
- "eventTimestamp": 0,
- "eventType": "string"
}
], - "data": { }
}, - "syncCreated": true
}
]Adds a Check on the relation
| relationId required | integer <int64> (RelationId) The Identifier of a relation |
Single Check
Get a Specific check from the relation
| relationId required | integer <int64> (RelationId) The Identifier of a relation |
| checkId required | integer <int64> (CheckId) The Identifier of a Check |
| queryTime required | integer <instant> (QueryTime) A Data point for a query either point from timeline or 'now' if livemode |
Update a Specific check from the relation
| relationId required | integer <int64> (RelationId) The Identifier of a relation |
| checkId required | integer <int64> (CheckId) The Identifier of a Check |
Single Check
Delete a Specific check from the relation
| relationId required | integer <int64> (RelationId) The Identifier of a relation |
| checkId required | integer <int64> (CheckId) The Identifier of a Check |
Resulting events are ordered by likeness to be an actual problem cause
| problemId required | integer <int64> (ProblemId) The problem id number. |
| topologyTime | integer <instant> (Instant) A timestamp at which resources will be queried. If not given the resources are quired for current time. |
| limit | integer <int32> (Limit) >= 1 Maximum number of resources to be returned in result. |
{- "_type": "CausingEventsResult",
- "items": [
- {
- "identifier": "string",
- "sourceIdentifier": "string",
- "elementIdentifiers": [
- "string"
], - "elements": [
- {
- "_type": "EventComponent",
- "id": 0,
- "componentTypeId": 0,
- "name": "string"
}
], - "source": "string",
- "category": "Changes",
- "description": "string",
- "name": "string",
- "sourceLinks": [
- {
- "title": "string",
- "url": "string"
}
], - "data": { },
- "eventType": "string",
- "eventTime": 0,
- "processedTime": 0,
- "tags": [
- {
- "key": "string",
- "value": "string"
}
], - "causingEvents": [
- {
- "title": "string",
- "eventId": "string",
- "eventTimestamp": 0,
- "eventType": "string"
}
]
}
]
}The endpoint evaluates an instant query at a single point in time
| query required | string (PromQuery) Prometheus expression query string |
| time | string (PromTime) (^((?:(\d{4}-\d{2}-\d{2})T(\d{2}:\d{2}:\d{2}(... Example: time=2015-07-01T20:10:51.781Z or 1660817432 Evaluation timestamp in rfc3339 format or unix format |
| timeout | string (PromTimeout) ^((([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]... Evaluation timeout |
{- "status": "string",
- "data": {
- "resultType": "matrix",
- "result": [
- {
- "metric": {
- "property1": "string",
- "property2": "string"
}, - "values": [
- [
- 0,
- 0
]
]
}
]
}, - "errorType": "string",
- "error": "string",
- "warnings": [
- "string"
]
}The endpoint evaluates an expression query over a range of time
| query required | string (PromQuery) Prometheus expression query string |
| start required | string (PromTime) (^((?:(\d{4}-\d{2}-\d{2})T(\d{2}:\d{2}:\d{2}(... Example: start=2015-07-01T20:10:51.781Z or 1660817432 Start timestamp in rfc3339 format or unix format |
| end required | string (PromTime) (^((?:(\d{4}-\d{2}-\d{2})T(\d{2}:\d{2}:\d{2}(... Example: end=2015-07-01T20:10:51.781Z or 1660817432 End timestamp in rfc3339 format or unix format |
| step required | string (PromStep) (^((([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9... Example: step=5m or 300 Query resolution step width in duration format or float number of seconds. |
| timeout | string (PromTimeout) ^((([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]... Evaluation timeout |
{- "status": "string",
- "data": {
- "resultType": "matrix",
- "result": [
- {
- "metric": {
- "property1": "string",
- "property2": "string"
}, - "values": [
- [
- 0,
- 0
]
]
}
]
}, - "errorType": "string",
- "error": "string",
- "warnings": [
- "string"
]
}Experimental: The returns a list of exemplars for a valid PromQL query for a specific time range
| query required | string (PromQuery) Prometheus expression query string |
| start required | string (PromTime) (^((?:(\d{4}-\d{2}-\d{2})T(\d{2}:\d{2}:\d{2}(... Example: start=2015-07-01T20:10:51.781Z or 1660817432 Start timestamp in rfc3339 format or unix format |
| end required | string (PromTime) (^((?:(\d{4}-\d{2}-\d{2})T(\d{2}:\d{2}:\d{2}(... Example: end=2015-07-01T20:10:51.781Z or 1660817432 End timestamp in rfc3339 format or unix format |
{- "status": "string",
- "data": [
- {
- "seriesLabels": {
- "property1": "string",
- "property2": "string"
}, - "exemplars": [
- {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "value": "string",
- "timestamp": 0
}
]
}
], - "errorType": "string",
- "error": "string",
- "warnings": [
- "string"
]
}