Depending on the type of guardian – Lifecycle guardian or Business guardian – you use, the underlying event structure is different.
The number of events written by the Site Reliability guardian is the same, no matter the type.
For each validation, one started event, one finished event, and n objective event, one for each objective of the respective guardian, are written.
To query Lifecycle guardian events with DQL, use the following query:
fetch events| filter event.kind == "SDLC_EVENT"| filter event.provider == "dynatrace.site.reliability.guardian"
There are two different types of events: validation and validation.objective.
For validation event types, there are two additional subtypes based on the event status started and finished.
To query Lifecycle guardian validation started events, use the following DQL query:
fetch events| filter event.kind == "SDLC_EVENT"| filter event.provider == "dynatrace.site.reliability.guardian"| filter event.type == "validation"| filter event.status == "started"
The above lifecycle events share several common fields.
Any data that is related to guardian internals is stored with a prefix of dt.srg..
The structure of the other event fields aligns with the Semantic Dictionary for Software Development Lifecycle Validation Events.
When you want to integrate Lifecycle guardian validation results with a dashboard or other tooling that you have created, the event fields below is a good starting point for your queries.
To query business guardian events with DQL, use the following query:
fetch bizevents| filter event.provider == "dynatrace.site.reliability.guardian"
You can see three different types of events: guardian.validation.started, guardian.validation.finished, and guardian.validation.objective.
To query Business guardian.validation.started events, use the following DQL query:
fetch bizevents| filter event.provider == "dynatrace.site.reliability.guardian"| filter event.type == "guardian.validation.started"
The above business events share several common fields.
When you want to integrate business guardian validation results with a dashboard or other tooling that you have created, the event fields below is a good starting point for your queries.