Usage Metering

Get hourly usage for observability pipelines

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

get/api/v2/usage/observability_pipelines

Request

  • Base URL
    https://api.datadoghq.com
  • URL
    https://api.datadoghq.com/api/v2/usage/observability_pipelines
  • Auth
    • API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
    • or OAuth 2
      Authorization code: /oauth2/v1/authorize
      Token URL: /oauth2/v1/token scopes: usage_read

Query parameters

start_hrstring date-time required

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.

Response

OK

Example response

{
  "data": [
    {
      "attributes": {
        "usage_type": "observability_pipelines_bytes_processed"
      },
      "type": "usage_timeseries"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.