Frequent issue detection API - GET configuration
This API is deprecated. Use the Settings API instead. Look for the Frequent issue detection (builtin:anomaly-detection.frequent-issues
) schema.
Gets the configuration of frequent issue detection. To learn more about it, see Detection of frequent issues.
The request produces an application/json
payload.
GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/config/v1/frequentIssueDetection |
Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/config/v1/frequentIssueDetection |
Authentication
To execute this request, you need an access token with ReadConfig
scope.
To learn how to obtain and use it, see Tokens and authentication.
Parameters
The request doesn't provide any configurable parameters.
Response
Response codes
Response body objects
The FrequentIssueDetectionConfig
object
Parameters of the frequent issue detection. To learn more about it, see Detection of frequent issues in Dynatrace Documentation.
The detection for applications is enabled (true
) or disabled (false
).
The detection for infrastructure is enabled (true
) or disabled (false
).
The detection for services is enabled (true
) or disabled (false
).
The ConfigurationMetadata
object
Metadata useful for debugging
Dynatrace version.
A sorted list of the version numbers of the configuration.
A sorted list of version numbers of the configuration.
Response body JSON model
{"frequentIssueDetectionApplicationEnabled": true,"frequentIssueDetectionInfrastructureEnabled": true,"frequentIssueDetectionServiceEnabled": true}
Example
In this example, the request lists the current configuration of frequent issue detection.
The API token is passed in the Authorization header.
The configuration has the following settings:
Curl
curl -L -X GET 'https://mySampleEnv.live.dynatrace.com/api/config/v1/frequentIssueDetection' \-H 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'
Request URL
https://mySampleEnv.live.dynatrace.com/api/config/v1/frequentIssueDetection
Response body
{"metadata": {"configurationVersions": [0],"clusterVersion": "1.194.0.20200427-192742"},"frequentIssueDetectionApplicationEnabled": false,"frequentIssueDetectionServiceEnabled": true,"frequentIssueDetectionInfrastructureEnabled": false}
Response code
200