This API is deprecated. Use the Problems API v2 instead.
Lists the problems (and their details) observed by Dynatrace during a relative period of time.
A problem is included in the response if either the start or end timestamp of the problem is within the defined timeframe.
The output is limited to 5,000 problems. You can narrow it down by specifying filtering criteria—see the Parameters section.
The request produces an application/json payload.
| GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v1/problem/feed |
| GET | Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v1/problem/feed |
To execute this request, you need an access token with DataExport scope.
To learn how to obtain and use it, see Tokens and authentication.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| relativeTime | string | The relative timeframe of the inquiry, back from the current time. The element can hold these values
| query | Optional |
| startTimestamp | integer | The start timestamp of the requested timeframe, in UTC milliseconds. | query | Optional |
| endTimestamp | integer | The end timestamp of the requested timeframe, in UTC milliseconds. If The timeframe must not exceed 31 days. | query | Optional |
| status | string | Filters the result problems by the status. The element can hold these values
| query | Optional |
| impactLevel | string | Filters the result problems by the impact level. The element can hold these values
| query | Optional |
| severityLevel | string | Filters the result problems by the severity level. The element can hold these values
| query | Optional |
| tag | string[] | Filters the result problems by the tags of affected entities.You can specify several tags in the following format: In case of key-value tags, such as imported AWS or CloudFoundry tags use following format: | query | Optional |
| expandDetails | boolean | Includes( Defaults to | query | Optional |
| Code | Type | Description |
|---|---|---|
| 200 | Problem | Success |
| 4XX | Error | Client side error. |
| 5XX | Error | Server side error. |
ProblemFeedResultWrapper object| Element | Type | Description |
|---|---|---|
| result | Problem | Details on open problems in your environment. |
ProblemFeedQueryResult objectDetails on open problems in your environment.
| Element | Type | Description |
|---|---|---|
| monitored | object | The number of monitored entities per impact level. |
| problems | Problem[] | The list of problems and their details. Contains all problems within specified timeframe, open and closed. |
Problem objectThe properties of a problem.
| Element | Type | Description |
|---|---|---|
| affectedCounts | object | The number of affected entities per impact level. |
| commentCount | integer | The number of comments to the problem. |
| displayName | string | The name of the problem, displayed in the UI. |
| endTime | integer | The end timestamp of the problem, in UTC milliseconds. Has the value |
| hasRootCause | boolean | Indicates whether Dynatrace has found at least one possible root cause for the problem. |
| id | string | The ID of the problem. |
| impactLevel | string | The impact level of the problem. It shows what is affected by the problem: infrastructure, service, or application. The element can hold these values
|
| rankedEvents | Event[] | The list of events related to the problem. |
| rankedImpacts | Event | Provides impact information of the events in an aggregated form. For a more detailed impact analysis, see |
| recoveredCounts | object | The number of entities that were affected, but recovered, per impact level. |
| severityLevel | string | The severity of the problem. The element can hold these values
|
| startTime | integer | The start timestamp of the problem, in UTC milliseconds. |
| status | string | The status of the problem. The element can hold these values
|
| tagsOfAffectedEntities | Tag | Tags of entities affected by the problem. |
Event objectThe properties of an event.
| Element | Type | Description |
|---|---|---|
| activeMaintenanceWindows | Entity | - |
| affectedPrivateSyntheticLocations | string[] | - |
| affectedRequestsPerMinute | number | - |
| affectedSyntheticActions | string[] | If the event type is one of the synthetic event types then we may have information on which synthetic actions are affected by the event. The names of those are returned in this field. |
| affectedSyntheticLocations | string[] | - |
| affectedUserActionsPerMinute | number | - |
| annotationDescription | string | - |
| annotationType | string | - |
| artifact | string | - |
| browser | string | -The element can hold these values
|
| changed | string | - |
| ciBackLink | string | - |
| correlationId | string | - |
| cpuLimitInMHz | integer | - |
| cpuLoad | number | - |
| customProperties | object | - |
| deploymentName | string | - |
| deploymentParamAdded | string | - |
| deploymentParamRemoved | string | - |
| deploymentProject | string | - |
| deploymentVersion | string | - |
| effectiveEntity | string | - |
| endTime | integer | The timestamp of the event closure, in UTC milliseconds. Has the |
| entityId | string | The ID of the affected Dynatrace entity. |
| entityName | string | The name of the affected Dynatrace entity. |
| eventType | string | The type of the event. The element can hold these values
|
| geolocation | string | - |
| impactLevel | string | The impact level of the event. It shows what is affected by the problem: infrastructure, service, or application. The element can hold these values
|
| isClusterWide | boolean | For events with event type |
| isRootCause | boolean | Indicates if the event is the root cause of a problem. |
| metadata | object | The metadata of the event. |
| minimumProcessGroupInstanceCountThreshold | integer | - |
| mobileAppVersion | string | - |
| operatingSystem | string | - |
| original | string | - |
| percentile | string | -The element can hold these values
|
| referenceResponseTime50thPercentile | number | - |
| referenceResponseTime90thPercentile | number | - |
| remediationAction | string | - |
| resourceId | string | The id of the resource the event occurred on. |
| resourceName | string | The name of the resource the event occurred on. |
| service | string | - |
| serviceMethod | string | - |
| serviceMethodGroup | string | - |
| severities | Event | Additional data on the event severity. |
| severityLevel | string | The severity of the event. The element can hold these values
|
| source | string | - |
| startTime | integer | The timestamp of the event detection, in UTC milliseconds. |
| status | string | The status of the event. The element can hold these values
|
| syntheticErrorType | string[] | If the event type is one of the synthetic event types then we may have information about the error type. The names of those are returned in this field. |
| userAction | string | - |
| userDefined50thPercentileThreshold | number | - |
| userDefined90thPercentileThreshold | number | - |
| userDefinedFailureRateThreshold | number | - |
EntityShortRepresentation objectThe short representation of a Dynatrace entity.
| Element | Type | Description |
|---|---|---|
| description | string | A short description of the Dynatrace entity. |
| id | string | The ID of the Dynatrace entity. |
| name | string | The name of the Dynatrace entity. |
AnyValue objectA schema representing an arbitrary value type.
EventSeverity objectAdditional data on the event severity.
| Element | Type | Description |
|---|---|---|
| context | string | The metric used in the event severity calculation. The element can hold these values
|
| unit | string | The unit of the severity value. The element can hold these values
|
| value | number | The value of the severity. |
EventRestImpact objectThe information about the event's impact.
| Element | Type | Description |
|---|---|---|
| entityId | string | The ID of the affected Dynatrace entity. |
| entityName | string | The name of the affected Dynatrace entity. |
| eventType | string | The type of the event. The element can hold these values
|
| impactLevel | string | The impact level of the event. It shows what is affected by the problem: infrastructure, service, or application. The element can hold these values
|
| resourceId | string | The id of the resource the event occurred on. |
| resourceName | string | The name of the resource the event occurred on. |
| severityLevel | string | The severity of the event. The element can hold these values
|
TagInfo objectTag of a Dynatrace entity.
| Element | Type | Description |
|---|---|---|
| context | string | The origin of the tag, such as AWS or Cloud Foundry. Custom tags use the The element can hold these values
|
| key | string | The key of the tag. Custom tags have the tag value here. |
| value | string | The value of the tag. Not applicable to custom tags. |
ErrorEnvelope object| Element | Type | Description |
|---|---|---|
| error | Error | - |
Error object| Element | Type | Description |
|---|---|---|
| code | integer | The HTTP status code |
| constraintViolations | Constraint | A list of constraint violations |
| message | string | The error message |
ConstraintViolation objectA list of constraint violations
| Element | Type | Description |
|---|---|---|
| location | string | - |
| message | string | - |
| parameterLocation | string | -The element can hold these values
|
| path | string | - |
{"result": {"monitored": {"APPLICATION": 1,"ENVIRONMENT": 1,"INFRASTRUCTURE": 1,"SERVICE": 1},"problems": [{"affectedCounts": {"APPLICATION": 1,"ENVIRONMENT": 1,"INFRASTRUCTURE": 1,"SERVICE": 1},"commentCount": 1,"displayName": "string","endTime": 1,"hasRootCause": true,"id": "string","impactLevel": "APPLICATION","rankedEvents": [{"activeMaintenanceWindows": [{"description": "Dynatrace entity for the REST API example","id": "6a98d7bc-abb9-44f8-ae6a-73e68e71812a","name": "Dynatrace entity"}],"affectedPrivateSyntheticLocations": ["string"],"affectedRequestsPerMinute": 1,"affectedSyntheticActions": ["string"],"affectedSyntheticLocations": ["string"],"affectedUserActionsPerMinute": 1,"annotationDescription": "string","annotationType": "string","artifact": "string","browser": "APPLICATION","changed": "string","ciBackLink": "string","correlationId": "string","cpuLimitInMHz": 1,"cpuLoad": 1,"customProperties": {},"deploymentName": "string","deploymentParamAdded": "string","deploymentParamRemoved": "string","deploymentProject": "string","deploymentVersion": "string","effectiveEntity": "string","endTime": 1,"entityId": "string","entityName": "string","eventType": "APPLICATION_JS_FRAMEWORK_DETECTED","geolocation": "string","impactLevel": "APPLICATION","isClusterWide": true,"isRootCause": true,"metadata": {"empty": true},"minimumProcessGroupInstanceCountThreshold": 1,"mobileAppVersion": "string","operatingSystem": "string","original": "string","percentile": "50th","referenceResponseTime50thPercentile": 1,"referenceResponseTime90thPercentile": 1,"remediationAction": "string","resourceId": "string","resourceName": "string","service": "string","serviceMethod": "string","serviceMethodGroup": "string","severities": [{"context": "COMMAND_ABORT","unit": "Ampere (A)","value": 1}],"severityLevel": "AVAILABILITY","source": "string","startTime": 1,"status": "CLOSED","syntheticErrorType": ["string"],"userAction": "string","userDefined50thPercentileThreshold": 1,"userDefined90thPercentileThreshold": 1,"userDefinedFailureRateThreshold": 1}],"rankedImpacts": [{"entityId": "string","entityName": "string","eventType": "APPLICATION_JS_FRAMEWORK_DETECTED","impactLevel": "APPLICATION","resourceId": "string","resourceName": "string","severityLevel": "AVAILABILITY"}],"recoveredCounts": {"APPLICATION": 1,"ENVIRONMENT": 1,"INFRASTRUCTURE": 1,"SERVICE": 1},"severityLevel": "AVAILABILITY","startTime": 1,"status": "CLOSED","tagsOfAffectedEntities": [{"context": "AWS","key": "string","value": "string"}]}]}}
{"error": {"code": 1,"constraintViolations": [{"location": "string","message": "string","parameterLocation": "HEADER","path": "string"}],"message": "string"}}
In this example, the request gets the problems that have occurred during the last hour and which are affecting infrastructure.
The API token is passed in the Authorization header.
The result is truncated to the first two entries.
curl -X GET \'https://mySampleEnv.live.dynatrace.com/api/v1/problem/feed?impactLevel=INFRASTRUCTURE&relativeTime=hour' \-H 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'
https://mySampleEnv.live.dynatrace.com/api/v1/problem/feed?impactLevel=INFRASTRUCTURE&relativeTime=hour
{"result": {"problems": [{"id": "-1024851378335816085_1538553240000V2","startTime": 1538553240000,"endTime": 7258118400000,"displayName": "85","impactLevel": "INFRASTRUCTURE","status": "OPEN","severityLevel": "ERROR","commentCount": 0,"tagsOfAffectedEntities": [{"context": "CONTEXTLESS","key": "loadtest"}],"rankedImpacts": [{"entityId": "PROCESS_GROUP_INSTANCE-DE765F657721AF59","entityName": "IIS app pool dotNetBackend_easyTravel_x64","severityLevel": "ERROR","impactLevel": "INFRASTRUCTURE","eventType": "PROCESS_LOG_ERROR"}],"affectedCounts": {"INFRASTRUCTURE": 1,"SERVICE": 0,"APPLICATION": 0,"ENVIRONMENT": 0},"recoveredCounts": {"INFRASTRUCTURE": 0,"SERVICE": 0,"APPLICATION": 0,"ENVIRONMENT": 0},"hasRootCause": true},{"id": "2307087411653364173_1538400720000V2","startTime": 1538400720000,"endTime": 7258118400000,"displayName": "173","impactLevel": "INFRASTRUCTURE","status": "OPEN","severityLevel": "AVAILABILITY","commentCount": 0,"tagsOfAffectedEntities": [{"context": "CONTEXTLESS","key": "loadtest"},{"context": "CONTEXTLESS","key": "ServiceNow"},{"context": "CONTEXTLESS","key": "host tag"}],"rankedImpacts": [{"entityId": "PROCESS_GROUP-09875E82E2FB98FD","entityName": "Windows System","severityLevel": "AVAILABILITY","impactLevel": "INFRASTRUCTURE","eventType": "PROCESS_GROUP_LOW_INSTANCE_COUNT"},{"entityId": "HOST-ED6BC51DEBA8093A","entityName": "ZID","severityLevel": "AVAILABILITY","impactLevel": "INFRASTRUCTURE","eventType": "CONNECTION_LOST"}],"affectedCounts": {"INFRASTRUCTURE": 1,"SERVICE": 0,"APPLICATION": 0,"ENVIRONMENT": 0},"recoveredCounts": {"INFRASTRUCTURE": 1,"SERVICE": 0,"APPLICATION": 0,"ENVIRONMENT": 0},"hasRootCause": true}],"monitored": {"INFRASTRUCTURE": 2474,"SERVICE": 85,"APPLICATION": 503,"ENVIRONMENT": 1}}}
200