Skip to content

Commit 8c28641

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
add 1 day logs to usage api docs (#1604)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 6729161 commit 8c28641

File tree

7 files changed

+55
-4
lines changed

7 files changed

+55
-4
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-04-22 13:22:17.885412",
8-
"spec_repo_commit": "c2c10f21"
7+
"regenerated": "2024-04-22 15:09:37.682395",
8+
"spec_repo_commit": "74f81c2f"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-04-22 13:22:17.904162",
13-
"spec_repo_commit": "c2c10f21"
12+
"regenerated": "2024-04-22 15:09:37.700737",
13+
"spec_repo_commit": "74f81c2f"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4126,6 +4126,7 @@ components:
41264126
- lambda_traced_invocations_usage
41274127
- logs_indexed_15day_usage
41284128
- logs_indexed_180day_usage
4129+
- logs_indexed_1day_usage
41294130
- logs_indexed_30day_usage
41304131
- logs_indexed_360day_usage
41314132
- logs_indexed_3day_usage
@@ -4196,6 +4197,7 @@ components:
41964197
- LAMBDA_TRACED_INVOCATIONS_USAGE
41974198
- LOGS_INDEXED_15DAY_USAGE
41984199
- LOGS_INDEXED_180DAY_USAGE
4200+
- LOGS_INDEXED_1DAY_USAGE
41994201
- LOGS_INDEXED_30DAY_USAGE
42004202
- LOGS_INDEXED_360DAY_USAGE
42014203
- LOGS_INDEXED_3DAY_USAGE
@@ -7900,6 +7902,8 @@ components:
79007902
- logs_indexed_7day_percentage
79017903
- logs_indexed_3day_usage
79027904
- logs_indexed_3day_percentage
7905+
- logs_indexed_1day_usage
7906+
- logs_indexed_1day_percentage
79037907
- rum_replay_sessions_usage
79047908
- rum_replay_sessions_percentage
79057909
- rum_browser_mobile_sessions_usage
@@ -8035,6 +8039,8 @@ components:
80358039
- LOGS_INDEXED_7DAY_PERCENTAGE
80368040
- LOGS_INDEXED_3DAY_USAGE
80378041
- LOGS_INDEXED_3DAY_PERCENTAGE
8042+
- LOGS_INDEXED_1DAY_USAGE
8043+
- LOGS_INDEXED_1DAY_PERCENTAGE
80388044
- RUM_REPLAY_SESSIONS_USAGE
80398045
- RUM_REPLAY_SESSIONS_PERCENTAGE
80408046
- RUM_BROWSER_MOBILE_SESSIONS_USAGE
@@ -8385,6 +8391,14 @@ components:
83858391
description: The total Indexed Logs (180-day Retention) usage by tag(s).
83868392
format: double
83878393
type: number
8394+
logs_indexed_1day_percentage:
8395+
description: The percentage of Indexed Logs (1-day Retention) usage by tag(s).
8396+
format: double
8397+
type: number
8398+
logs_indexed_1day_usage:
8399+
description: The total Indexed Logs (1-day Retention) usage by tag(s).
8400+
format: double
8401+
type: number
83888402
logs_indexed_30day_percentage:
83898403
description: The percentage of Indexed Logs (30-day Retention) usage by
83908404
tag(s).
@@ -17189,6 +17203,8 @@ components:
1718917203
$ref: '#/components/schemas/UsageBillableSummaryBody'
1719017204
logs_indexed_180day_sum:
1719117205
$ref: '#/components/schemas/UsageBillableSummaryBody'
17206+
logs_indexed_1day_sum:
17207+
$ref: '#/components/schemas/UsageBillableSummaryBody'
1719217208
logs_indexed_30day_sum:
1719317209
$ref: '#/components/schemas/UsageBillableSummaryBody'
1719417210
logs_indexed_360day_sum:

packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export type HourlyUsageAttributionUsageType =
5353
| typeof LAMBDA_TRACED_INVOCATIONS_USAGE
5454
| typeof LOGS_INDEXED_15DAY_USAGE
5555
| typeof LOGS_INDEXED_180DAY_USAGE
56+
| typeof LOGS_INDEXED_1DAY_USAGE
5657
| typeof LOGS_INDEXED_30DAY_USAGE
5758
| typeof LOGS_INDEXED_360DAY_USAGE
5859
| typeof LOGS_INDEXED_3DAY_USAGE
@@ -128,6 +129,7 @@ export const LAMBDA_TRACED_INVOCATIONS_USAGE =
128129
"lambda_traced_invocations_usage";
129130
export const LOGS_INDEXED_15DAY_USAGE = "logs_indexed_15day_usage";
130131
export const LOGS_INDEXED_180DAY_USAGE = "logs_indexed_180day_usage";
132+
export const LOGS_INDEXED_1DAY_USAGE = "logs_indexed_1day_usage";
131133
export const LOGS_INDEXED_30DAY_USAGE = "logs_indexed_30day_usage";
132134
export const LOGS_INDEXED_360DAY_USAGE = "logs_indexed_360day_usage";
133135
export const LOGS_INDEXED_3DAY_USAGE = "logs_indexed_3day_usage";

packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ export type MonthlyUsageAttributionSupportedMetrics =
133133
| typeof LOGS_INDEXED_7DAY_PERCENTAGE
134134
| typeof LOGS_INDEXED_3DAY_USAGE
135135
| typeof LOGS_INDEXED_3DAY_PERCENTAGE
136+
| typeof LOGS_INDEXED_1DAY_USAGE
137+
| typeof LOGS_INDEXED_1DAY_PERCENTAGE
136138
| typeof RUM_REPLAY_SESSIONS_USAGE
137139
| typeof RUM_REPLAY_SESSIONS_PERCENTAGE
138140
| typeof RUM_BROWSER_MOBILE_SESSIONS_USAGE
@@ -289,6 +291,8 @@ export const LOGS_INDEXED_7DAY_USAGE = "logs_indexed_7day_usage";
289291
export const LOGS_INDEXED_7DAY_PERCENTAGE = "logs_indexed_7day_percentage";
290292
export const LOGS_INDEXED_3DAY_USAGE = "logs_indexed_3day_usage";
291293
export const LOGS_INDEXED_3DAY_PERCENTAGE = "logs_indexed_3day_percentage";
294+
export const LOGS_INDEXED_1DAY_USAGE = "logs_indexed_1day_usage";
295+
export const LOGS_INDEXED_1DAY_PERCENTAGE = "logs_indexed_1day_percentage";
292296
export const RUM_REPLAY_SESSIONS_USAGE = "rum_replay_sessions_usage";
293297
export const RUM_REPLAY_SESSIONS_PERCENTAGE = "rum_replay_sessions_percentage";
294298
export const RUM_BROWSER_MOBILE_SESSIONS_USAGE =

packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,14 @@ export class MonthlyUsageAttributionValues {
330330
* The total Indexed Logs (180-day Retention) usage by tag(s).
331331
*/
332332
"logsIndexed180dayUsage"?: number;
333+
/**
334+
* The percentage of Indexed Logs (1-day Retention) usage by tag(s).
335+
*/
336+
"logsIndexed1dayPercentage"?: number;
337+
/**
338+
* The total Indexed Logs (1-day Retention) usage by tag(s).
339+
*/
340+
"logsIndexed1dayUsage"?: number;
333341
/**
334342
* The percentage of Indexed Logs (30-day Retention) usage by tag(s).
335343
*/
@@ -955,6 +963,16 @@ export class MonthlyUsageAttributionValues {
955963
type: "number",
956964
format: "double",
957965
},
966+
logsIndexed1dayPercentage: {
967+
baseName: "logs_indexed_1day_percentage",
968+
type: "number",
969+
format: "double",
970+
},
971+
logsIndexed1dayUsage: {
972+
baseName: "logs_indexed_1day_usage",
973+
type: "number",
974+
format: "double",
975+
},
958976
logsIndexed30dayPercentage: {
959977
baseName: "logs_indexed_30day_percentage",
960978
type: "number",

packages/datadog-api-client-v1/models/ObjectSerializer.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -802,6 +802,7 @@ const enumsMap: { [key: string]: any[] } = {
802802
"lambda_traced_invocations_usage",
803803
"logs_indexed_15day_usage",
804804
"logs_indexed_180day_usage",
805+
"logs_indexed_1day_usage",
805806
"logs_indexed_30day_usage",
806807
"logs_indexed_360day_usage",
807808
"logs_indexed_3day_usage",
@@ -1076,6 +1077,8 @@ const enumsMap: { [key: string]: any[] } = {
10761077
"logs_indexed_7day_percentage",
10771078
"logs_indexed_3day_usage",
10781079
"logs_indexed_3day_percentage",
1080+
"logs_indexed_1day_usage",
1081+
"logs_indexed_1day_percentage",
10791082
"rum_replay_sessions_usage",
10801083
"rum_replay_sessions_percentage",
10811084
"rum_browser_mobile_sessions_usage",

packages/datadog-api-client-v1/models/UsageBillableSummaryKeys.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,10 @@ export class UsageBillableSummaryKeys {
219219
* Response with properties for each aggregated usage type.
220220
*/
221221
"logsIndexed180daySum"?: UsageBillableSummaryBody;
222+
/**
223+
* Response with properties for each aggregated usage type.
224+
*/
225+
"logsIndexed1daySum"?: UsageBillableSummaryBody;
222226
/**
223227
* Response with properties for each aggregated usage type.
224228
*/
@@ -588,6 +592,10 @@ export class UsageBillableSummaryKeys {
588592
baseName: "logs_indexed_180day_sum",
589593
type: "UsageBillableSummaryBody",
590594
},
595+
logsIndexed1daySum: {
596+
baseName: "logs_indexed_1day_sum",
597+
type: "UsageBillableSummaryBody",
598+
},
591599
logsIndexed30daySum: {
592600
baseName: "logs_indexed_30day_sum",
593601
type: "UsageBillableSummaryBody",

0 commit comments

Comments
 (0)