Datadog/metrics
Datadog Metrics — metric queries, submissions, tag configurations, and metadata
2026.09.08.1
Added: Initial code-generated release of @webframp/datadog/metrics with 14 methods covering the Datadog metrics API surface.
Global Arguments
| Argument | Type | Description |
|---|---|---|
| apiKey | string | Datadog API key (DD-API-KEY) |
| appKey | string | Datadog application key (DD-APPLICATION-KEY) |
| site | enum | Datadog site |
| Argument | Type | Description |
|---|---|---|
| filter_configured? | boolean | Only return custom metrics that have been configured (`true`) or not configur... |
| filter_is_configurable? | boolean | Only return metrics that are eligible (`true`) or ineligible (`false`) for co... |
| filter_tags_configured? | string | Only return metrics that have the given tag key(s) in their Metrics Without L... |
| filter_metric_type? | string | Only return metrics of the given metric type. |
| filter_include_percentiles? | boolean | |
| filter_queried? | boolean | Only return metrics that have been queried (true) or not queried (false) in t... |
| filter_queried_window_seconds? | number | This parameter has no effect unless `filter[queried]` is also set. Only retur... |
| filter_tags? | string | Only return metrics that were submitted with tags matching this expression. Y... |
| filter_related_assets? | boolean | Only return metrics that are used in at least one dashboard, monitor, noteboo... |
| include? | string | Include related resources in the response. Set to `metric_volumes` to include... |
| sort? | string | Sort results by metric volume. Prefix a key with `-` for descending order. Su... |
| window_seconds? | number | Only return metrics that have been actively reporting in the specified window... |
| Argument | Type | Description |
|---|---|---|
| metric_name | string | The name of the metric. |
| window_seconds? | number |
| Argument | Type | Description |
|---|---|---|
| metric_name | string | The name of the metric. |
| window_seconds? | number | The number of seconds of look back (from now) to query for tag data. Default ... |
| filter_tags? | string | Filter results to tags from data points that have the specified tags. For exa... |
| filter_match? | string | Filter returned tags to those matching a substring. For example, `filter[matc... |
| filter_include_tag_values? | boolean | Whether to include tag values in the response. Defaults to true. |
| filter_allow_partial? | boolean | Whether to allow partial results. Defaults to false. |
| Argument | Type | Description |
|---|---|---|
| metric_name | string | The name of the metric. |
| Argument | Type | Description |
|---|---|---|
| metric_name | string | The name of the metric. |
| filter_groups? | string | Comma-separated list of tag keys that the metric is configured to query with.... |
| filter_exclude_tags_mode? | boolean | When `true`, `filter[groups]` is treated as an exclude list instead of an inc... |
| filter_hours_ago? | number | The number of hours of look back (from now) to estimate cardinality with. If ... |
| filter_num_aggregations? | number | Deprecated. Number of aggregations has no impact on volume. |
| filter_pct? | boolean | Deprecated. This query parameter has no effect on the estimate. |
| filter_timespan_h? | number | A window, in hours, from the look back to estimate cardinality with. The mini... |
| Argument | Type | Description |
|---|---|---|
| metric_name | string | The name of the metric. |
| Argument | Type | Description |
|---|---|---|
| metric_name | string | The name of the metric. |
| Argument | Type | Description |
|---|---|---|
| metric_name | string | The name of the metric. |
| aggregations? | unknown | |
| exclude_tags_mode? | boolean | When set to true, the configuration will exclude the configured tags and incl... |
| include_percentiles? | boolean | Toggle to include/exclude percentiles for a distribution metric. Defaults to ... |
| metric_type | unknown | |
| tags | array | A list of tag keys that will be queryable for your metric. |
| Argument | Type | Description |
|---|---|---|
| metric_name | string | The name of the metric. |
| aggregations? | unknown | |
| exclude_tags_mode? | boolean | When set to true, the configuration will exclude the configured tags and incl... |
| include_percentiles? | boolean | Toggle to include/exclude percentiles for a distribution metric. Defaults to ... |
| tags? | array | A list of tag keys that will be queryable for your metric. |
| Argument | Type | Description |
|---|---|---|
| metric_name | string | The name of the metric. |
| Argument | Type | Description |
|---|---|---|
| metric_name | string | The name of the metric. |
| window_seconds? | number |
| Argument | Type | Description |
|---|---|---|
| formulas? | array | List of formulas to be calculated and returned as responses. |
| from | number | Start date (inclusive) of the query in milliseconds since the Unix epoch. |
| queries | unknown | |
| to | number | End date (exclusive) of the query in milliseconds since the Unix epoch. |
| Argument | Type | Description |
|---|---|---|
| formulas? | array | List of formulas to be calculated and returned as responses. |
| from | number | Start date (inclusive) of the query in milliseconds since the Unix epoch. |
| interval? | number | A time interval in milliseconds. May be overridden by a larger interval if th... |
| queries | unknown | |
| to | number | End date (exclusive) of the query in milliseconds since the Unix epoch. |
| Argument | Type | Description |
|---|---|---|
| series | array | A list of timeseries to submit to Datadog. |
Resources
2026.08.28.2
Hardened codegen: instance names sanitized against path traversal; string schema patterns emit regex validation; output schemas passthrough unknown fields.
updated labels
2026.08.28.1
Changed: Normalized the extension license to Apache-2.0 and corrected the copyright holder to "Sean Escriva". Extensions that previously shipped an MIT LICENSE.md are now Apache-2.0, consistent with the repository root and every other extension. No code or behavioral changes.
Upgrade note: License text only. No API, schema, or runtime behavior changed.
2026.08.26.2
Fixed: Restored inline npm:zod@4.4.3 import specifiers so the registry
quality scorer can resolve dependencies and score the extension. An earlier
release used a bare "zod" import-map specifier, which published but scored as
unscored.
Changed: Retained explicit compilerOptions.strict in deno.json. No
behavioral or schema changes.
2026.08.26.2
Fixed: Restored inline npm:zod@4.4.3 import specifiers so the registry
quality scorer can resolve dependencies and score the extension. An earlier
release used a bare "zod" import-map specifier, which published but scored as
unscored.
Changed: Retained explicit compilerOptions.strict in deno.json. No
behavioral or schema changes.
2026.08.25.1
Changed: Updated labels for improved extension discoverability. Added cross-cutting category labels (security, observability, finops, infrastructure, networking, compliance, devops, ai, incident-response) where applicable.
updated labels
2026.08.24.1
Added: Output metadata attributes for observability.
durationMs: Method execution duration in milliseconds.collectedBy: Extension name that produced the data.fetchedAt: ISO 8601 timestamp when data was fetched (added to resources that previously lacked it).
2026.08.21.2
Changed: Every Datadog API call made by this model (via the shared
_lib/api.ts helper) now names the HTTP method and path in its error
message, instead of a bare "Datadog API HTTP 500: ...". A failure now reads,
for example, Datadog API POST /api/v2/series failed with HTTP 500: ...
rather than just the status code and response body. Network-level failures
(DNS, connection reset, etc.) that previously surfaced as a raw TypeError
now also say which Datadog operation was being attempted.
submit_metrics now rejects an empty series array at validation time with
a clear "at least 1 element" error, instead of silently sending a no-op
request to the Datadog Metrics API.
No other changes to method arguments, resource schemas, or successful-call behavior.
2026.08.21.1
Changed: Schema-only tightening pass, no behavioral change.
- Added
.min(1)toapiKey/appKeyin the global arguments and to the requiredmetric_nameargument across all ten methods that use it as a path parameter, so empty identifiers are rejected before making an API call. - Added
.describe()to previously undocumented fields:id,relationships, andtypeon the metric-assets resource schema; theattributesandtypefields on the scalar/timeseries query response schemas; and theaggregations,metric_type, andqueriesarguments oncreate_tag_configuration,update_tag_configuration,query_scalar_data, andquery_timeseries_data.
2026.07.20.11
Added: Initial code-generated release of @webframp/datadog/metrics with 14 methods covering the Datadog metrics API surface.
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned