Skip to content

Commit

Permalink
Regenerate client from commit 0caba3e of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Mar 7, 2022
1 parent 18bdf1f commit 5c80384
Show file tree
Hide file tree
Showing 21 changed files with 1,207 additions and 22 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.2",
"regenerated": "2022-03-04 10:55:06.340610",
"spec_repo_commit": "9717e6d"
"regenerated": "2022-03-07 15:38:07.822107",
"spec_repo_commit": "0caba3e"
},
"v2": {
"apigentools_version": "1.6.2",
"regenerated": "2022-03-04 10:55:06.351932",
"spec_repo_commit": "9717e6d"
"regenerated": "2022-03-07 15:38:07.834603",
"spec_repo_commit": "0caba3e"
}
}
}
108 changes: 106 additions & 2 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13371,6 +13371,10 @@ components:
current month. A committer is active if they commit at least 3 times in
a given month.
type: integer
hour:
description: The hour for the usage.
format: date-time
type: string
org_name:
description: The organization name.
type: string
Expand Down Expand Up @@ -14060,6 +14064,32 @@ components:
$ref: '#/components/schemas/UsageNetworkHostsHour'
type: array
type: object
UsageOnlineArchiveHour:
description: Online Archive usage in a given hour.
properties:
hour:
description: The hour for the usage.
format: date-time
type: string
online_archive_events_count:
description: Total count of online archived events within the hour.
type: integer
org_name:
description: The organization name.
type: string
public_id:
description: The organization public ID.
type: string
type: object
UsageOnlineArchiveResponse:
description: Online Archive usage response.
properties:
usage:
description: Response containing Online Archive usage.
items:
$ref: '#/components/schemas/UsageOnlineArchiveHour'
type: array
type: object
UsageProfilingHour:
description: The number of profiled hosts for each hour for a given organization.
properties:
Expand Down Expand Up @@ -14565,6 +14595,11 @@ components:
all hours in the current date for all organizations.
format: int64
type: integer
online_archive_events_count_sum:
description: Sum of all online archived events over all hours in the current
date for all organizations.
format: int64
type: integer
opentelemetry_host_top99p:
description: Shows the 99th percentile of all hosts reported by the Datadog
exporter for the OpenTelemetry Collector over all hours in the current
Expand Down Expand Up @@ -14712,8 +14747,8 @@ components:
format: int64
type: integer
ci_test_indexed_spans_sum:
description: Shows the sum of all CI test indexed spans over all hours in
the current date for the given org.
description: Sum of all CI test indexed spans over all hours in the current
date for the given org.
format: int64
type: integer
ci_visibility_pipeline_committers_hwm:
Expand Down Expand Up @@ -14877,6 +14912,11 @@ components:
all hours in the current date for the given org.
format: int64
type: integer
online_archive_events_count_sum:
description: Sum of all online archived events over all hours in the current
date for the given org.
format: int64
type: integer
opentelemetry_host_top99p:
description: Shows the 99th percentile of all hosts reported by the Datadog
exporter for the OpenTelemetry Collector over all hours in the current
Expand Down Expand Up @@ -15213,6 +15253,11 @@ components:
all hours in the current months for all organizations.
format: int64
type: integer
online_archive_events_count_agg_sum:
description: Sum of all online archived events over all hours in the current
months for all organizations.
format: int64
type: integer
opentelemetry_host_top99p_sum:
description: Shows the 99th percentile of all hosts reported by the Datadog
exporter for the OpenTelemetry Collector over all hours in the current
Expand Down Expand Up @@ -26780,6 +26825,65 @@ paths:
x-menu-order: 14
x-undo:
type: safe
/api/v1/usage/online-archive:
get:
description: Get hourly usage for Online Archive.
operationId: GetUsageOnlineArchive
parameters:
- description: 'Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]`
for usage beginning at this hour.'
in: query
name: start_hr
required: true
schema:
format: date-time
type: string
- description: 'Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]`
for usage ending

**before** this hour.'
in: query
name: end_hr
required: false
schema:
format: date-time
type: string
responses:
'200':
content:
application/json;datetime-format=rfc3339:
schema:
$ref: '#/components/schemas/UsageOnlineArchiveResponse'
description: OK
'400':
content:
application/json;datetime-format=rfc3339:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Bad Request
'403':
content:
application/json;datetime-format=rfc3339:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Forbidden - User is not authorized
'429':
content:
application/json;datetime-format=rfc3339:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Too many requests
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- usage_read
summary: Get hourly usage for Online Archive
tags:
- Usage Metering
x-menu-order: 38
x-undo:
type: safe
/api/v1/usage/profiling:
get:
description: Get hourly usage for profiled hosts.
Expand Down
4 changes: 4 additions & 0 deletions api/v1/datadog/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,8 @@ docs/UsageNetworkFlowsHour.md
docs/UsageNetworkFlowsResponse.md
docs/UsageNetworkHostsHour.md
docs/UsageNetworkHostsResponse.md
docs/UsageOnlineArchiveHour.md
docs/UsageOnlineArchiveResponse.md
docs/UsageProfilingHour.md
docs/UsageProfilingResponse.md
docs/UsageReportsType.md
Expand Down Expand Up @@ -1347,6 +1349,8 @@ model_usage_network_flows_hour.go
model_usage_network_flows_response.go
model_usage_network_hosts_hour.go
model_usage_network_hosts_response.go
model_usage_online_archive_hour.go
model_usage_online_archive_response.go
model_usage_profiling_hour.go
model_usage_profiling_response.go
model_usage_reports_type.go
Expand Down
3 changes: 3 additions & 0 deletions api/v1/datadog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ All URIs are relative to *https://api.datadoghq.com*
| _UsageMeteringApi_ | [**GetUsageLogsByRetention**](docs/UsageMeteringApi.md#getusagelogsbyretention) | **Get** /api/v1/usage/logs-by-retention | Get hourly logs usage by retention |
| _UsageMeteringApi_ | [**GetUsageNetworkFlows**](docs/UsageMeteringApi.md#getusagenetworkflows) | **Get** /api/v1/usage/network_flows | Get hourly usage for Network Flows |
| _UsageMeteringApi_ | [**GetUsageNetworkHosts**](docs/UsageMeteringApi.md#getusagenetworkhosts) | **Get** /api/v1/usage/network_hosts | Get hourly usage for Network Hosts |
| _UsageMeteringApi_ | [**GetUsageOnlineArchive**](docs/UsageMeteringApi.md#getusageonlinearchive) | **Get** /api/v1/usage/online-archive | Get hourly usage for Online Archive |
| _UsageMeteringApi_ | [**GetUsageProfiling**](docs/UsageMeteringApi.md#getusageprofiling) | **Get** /api/v1/usage/profiling | Get hourly usage for profiled hosts |
| _UsageMeteringApi_ | [**GetUsageRumSessions**](docs/UsageMeteringApi.md#getusagerumsessions) | **Get** /api/v1/usage/rum_sessions | Get hourly usage for RUM Sessions |
| _UsageMeteringApi_ | [**GetUsageRumUnits**](docs/UsageMeteringApi.md#getusagerumunits) | **Get** /api/v1/usage/rum | Get hourly usage for RUM Units |
Expand Down Expand Up @@ -889,6 +890,8 @@ All URIs are relative to *https://api.datadoghq.com*
- [UsageNetworkFlowsResponse](docs/UsageNetworkFlowsResponse.md)
- [UsageNetworkHostsHour](docs/UsageNetworkHostsHour.md)
- [UsageNetworkHostsResponse](docs/UsageNetworkHostsResponse.md)
- [UsageOnlineArchiveHour](docs/UsageOnlineArchiveHour.md)
- [UsageOnlineArchiveResponse](docs/UsageOnlineArchiveResponse.md)
- [UsageProfilingHour](docs/UsageProfilingHour.md)
- [UsageProfilingResponse](docs/UsageProfilingResponse.md)
- [UsageReportsType](docs/UsageReportsType.md)
Expand Down
Loading

0 comments on commit 5c80384

Please sign in to comment.