Skip to main content

observability_pipelines_usage

Creates, updates, deletes, gets or lists an observability_pipelines_usage resource.

Overview

Nameobservability_pipelines_usage
TypeResource
Iddatadog.organization.observability_pipelines_usage

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringUnique ID of the response.
attributesobjectUsage attributes data.
typestringType of usage data. (default: usage_timeseries, example: usage_timeseries)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_usage_observability_pipelinesselectstart_hr, regionend_hrGet hourly usage for observability pipelines.
Note: This endpoint has been deprecated. Hourly usage data for all products is now available in the Get hourly usage by product family API

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstring(default: datadoghq.com)
start_hrstring (date-time)Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
end_hrstring (date-time)Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending before this hour.

SELECT examples

Get hourly usage for observability pipelines.
Note: This endpoint has been deprecated. Hourly usage data for all products is now available in the Get hourly usage by product family API

SELECT
id,
attributes,
type
FROM datadog.organization.observability_pipelines_usage
WHERE start_hr = '{{ start_hr }}' -- required
AND region = '{{ region }}' -- required
AND end_hr = '{{ end_hr }}'
;