Lists the endpoint states of the specified extension.
States are stored in server memory and are cleared with restart.
The request produces an application/json
payload.
GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/config/v1/extensions/{id}/states |
Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/config/v1/extensions/{id}/states |
To execute this request, you need an access token with ReadConfig
scope.
To learn how to obtain and use it, see Tokens and authentication.
The ID of the required extension.
The number of results per result page. Must be between 1 and 500
The cursor for the next page of results.
Extension state to filter.
DISABLED
ERROR_AUTH
ERROR_COMMUNICATION_FAILURE
ERROR_CONFIG
ERROR_TIMEOUT
ERROR_UNKNOWN
INCOMPATIBLE
LIMIT_REACHED
NOTHING_TO_REPORT
OK
STATE_TYPE_UNKNOWN
UNINITIALIZED
UNSUPPORTED
WAITING_FOR_STATE
ExtensionStateList
objectA list of extension states.
The cursor for the next page of results. Has the value of null
on the last page.
Use it in the nextPageKey query parameter to obtain subsequent pages of the result.
The total number of entries in the result.
ExtensionState
objectThe state of the extension.
The ID of the endpoint where the state is detected - Active Gate only.
The ID of the extension.
The ID of the host on which the extension runs.
The ID of the entity on which the extension is active.
The state of the extension.
ERROR_AUTH
ERROR_COMMUNICATION_FAILURE
ERROR_CONFIG
ERROR_TIMEOUT
ERROR_UNKNOWN
INCOMPATIBLE
LIMIT_REACHED
NOTHING_TO_REPORT
OK
STATE_TYPE_UNKNOWN
UNINITIALIZED
UNSUPPORTED
WAITING_FOR_STATE
A short description of the state.
The timestamp when the state was detected, in UTC milliseconds.
The version of the extension (for example 1.0.0
).
{"nextPageToken": "LlUdYmu5S2MfX/ppfCInR9M=","states": [{"endpointId": "null","extensionId": "custom.python.connectionpool","hostId": "HOST-01A7DEFA5340A86D","processId": "PROCESS_GROUP_INSTANCE-2182DF2E20E3E067","state": "OK","stateDescription": "","timestamp": 1578578108213,"version": "1.82"}],"totalResults": 9}