datadog-mcp 4.0.0 → 4.0.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/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1789,8 +1789,8 @@ var InputSchema6 = {
|
|
|
1789
1789
|
contextTags: z7.array(z7.string()).optional().describe(
|
|
1790
1790
|
"Tag prefixes for context breakdown in top action (default: queue, service, ingress, pod_name, kube_namespace, kube_container_name)"
|
|
1791
1791
|
),
|
|
1792
|
-
maxEvents: z7.number().min(1).max(
|
|
1793
|
-
"Maximum events to fetch for grouping in top action (default:
|
|
1792
|
+
maxEvents: z7.number().min(1).max(5e3).optional().describe(
|
|
1793
|
+
"Maximum events to fetch for grouping in top action (default: 5000, max: 5000). Higher = more accurate but slower"
|
|
1794
1794
|
)
|
|
1795
1795
|
};
|
|
1796
1796
|
function extractMonitorInfo(title) {
|
|
@@ -2163,7 +2163,7 @@ async function topEventsV2(api, params, limits, site) {
|
|
|
2163
2163
|
to: params.to,
|
|
2164
2164
|
sources: params.sources,
|
|
2165
2165
|
tags: effectiveTags,
|
|
2166
|
-
limit: params.maxEvents ??
|
|
2166
|
+
limit: params.maxEvents ?? 5e3
|
|
2167
2167
|
},
|
|
2168
2168
|
limits,
|
|
2169
2169
|
site
|