Datadog MCP Server

aggregate_spans

Analyze Datadog trace spans by aggregating data based on specified attributes, time intervals, and functions like count, avg, or sum. Use filters for precise querying and group results for detailed monitoring insights.

Instructions

Datadogのトレースspanを集計するツール

Input Schema

NameRequiredDescriptionDefault
aggregationNo集計関数(オプション、デフォルトは「count」)count
filterFromNo検索開始時間(UNIXタイムスタンプ、秒単位、オプション、デフォルトは15分前)
filterQueryNo検索するためのクエリ文字列(オプション、デフォルトは「*」)*
filterToNo検索終了時間(UNIXタイムスタンプ、秒単位、オプション、デフォルトは現在時刻)
groupByNoグループ化するための属性(例: ['service', 'resource_name'])
intervalNo結果をグループ化する時間間隔(オプション、デフォルト '5m')5m
typeNo結果タイプ - timeseries または total(オプション、デフォルトは「timeseries」)timeseries

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "aggregation": { "default": "count", "description": "集計関数(オプション、デフォルトは「count」)", "enum": [ "count", "avg", "sum", "min", "max", "pct" ], "type": "string" }, "filterFrom": { "default": 1745805204.363, "description": "検索開始時間(UNIXタイムスタンプ、秒単位、オプション、デフォルトは15分前)", "type": "number" }, "filterQuery": { "default": "*", "description": "検索するためのクエリ文字列(オプション、デフォルトは「*」)", "type": "string" }, "filterTo": { "default": 1745806104.363, "description": "検索終了時間(UNIXタイムスタンプ、秒単位、オプション、デフォルトは現在時刻)", "type": "number" }, "groupBy": { "description": "グループ化するための属性(例: ['service', 'resource_name'])", "items": { "type": "string" }, "type": "array" }, "interval": { "default": "5m", "description": "結果をグループ化する時間間隔(オプション、デフォルト '5m')", "type": "string" }, "type": { "default": "timeseries", "description": "結果タイプ - timeseries または total(オプション、デフォルトは「timeseries」)", "enum": [ "timeseries", "total" ], "type": "string" } }, "type": "object" }

You must be authenticated.

Other Tools from Datadog MCP Server

Related Tools

ID: 3vjdswnx7u