Skip to content

Commit ac890ff

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add llm_spans and deprecate llm_observability for Hourly Usage Attribution and Monthly Usage Attribution (#2850)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 2621605 commit ac890ff

File tree

5 files changed

+49
-7
lines changed

5 files changed

+49
-7
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4315,6 +4315,7 @@ components:
43154315
- invocations_usage
43164316
- lambda_traced_invocations_usage
43174317
- llm_observability_usage
4318+
- llm_spans_usage
43184319
- logs_indexed_15day_usage
43194320
- logs_indexed_180day_usage
43204321
- logs_indexed_1day_usage
@@ -4396,6 +4397,7 @@ components:
43964397
- INVOCATIONS_USAGE
43974398
- LAMBDA_TRACED_INVOCATIONS_USAGE
43984399
- LLM_OBSERVABILITY_USAGE
4400+
- LLM_SPANS_USAGE
43994401
- LOGS_INDEXED_15DAY_USAGE
44004402
- LOGS_INDEXED_180DAY_USAGE
44014403
- LOGS_INDEXED_1DAY_USAGE
@@ -8752,6 +8754,8 @@ components:
87528754
- lambda_traced_invocations_percentage
87538755
- llm_observability_usage
87548756
- llm_observability_percentage
8757+
- llm_spans_usage
8758+
- llm_spans_percentage
87558759
- mobile_app_testing_percentage
87568760
- mobile_app_testing_usage
87578761
- ndm_netflow_usage
@@ -8909,6 +8913,8 @@ components:
89098913
- LAMBDA_TRACED_INVOCATIONS_PERCENTAGE
89108914
- LLM_OBSERVABILITY_USAGE
89118915
- LLM_OBSERVABILITY_PERCENTAGE
8916+
- LLM_SPANS_USAGE
8917+
- LLM_SPANS_PERCENTAGE
89128918
- MOBILE_APP_TESTING_USAGE
89138919
- MOBILE_APP_TESTING_PERCENTAGE
89148920
- NDM_NETFLOW_USAGE
@@ -9329,6 +9335,14 @@ components:
93299335
description: The LLM Observability usage by tag(s).
93309336
format: double
93319337
type: number
9338+
llm_spans_percentage:
9339+
description: The percentage of LLM Spans usage by tag(s).
9340+
format: double
9341+
type: number
9342+
llm_spans_usage:
9343+
description: The LLM Spans usage by tag(s).
9344+
format: double
9345+
type: number
93329346
logs_indexed_15day_percentage:
93339347
description: The percentage of Indexed Logs (15-day Retention) usage by
93349348
tag(s).
@@ -36599,7 +36613,10 @@ paths:
3659936613
code example:\n\n```\nresponse := GetHourlyUsageAttribution(start_month)\ncursor
3660036614
:= response.metadata.pagination.next_record_id\nWHILE cursor != null BEGIN\n
3660136615
\ sleep(5 seconds) # Avoid running into rate limit\n response := GetHourlyUsageAttribution(start_month,
36602-
next_record_id=cursor)\n cursor := response.metadata.pagination.next_record_id\nEND\n```"
36616+
next_record_id=cursor)\n cursor := response.metadata.pagination.next_record_id\nEND\n```\nThe
36617+
following values have been **deprecated**:\n `estimated_indexed_spans_usage`,
36618+
`estimated_indexed_spans_percentage`, `estimated_ingested_spans_usage`, `estimated_ingested_spans_percentage`,
36619+
`llm_observability_usage`, `llm_observability_percentage`."
3660336620
operationId: GetHourlyUsageAttribution
3660436621
parameters:
3660536622
- description: 'Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]`
@@ -37178,7 +37195,7 @@ paths:
3717837195
The following values have been **deprecated**:
3717937196

3718037197
`estimated_indexed_spans_usage`, `estimated_indexed_spans_percentage`, `estimated_ingested_spans_usage`,
37181-
`estimated_ingested_spans_percentage`.'
37198+
`estimated_ingested_spans_percentage`, `llm_observability_usage`, `llm_observability_percentage`.'
3718237199
in: query
3718337200
name: fields
3718437201
required: true

0 commit comments

Comments
 (0)