Frequent issue detection API - GET configuration
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 |
|
Authentication
To execute this request, you need the Read configuration (ReadConfig
) permission assigned to your API token. To learn how to obtain and use it, see Tokens and authentication.
Parameters
The request doesn't provide any configurable parameters.
Response
Response codes
Code | Description |
---|---|
200 | Success |
Response body
The FrequentIssueDetectionConfig object
Parameters of the frequent issue detection. To learn more about it, see Detection of frequent issues help page.
Element | Type | Description |
---|---|---|
metadata |
Configuration |
|
frequentIssueDetectionApplicationEnabled | boolean | The detection for applications is enabled ( |
frequentIssueDetectionServiceEnabled | boolean | The detection for services is enabled ( |
frequentIssueDetectionInfrastructureEnabled | boolean | The detection for infrastructure is enabled ( |
The ConfigurationMetadata object
Metadata useful for debugging
Element | Type | Description |
---|---|---|
configurationVersions | integer[] | A Sorted list of the version numbers of the configuration. |
currentConfigurationVersions | string[] | A Sorted list of string version numbers of the configuration. |
clusterVersion | string | Dynatrace server version. |
{
"frequentIssueDetectionApplicationEnabled": true,
"frequentIssueDetectionServiceEnabled": true,
"frequentIssueDetectionInfrastructureEnabled": 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 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