Overview
The Dynatrace AI connector lets Rootly AI query your Dynatrace environment during incident investigations. Rootly AI can run DQL, inspect problems and vulnerabilities, find entities, review Kubernetes events, and use Dynatrace Intelligence analysis tools without leaving the investigation. Rootly connects to Dynatrace’s hosted MCP server for your environment. Setup requires your Dynatrace environment name and a Platform token; Dynatrace does not support the public OAuth and Dynamic Client Registration flow used by one-click AI connectors.Before You Start
.apps.dynatrace.com in your Dynatrace URL. For https://abc12345.apps.dynatrace.com, enter abc12345.mcp-gateway:servers:invoke and mcp-gateway:servers:read, plus the permissions required by each Dynatrace MCP tool you want Rootly AI to use.Recommended Platform token scopes
To enable every Dynatrace tool that Rootly currently allows, grant the full permission set that Dynatrace recommends for access to all MCP tools:execute-dql depend on the query.Connecting
Create a Platform Token
Open the Dynatrace Card
Enter the Environment and Token
.apps.dynatrace.com suffix. Paste the Platform token, then click Connect Dynatrace.Rootly builds the fixed Dynatrace MCP endpoint for your environment and probes it before saving the connection. An invalid environment name or token leaves any existing working connection unchanged.Confirm the Connection
What Rootly AI Can Read
The curated Dynatrace MCP tool set covers:- DQL — generate, execute, and explain Dynatrace Query Language queries.
- Problems and security — query problems, compliance findings, vulnerabilities, and security-event details and summaries.
- Entities — resolve entity IDs and names.
- Kubernetes — inspect Kubernetes events available in Dynatrace.
- Dynatrace Intelligence — extract log patterns and run anomaly detection, static and seasonal threshold analysis, forecasting, and novelty detection.
- Documentation — search Dynatrace documentation, troubleshooting guides, and documents available to the token.
During an Incident
“Checkout errors began at 14:12. Dynatrace shows a new spike inpayment-api failures, and the affected Kubernetes workload restarted three times in the same window.”
Rootly AI can correlate Dynatrace problems, logs, spans, metrics, entities, and Kubernetes events with the Rootly incident timeline. It uses those results to identify affected services, likely causes, and the scope of impact.
Best Practices
- Use a dedicated Platform token. A separate token makes rotation and revocation independent from personal MCP clients.
- Grant only required permissions. Start with the MCP gateway permissions and the read scopes for the signals your responders use.
- Use a stable service user. The token inherits its user’s permissions. Removing the user or its access can break future queries.
- Rotate through the Dynatrace card. Submit the replacement token from the connector setup flow. Rootly keeps the existing connection if the new token fails its probe.
- Test a representative query. After connecting, ask Rootly AI to inspect a known Dynatrace problem or a recent log window.
Troubleshooting
The environment name is rejected
The environment name is rejected
https://abc12345.apps.dynatrace.com, enter abc12345. Don’t paste the full URL or another Dynatrace hostname.The connection probe fails
The connection probe fails
mcp-gateway:servers:invoke and mcp-gateway:servers:read.The connector works but a signal returns no data
The connector works but a signal returns no data
storage:logs:read. Dynatrace applies the intersection of token and user permissions.Queries stopped working after a token change
Queries stopped working after a token change
Frequently Asked Questions
Why does Rootly ask for a Platform token instead of OAuth?
Why does Rootly ask for a Platform token instead of OAuth?
Can Rootly AI modify my Dynatrace environment?
Can Rootly AI modify my Dynatrace environment?
create-dql tool generates query text; it does not create Dynatrace data. Write-capable tools, including event creation and outbound notifications, are excluded even when the Platform token has broader permissions.Can I connect multiple Dynatrace environments?
Can I connect multiple Dynatrace environments?
Is the Dynatrace AI connector the same as the Dynatrace alert source?
Is the Dynatrace AI connector the same as the Dynatrace alert source?