The Site Reliability Engineering (SRE) Agent is a Dynatrace agentic workflow that uses agentic AI to analyze triggered problems and surface root cause, real-user impact, and remediation suggestions directly as annotations. These annotations are visible and can be accessed on the problem details page.
When a problem matches the configured trigger filter, the workflow immediately posts a progress annotation, and then invokes the SRE Agent. The agent correlates metrics, logs, events, deployment events, and traces scoped to the problem. Based on the correlated data, the agent provides a structured analysis that contains root cause, key findings, conclusion, and recommendations, added to the problem as a follow-up annotation.
Workflows
Workflows.active. This means that the workflow only fires for an open problem.Error, Availability.Any. This means that the trigger creates an alert for any severity level event.None. This means that there's no minimal time that a problem has to stay open before the trigger fires.dt.davis.is_duplicate == false and not isNull(root_cause_entity_id).include all entities.Slowdown in addition to Error and Availability.Critical (1) or Major (2).We recommend starting with narrow trigger conditions and expanding the filter after you validate the agent's output quality.
The workflow contains three actions that run in sequence:
progress_msg: posts an initial annotation on the problem details page as soon as the workflow starts, letting your operators know that analysis is in progress.
call_sre_agent: calls the Prompt agentic AI action with access to two MCP tools:
execute-dql: runs DQL queries to retrieve logs, events, metrics, and traces related to the problem.get-problem-by-id: retrieves full problem details, including affected entities and root cause entity.The agent is constrained to a maximum of five tool calls and produces a response of up to 1,000 words, structured as follows:
agent_report: writes the agent's output as an annotation and sends it back to the problem. The annotation source is labeled as SRE Agent.
If you want to limit or expand the data sources available to the agent, you can:
call_sre_agent action.To ensure that your SRE Agent workflow remains optimized and produces quality output, we recommend adopting the following best practices: