datadog-mcp 5.8.0 → 5.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -158,7 +158,7 @@ When running with `--transport=http`:
158
158
  | `events` | get | Events | Get event by ID | `events_read` |
159
159
  | `events` | create | Events | Create an event | `events_read` |
160
160
  | `events` | search | Events | Search events with v2 API and cursor pagination. Optional `transitionType` filter (e.g. `["alert","alert recovery"]`) restricts to monitor state-transition events — without it, `source:alert` includes renotifies. For monitor-specific fires use `monitors action=history`. Optional `timezone` adds `*Local` ISO 8601 siblings to every timestamp. Zero-result responses include a `diagnostics` array hinting at the cause (`UNINDEXED_TAG_PREFIX`, `NARROW_TIME_RANGE`, `RESTRICTIVE_SOURCE_FILTER`). | `events_read` |
161
- | `events` | histogram | Events | Server-side bucketing of events by `hour_of_day`, `day_of_week`, or `day_of_month` in an IANA `timezone` (DST-safe via `Intl.DateTimeFormat`). Cursor-paginates the underlying search; cap at `limits.maxEventsForHistogram` (default 5000, `MCP_MAX_EVENTS_HISTOGRAM` env var). When the cap is hit, returns `bucketCountIncomplete: true` and `nextCursor` for continuation. | `events_read` |
161
+ | `events` | histogram | Events | Server-side bucketing of events by `hour_of_day`, `day_of_week`, or `day_of_month` in an IANA `timezone` (DST-safe via `Intl.DateTimeFormat`). Accepts the same `transitionType` filter as `search` so monitor histograms can exclude renotifies. Cursor-paginates the underlying search; cap at `limits.maxEventsForHistogram` (default 5000, `MCP_MAX_EVENTS_HISTOGRAM` env var). When the cap is hit, returns `bucketCountIncomplete: true` and `nextCursor` for continuation. | `events_read` |
162
162
  | `events` | aggregate | Events | Client-side aggregation by monitor_name, source, etc. | `events_read` |
163
163
  | `events` | top | Events | Top N event groups by count with generic groupBy support (deployments, configs, alerts, etc.). Groups without context tags are included as "no_context" | `events_read` |
164
164
  | `events` | timeseries | Events | Time-bucketed alert trends (hourly/daily counts) | `events_read` |
package/dist/index.js CHANGED
@@ -303622,7 +303622,8 @@ async function histogramEventsV2(api, params, limits, site) {
303622
303622
  const fullQuery = buildEventQuery({
303623
303623
  query: params.query,
303624
303624
  sources: params.sources,
303625
- tags: params.tags
303625
+ tags: params.tags,
303626
+ transitionType: params.transitionType
303626
303627
  });
303627
303628
  const cap = limits.maxEventsForHistogram;
303628
303629
  const perPage = Math.max(1, Math.min(1e3, cap));
@@ -304394,7 +304395,8 @@ histogram: Bucket events by local hour_of_day / day_of_week / day_of_month in th
304394
304395
  tags,
304395
304396
  bucket_by: histogramBucketBy,
304396
304397
  timezone,
304397
- cursor
304398
+ cursor,
304399
+ transitionType
304398
304400
  },
304399
304401
  limits,
304400
304402
  site