Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
npm run test:unit
npm run prettier:fix
git update-index --again
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
- Fixed an issue with stateless HTTP server only taking a single connection
- Added Grail budget tracking with `DT_GRAIL_QUERY_BUDGET_GB` environment variable (default: 1000 GB, setting it to `-1` disables it), as well as warnings and exceeded alerts in `execute_dql` tool responses
- Enforce Grail budget by throwing an exception when the budget has been exceeded, preventing further DQL query execution
- Added `send_email` tool for sending emails via Dynatrace Email API with support for multiple recipients (TO, CC, BCC), subject, body content
- Added OAuth scope `email:emails:send` for email functionality
- Refactored Davis CoPilot integration to use official `@dynatrace-sdk/client-davis-copilot` package instead of manual API calls, improving reliability and maintainability

## 0.6.0 (Release Candidate 1)
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ Depending on the features you are using, the following scopes are needed:
- `davis-copilot:conversations:execute` - execute conversational skill (chat with Copilot)
- `davis-copilot:nl2dql:execute` - execute Davis Copilot Natural Language (NL) to DQL skill
- `davis-copilot:dql2nl:execute` - execute DQL to Natural Language (NL) skill
- `email:emails:send` - needed for `send_email` tool to send emails
- `settings:objects:read` - needed for reading ownership information and Guardians (SRG) from settings

**Note**: Please ensure that `settings:objects:read` is used, and _not_ the similarly named scope `app-settings:objects:read`.
Expand Down Expand Up @@ -402,6 +403,12 @@ fetch logs | filter dt.source_entity == 'SERVICE-123' | summarize count(), by:{s
How can I investigate slow database queries in Dynatrace?
```

**Send email notifications:**

```
Send an email notification about the incident to the responsible team at [email protected] with CC to [email protected]
```

### **Advanced Incident Investigation**

**Multi-phase incident response:**
Expand Down
5 changes: 3 additions & 2 deletions dynatrace-agent-rules/rules/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ npm install -g @dynatrace-oss/dynatrace-mcp-server

### 2. Copy Integration Rules to Your IDE

Copy all 11 rule files to your AI assistant's rules directory:
Copy all rule files to your AI assistant's rules directory:

**IDE-Specific Locations:**

Expand Down Expand Up @@ -58,7 +58,7 @@ dynatrace-agent-rules/rules/
└── DynatraceProblemsSpec.md # Problems schema reference
```

### **Required Rule Files (11 Total)**
### **Required Rule Files (12 Total)**

**Main Files:**

Expand All @@ -83,6 +83,7 @@ dynatrace-agent-rules/rules/
- `reference/DynatraceExplore.md` - **Field discovery patterns**
- `reference/DynatraceSecurityEvents.md` - **Security events schema reference**
- `reference/DynatraceProblemsSpec.md` - **Problems schema reference**
- `reference/DynatraceEmailFormatting.md` - **Email formatting syntax and templates**

### **Workflow Connectivity Map**

Expand Down
Loading