You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
136
-
# @param usage_type [HourlyUsageAttributionUsageType] Usage type to retrieve. The following values have been **deprecated**: `estimated_indexed_spans_usage`, `estimated_ingested_spans_usage`.
134
+
# @param usage_type [HourlyUsageAttributionUsageType] Usage type to retrieve. Usage types are in the format `<usage_type>_usage`. Example: `infra_host_usage` To obtain the complete list of active usage types that can be used to replace `<usage_type>` in the field names, make a request to the [Get usage attribution types API](https://docs.datadoghq.com/api/latest/usage-metering/#get-usage-attribution-types).
137
135
# @param opts [Hash] the optional parameters
138
136
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
139
137
# @option opts [String] :next_record_id List following results with a next_record_id provided in the previous query.
# @param start_month [Time] Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage beginning in this month. Maximum of 15 months ago.
460
-
# @param fields [MonthlyUsageAttributionSupportedMetrics] Comma-separated list of usage types to return, or `*` for all usage types. The following values have been **deprecated**: `estimated_indexed_spans_usage`, `estimated_indexed_spans_percentage`, `estimated_ingested_spans_usage`, `estimated_ingested_spans_percentage`, `llm_observability_usage`, `llm_observability_percentage`.
458
+
# @param fields [MonthlyUsageAttributionSupportedMetrics] Comma-separated list of usage types to return, or `*` for all usage types. Usage types are in the format `<usage_type>_usage` and `<usage_type>_percentage`. Example: `infra_host_usage,infra_host_percentage` To obtain the complete list of usage attribution types that can be used to replace `<usage_type>` in the field names, make a request to the [Get usage attribution types API](https://docs.datadoghq.com/api/latest/usage-metering/#get-usage-attribution-types).
461
459
# @param opts [Hash] the optional parameters
462
460
# @option opts [Time] :end_month Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage ending this month.
463
461
# @option opts [UsageSortDirection] :sort_direction The direction to sort by: `[desc, asc]`.
464
-
# @option opts [MonthlyUsageAttributionSupportedMetrics] :sort_name The field to sort by. The following values have been **deprecated**: `estimated_indexed_spans_usage`, `estimated_indexed_spans_percentage`, `estimated_ingested_spans_usage`, `estimated_ingested_spans_percentage`.
462
+
# @option opts [MonthlyUsageAttributionSupportedMetrics] :sort_name The field to sort by. Sort fields are in the format `<usage_type>_usage`. Example: `infra_host_usage` To obtain the complete list of usage attribution types that can be used to replace `<usage_type>` in the field names, make a request to the [Get usage attribution types API](https://docs.datadoghq.com/api/latest/usage-metering/#get-usage-attribution-types).
465
463
# @option opts [String] :tag_breakdown_keys Comma separated list of tag keys used to group usage. If no value is provided the usage will not be broken down by tags. To see which tags are available, look for the value of `tag_config_source` in the API response.
466
464
# @option opts [String] :next_record_id List following results with a next_record_id provided in the previous query.
467
465
# @option opts [Boolean] :include_descendants Include child org usage in the response. Defaults to `true`.
Copy file name to clipboardExpand all lines: lib/datadog_api_client/v1/models/hourly_usage_attribution_body.rb
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -49,8 +49,8 @@ class HourlyUsageAttributionBody
49
49
# Shows the most recent hour in the current month for all organizations where usages are calculated.
50
50
attr_accessor:updated_at
51
51
52
-
# Supported products for hourly usage attribution requests.
53
-
# The following values have been **deprecated**: `estimated_indexed_spans_usage`, `estimated_ingested_spans_usage`.
52
+
# Supported products for hourly usage attribution requests. Usage types are in the format `<usage_type>_usage`.
53
+
# To obtain the complete list of valid usage types, make a request to the [Get usage attribution types API](https://docs.datadoghq.com/api/latest/usage-metering/#get-usage-attribution-types).
Copy file name to clipboardExpand all lines: lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -17,8 +17,8 @@
17
17
require'time'
18
18
19
19
moduleDatadogAPIClient::V1
20
-
# Supported products for hourly usage attribution requests.
21
-
# The following values have been **deprecated**: `estimated_indexed_spans_usage`, `estimated_ingested_spans_usage`.
20
+
# Supported products for hourly usage attribution requests. Usage types are in the format `<usage_type>_usage`.
21
+
# To obtain the complete list of valid usage types, make a request to the [Get usage attribution types API](https://docs.datadoghq.com/api/latest/usage-metering/#get-usage-attribution-types).
Copy file name to clipboardExpand all lines: lib/datadog_api_client/v1/models/monthly_usage_attribution_body.rb
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,6 @@ class MonthlyUsageAttributionBody
47
47
attr_accessor:updated_at
48
48
49
49
# Fields in Usage Summary by tag(s).
50
-
# The following values have been **deprecated**: `estimated_indexed_spans_usage`, `estimated_indexed_spans_percentage`, `estimated_ingested_spans_usage`, `estimated_ingested_spans_percentage`.
0 commit comments