Authentication
Dynatrace uses API Token authentication with your environment URL.Prerequisites
- Dynatrace environment (SaaS or Managed)
- Permissions to create API tokens
Setup Steps
Create API Token
- Go to your Dynatrace environment (e.g.,
https://abc12345.live.dynatrace.com) - Navigate to Settings > Integration > Dynatrace API
- Click Generate token
- Name:
Aurora - Required scopes:
apiTokens.read- Token validationReadConfig- Read configuration (optional but recommended)
- Click Generate and copy the token
Get Environment URL
Your Dynatrace environment URL follows this format:
- SaaS:
https://{env-id}.live.dynatrace.com - Managed:
https://{your-domain}/e/{environment-id}
Aurora automatically converts
.apps.dynatrace.com URLs to .live.dynatrace.com (API domain).Configuration
No environment variables are required. API tokens are entered through the Aurora UI.Supported Environments
- SaaS:
https://{env-id}.live.dynatrace.com - Managed:
https://{domain}/e/{env-id} - Gov Cloud: Custom domains
Webhook Setup
Receive real-time problem notifications from Dynatrace:Create Custom Integration (Classic UI)
- Go to your Dynatrace environment
- Open the classic UI:
https://{env-id}.live.dynatrace.com/ui/settings/integration/notifications - Click Add notification
- Select Custom Integration
- Name:
Aurora - Webhook URL: Paste your Aurora webhook URL
Development with ngrok
For local development:.env
What Aurora Can Query
Once connected, Aurora can:Connection Status
- Verify API token validity
- View environment URL
- Check Dynatrace cluster version
GET /dynatrace/status
Response:
Webhook Problems
- Receive real-time problem notifications
- Auto-create incidents from Dynatrace problems
- Track problem state transitions (OPEN, RESOLVED)
- Monitor problem impact and severity
- Correlate related problems
- Generate AI-powered root cause analysis
- Problem ID and title
- Problem state (OPEN, RESOLVED)
- Severity level (AVAILABILITY, ERROR, PERFORMANCE, etc.)
- Impact level (APPLICATION, SERVICE, INFRASTRUCTURE)
- Impacted entities
- Problem URL for deep linking
- Tags and metadata
GET /dynatrace/alerts
Parameters:
limit- Number of problems (default: 50)offset- Pagination offset (default: 0)state- Filter by state (OPEN, RESOLVED)
RCA Settings
- Enable/disable automated root cause analysis for Dynatrace problems
- Per-user preference stored in Aurora
GET /dynatrace/rca-settings- Get current RCA settingsPUT /dynatrace/rca-settings- Update RCA settings
Troubleshooting
Connection Failed- Verify API token is correct and not expired
- Check token has required scopes (
apiTokens.read) - Ensure environment URL is correct
- For Managed: verify Aurora can reach your Dynatrace instance
- Use the
.live.dynatrace.comdomain (not.apps.) - Include
/e/{environment-id}for Managed deployments - Ensure URL uses HTTPS
- Remove trailing slashes
- Verify
NGROK_URLis set correctly (local development) - Ensure ngrok tunnel is running
- Check webhook URL in Dynatrace matches Aurora UI
- Send test notification from Dynatrace integration settings
- Verify payload template matches suggested format
- Check network connectivity between Aurora and Dynatrace
- Verify firewall rules allow outbound HTTPS
- For Managed: ensure Dynatrace instance is reachable from Aurora
- Ensure custom payload template includes all fields
- Check that Dynatrace placeholders (e.g.,
{ProblemID}) are correct - Verify problem contains expected metadata
API Reference
Base Path:/dynatrace
| Method | Endpoint | Description |
|---|---|---|
| POST | /connect | Connect Dynatrace environment |
| GET | /status | Check connection status |
| DELETE | /disconnect | Remove Dynatrace connection |
| GET | /alerts | List webhook problems |
| POST | /webhook/{user_id} | Receive webhooks |
| GET | /webhook-url | Get webhook URL |
| GET | /rca-settings | Get RCA settings |
| PUT | /rca-settings | Update RCA settings |