Process groups anomaly detection API - GET configuration

Gets the configuration of anomaly detection for the specified process group.

The request produces an application/json payload.

Early Adopter

This request is an Early Adopter release and may be changed in non-compatible way.

GET
  • Managed https://{your-domain}/e/{your-environment-id}/api/config/v1/anomalyDetection/processGroups/{id}
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/config/v1/anomalyDetection/processGroups/{id}

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 Authentication.

Parameters

Parameter Type Description In Required
id string

The Dynatrace entity ID of the required process group.

path required

Response format

The AnomalyDetectionPG object

Configuration of anomaly detection for the process group.

Element Type Description
availabilityMonitoring AvailabilityMonitoringPG

The AvailabilityMonitoringPG object

Configuration of the availability monitoring for the process group.

Element Type Description
method string

How to monitor the availability of the process group:

  • PROCESS_IMPACT: Alert if any process of the group becomes unavailable.
  • MINIMUM_THRESHOLD: Alert if the number of active processes in the group falls below the specified threshold.
  • OFF: Availability monitoring is disabled.
The method element can hold these values.
minimumThreshold integer

Alert if the number of active processes in the group is lower than this value.

Possible values

Possible values for the method element in the AvailabilityMonitoringPG object:

  • MINIMUM_THRESHOLD
  • OFF
  • PROCESS_IMPACT

Example

In this example, the request gets the configuration of anomaly detection for the process group with the ID of PROCESS_GROUP-52B42D0616D556F5.

The API token is passed in the Authorization header.

The configuration has the following settings:

GET anomaly detection config - process group

Curl

curl -L -X GET 'https://mySampleEnv.live.dynatrace.com/api/config/v1/anomalyDetection/processGroups/PROCESS_GROUP-52B42D0616D556F5' \
-H 'Authorization: Api-token abcdefjhij1234567890'

Request URL

https://mySampleEnv.live.dynatrace.com/api/config/v1/anomalyDetection/processGroups/PROCESS_GROUP-52B42D0616D556F5

Response body

{
  "availabilityMonitoring": {
    "method": "MINIMUM_THRESHOLD",
    "minimumThreshold": 10
  }
}

Response code

200