Skip to content

Commit 9517253

Browse files
Add docs for aggregate_datadog_test_events tool (#33392)
* Add docs for aggregate_datadog_test_events tool * more concise * Update content/en/bits_ai/mcp_server/setup/_index.md Co-authored-by: Joe Peeples <[email protected]> * Update content/en/bits_ai/mcp_server/setup/_index.md Co-authored-by: Joe Peeples <[email protected]> --------- Co-authored-by: Joe Peeples <[email protected]>
1 parent 8fe02f3 commit 9517253

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

content/en/bits_ai/mcp_server/setup/_index.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,12 +398,20 @@ Aggregates CI pipeline events to produce statistics, metrics, and grouped analyt
398398
399399
### `get_datadog_flaky_tests`
400400
*Toolset: **software-delivery***\
401-
Searches Datadog [Test Optimization][25] for flaky tests and returns triage-ready details, including failure-rate stats, flaky state/category, ownership context (`codeowners`, `services`, `module`, `suite`), branch/SHA history, CI pipeline impact, and recent test-run metadata. Supports pagination with `page_cursor` and sorting by fields such as `failure_rate` or `pipelines_failed`.
401+
Searches Datadog [Test Optimization][25] for flaky tests and returns triage details (failure rate, category, owners, history, CI impact), with pagination and sorting.
402402
403403
- Find active flaky tests for the checkout service owned by `@team-abc`, sorted by failure rate.
404404
- Show flaky tests on branch `main` for repo `github.com/org/repo`, most recent first.
405405
- List flaky tests in the `timeout` category with high failure rate (50%+) so I can prioritize fixes.
406406
407+
### `aggregate_datadog_test_events`
408+
*Toolset: **software-delivery***\
409+
Aggregates Datadog Test Optimization events to quantify reliability and performance trends with aggregation functions, optional metrics, group-by facets, and configurable test levels.
410+
411+
- Count the number of failed tests over the last week, grouped by branch.
412+
- Show me the 95th-percentile duration for each test suite to identify the slowest ones.
413+
- Count all passing and failing tests, grouped by code owners.
414+
407415
## Context efficiency
408416
409417
The Datadog MCP Server is optimized to provide responses in a way that AI agents get relevant context without being overloaded with unnecessary information. For example:

0 commit comments

Comments
 (0)