Package com.dynatrace.agent.api
Interface EventModifier
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A modifier function that is used to enrich a given event as
JSONObject.
The returned event can be a modified version of the event JSON or null if the event should be dropped.- Since:
- 8.303
-
Method Summary
Modifier and TypeMethodDescriptionmodifyEvent(JSONObject event) A modifier function that is used to enrich a given event asJSONObject.
-
Method Details
-
modifyEvent
A modifier function that is used to enrich a given event as
JSONObject.The returned event can be a modified version of the event JSON or null if the event should be dropped.
- Parameters:
event- a deep copy of the current JSON event- Returns:
- the modified event or null if the event should be dropped
-