Skip to content

Commit 0ce9909

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add new bits_ai usage attribution type to Usage Attribution Public API Documentation (#3216)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 2b8f7b6 commit 0ce9909

5 files changed

Lines changed: 42 additions & 0 deletions

File tree

.generator/schemas/v1/openapi.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4281,6 +4281,7 @@ components:
42814281
- appsec_usage
42824282
- asm_serverless_traced_invocations_usage
42834283
- asm_serverless_traced_invocations_percentage
4284+
- bits_ai_investigations_usage
42844285
- browser_usage
42854286
- ci_pipeline_indexed_spans_usage
42864287
- ci_test_indexed_spans_usage
@@ -4364,6 +4365,7 @@ components:
43644365
- APPSEC_USAGE
43654366
- ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE
43664367
- ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE
4368+
- BITS_AI_INVESTIGATIONS_USAGE
43674369
- BROWSER_USAGE
43684370
- CI_PIPELINE_INDEXED_SPANS_USAGE
43694371
- CI_TEST_INDEXED_SPANS_USAGE
@@ -8702,6 +8704,8 @@ components:
87028704
- appsec_percentage
87038705
- asm_serverless_traced_invocations_usage
87048706
- asm_serverless_traced_invocations_percentage
8707+
- bits_ai_investigations_usage
8708+
- bits_ai_investigations_percentage
87058709
- browser_usage
87068710
- browser_percentage
87078711
- ci_visibility_itr_usage
@@ -8863,6 +8867,8 @@ components:
88638867
- APPSEC_PERCENTAGE
88648868
- ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE
88658869
- ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE
8870+
- BITS_AI_INVESTIGATIONS_USAGE
8871+
- BITS_AI_INVESTIGATIONS_PERCENTAGE
88668872
- BROWSER_USAGE
88678873
- BROWSER_PERCENTAGE
88688874
- CI_VISIBILITY_ITR_USAGE
@@ -9076,6 +9082,14 @@ components:
90769082
usage by tag(s).
90779083
format: double
90789084
type: number
9085+
bits_ai_investigations_percentage:
9086+
description: The percentage of Bits AI `SRE` investigation usage by tag(s).
9087+
format: double
9088+
type: number
9089+
bits_ai_investigations_usage:
9090+
description: The Bits AI `SRE` investigation usage by tag(s).
9091+
format: double
9092+
type: number
90799093
browser_percentage:
90809094
description: The percentage of synthetic browser test usage by tag(s).
90819095
format: double

services/usage_metering/src/v1/models/HourlyUsageAttributionUsageType.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export type HourlyUsageAttributionUsageType =
1313
| typeof APPSEC_USAGE
1414
| typeof ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE
1515
| typeof ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE
16+
| typeof BITS_AI_INVESTIGATIONS_USAGE
1617
| typeof BROWSER_USAGE
1718
| typeof CI_PIPELINE_INDEXED_SPANS_USAGE
1819
| typeof CI_TEST_INDEXED_SPANS_USAGE
@@ -97,6 +98,7 @@ export const ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE =
9798
"asm_serverless_traced_invocations_usage";
9899
export const ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE =
99100
"asm_serverless_traced_invocations_percentage";
101+
export const BITS_AI_INVESTIGATIONS_USAGE = "bits_ai_investigations_usage";
100102
export const BROWSER_USAGE = "browser_usage";
101103
export const CI_PIPELINE_INDEXED_SPANS_USAGE =
102104
"ci_pipeline_indexed_spans_usage";

services/usage_metering/src/v1/models/MonthlyUsageAttributionSupportedMetrics.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ export type MonthlyUsageAttributionSupportedMetrics =
1818
| typeof APPSEC_PERCENTAGE
1919
| typeof ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE
2020
| typeof ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE
21+
| typeof BITS_AI_INVESTIGATIONS_USAGE
22+
| typeof BITS_AI_INVESTIGATIONS_PERCENTAGE
2123
| typeof BROWSER_USAGE
2224
| typeof BROWSER_PERCENTAGE
2325
| typeof CI_VISIBILITY_ITR_USAGE
@@ -180,6 +182,9 @@ export const ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE =
180182
"asm_serverless_traced_invocations_usage";
181183
export const ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE =
182184
"asm_serverless_traced_invocations_percentage";
185+
export const BITS_AI_INVESTIGATIONS_USAGE = "bits_ai_investigations_usage";
186+
export const BITS_AI_INVESTIGATIONS_PERCENTAGE =
187+
"bits_ai_investigations_percentage";
183188
export const BROWSER_USAGE = "browser_usage";
184189
export const BROWSER_PERCENTAGE = "browser_percentage";
185190
export const CI_VISIBILITY_ITR_USAGE = "ci_visibility_itr_usage";

services/usage_metering/src/v1/models/MonthlyUsageAttributionValues.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,14 @@ export class MonthlyUsageAttributionValues {
6161
* The Application Security Monitoring Serverless traced invocations usage by tag(s).
6262
*/
6363
"asmServerlessTracedInvocationsUsage"?: number;
64+
/**
65+
* The percentage of Bits AI `SRE` investigation usage by tag(s).
66+
*/
67+
"bitsAiInvestigationsPercentage"?: number;
68+
/**
69+
* The Bits AI `SRE` investigation usage by tag(s).
70+
*/
71+
"bitsAiInvestigationsUsage"?: number;
6472
/**
6573
* The percentage of synthetic browser test usage by tag(s).
6674
*/
@@ -714,6 +722,16 @@ export class MonthlyUsageAttributionValues {
714722
type: "number",
715723
format: "double",
716724
},
725+
bitsAiInvestigationsPercentage: {
726+
baseName: "bits_ai_investigations_percentage",
727+
type: "number",
728+
format: "double",
729+
},
730+
bitsAiInvestigationsUsage: {
731+
baseName: "bits_ai_investigations_usage",
732+
type: "number",
733+
format: "double",
734+
},
717735
browserPercentage: {
718736
baseName: "browser_percentage",
719737
type: "number",

services/usage_metering/src/v1/models/TypingInfo.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ export const TypingInfo: ModelTypingInfo = {
106106
"appsec_usage",
107107
"asm_serverless_traced_invocations_usage",
108108
"asm_serverless_traced_invocations_percentage",
109+
"bits_ai_investigations_usage",
109110
"browser_usage",
110111
"ci_pipeline_indexed_spans_usage",
111112
"ci_test_indexed_spans_usage",
@@ -195,6 +196,8 @@ export const TypingInfo: ModelTypingInfo = {
195196
"appsec_percentage",
196197
"asm_serverless_traced_invocations_usage",
197198
"asm_serverless_traced_invocations_percentage",
199+
"bits_ai_investigations_usage",
200+
"bits_ai_investigations_percentage",
198201
"browser_usage",
199202
"browser_percentage",
200203
"ci_visibility_itr_usage",

0 commit comments

Comments
 (0)