cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Open separate problems for each POST

Borisk
Observer

I opened the “Problem” by POST API below :

https://vip-dyntrc/e/myenvironment/api/v2/events/ingest

 

The body that I send like :

{"eventType": "AVAILABILITY_EVENT", "title": " !!!TEST3 - [Health+ Intelligent Alert] CRITICAL: Connector tasks have failed", "source": "Confluence", "description": "TTT The connector is in a failed state.", "properties": {"severity": "Critical", "details": "The connector is in a failed state.", "clustername": "AA_Cluster", "connector": "my-connector", "date_occurred": "2023-03-30T11:17:22+03:00"}}

 

Question :

How I can restrict aggregation of the Problem to “Multiple environment problems”?

In other words, I wanted open separate problems for each POST.

3 REPLIES 3

Julius_Loman
DynaMight Legend
DynaMight Legend

You need to set the property dt.event.allow_davis_merge to false to create new problem with each event as stated in the event properties documentation:

This flag controls whether the Davis® engine is allowed to merge this event into a larger problem (true) or if a new problem must be created (false). This property can be written by most event sources, such as Events API, metric events, log events, or Extension 1.0 events. For extension 1.0 events, the value must be specified as a string.

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

Many thanks Julius.

Can I set this flag to false in the POST body json ?

 

Yes, exactly.

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

Featured Posts