Skip to content

Commit

Permalink
Regenerate client from commit cbb6f12 of spec repo (#357)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Nov 12, 2021
1 parent 2d4f905 commit abb8367
Show file tree
Hide file tree
Showing 17 changed files with 834 additions and 13 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.5.1.dev2",
"regenerated": "2021-11-12 15:05:10.211771",
"spec_repo_commit": "c588c56"
"regenerated": "2021-11-12 16:34:44.905327",
"spec_repo_commit": "cbb6f12"
},
"v2": {
"apigentools_version": "1.5.1.dev2",
"regenerated": "2021-11-12 15:05:10.240638",
"spec_repo_commit": "c588c56"
"regenerated": "2021-11-12 16:34:44.931401",
"spec_repo_commit": "cbb6f12"
}
}
}
198 changes: 193 additions & 5 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12838,6 +12838,52 @@ components:
$ref: '#/components/schemas/UsageRumSessionsHour'
type: array
type: object
UsageRumUnitsHour:
description: Number of RUM Units used for each hour for a given organization
(data available as of November 1, 2021).
properties:
browser_rum_lite_session_count:
description: Number of browser RUM lite sessions.
format: int64
type: integer
browser_rum_replay_session_count:
description: Number of browser RUM replay sessions.
format: int64
type: integer
browser_rum_units:
description: The number of browser RUM units.
format: int64
type: integer
mobile_rum_lite_session_count:
description: Number of mobile RUM lite sessions.
format: int64
type: integer
mobile_rum_units:
description: The number of mobile RUM units.
format: int64
type: integer
org_name:
description: The organization name.
type: string
public_id:
description: The organization public ID.
type: string
rum_units:
description: Total RUM units across mobile and browser RUM.
format: int64
nullable: true
type: integer
type: object
UsageRumUnitsResponse:
description: Response containing the number of RUM Units for each hour for a
given organization.
properties:
usage:
description: Get hourly usage for RUM Units.
items:
$ref: '#/components/schemas/UsageRumUnitsHour'
type: array
type: object
UsageSDSHour:
description: Sensitive Data Scanner usage for a given organization for a given
hour.
Expand Down Expand Up @@ -13024,6 +13070,21 @@ components:
current date for all organizations.
format: int64
type: integer
browser_rum_lite_session_count_sum:
description: Shows the sum of all browser lite sessions over all hours in
the current date for all organizations.
format: int64
type: integer
browser_rum_replay_session_count_sum:
description: Shows the sum of all browser replay sessions over all hours
in the current date for all organizations.
format: int64
type: integer
browser_rum_units_sum:
description: Shows the sum of all browser RUM units over all hours in the
current date for all organizations.
format: int64
type: integer
container_avg:
description: Shows the average of all distinct containers over all hours
in the current date for all organizations.
Expand Down Expand Up @@ -13128,6 +13189,11 @@ components:
in the current date all organizations.
format: int64
type: integer
mobile_rum_lite_session_count_sum:
description: Shows the sum of all mobile lite sessions over all hours in
the current date for all organizations.
format: int64
type: integer
mobile_rum_session_count_android_sum:
description: Shows the sum of all mobile RUM Sessions on Android over all
hours in the current date for all organizations.
Expand All @@ -13143,6 +13209,11 @@ components:
the current date for all organizations
format: int64
type: integer
mobile_rum_units_sum:
description: Shows the sum of all mobile RUM units over all hours in the
current date for all organizations.
format: int64
type: integer
netflow_indexed_events_count_sum:
description: Shows the sum of all Network flows indexed over all hours in
the current date for all organizations.
Expand Down Expand Up @@ -13179,6 +13250,11 @@ components:
hours in the current date for all organizations.
format: int64
type: integer
rum_units_sum:
description: Shows the sum of all browser and mobile RUM units over all
hours in the current date for all organizations.
format: int64
type: integer
sds_logs_scanned_bytes_sum:
description: Shows the sum of all bytes scanned of logs usage by the Sensitive
Data Scanner over all hours in the current month for all organizations.
Expand Down Expand Up @@ -13265,6 +13341,21 @@ components:
current date for the given org.
format: int64
type: integer
browser_rum_lite_session_count_sum:
description: Shows the sum of all browser lite sessions over all hours in
the current date for the given org.
format: int64
type: integer
browser_rum_replay_session_count_sum:
description: Shows the sum of all browser replay sessions over all hours
in the current date for the given org.
format: int64
type: integer
browser_rum_units_sum:
description: Shows the sum of all browser RUM units over all hours in the
current date for the given org.
format: int64
type: integer
container_avg:
description: Shows the average of all distinct containers over all hours
in the current date for the given org.
Expand Down Expand Up @@ -13307,12 +13398,12 @@ components:
type: integer
dbm_host_top99p_sum:
description: Shows the 99th percentile of all Database Monitoring hosts
over all hours in the current month for all organizations.
over all hours in the current month for the given org.
format: int64
type: integer
dbm_queries_avg_sum:
description: Shows the average of all distinct Database Monitoring normalized
queries over all hours in the current month for all organizations.
queries over all hours in the current month for the given org.
format: int64
type: integer
fargate_tasks_count_avg:
Expand Down Expand Up @@ -13367,6 +13458,11 @@ components:
in the current date for the given org.
format: int64
type: integer
mobile_rum_lite_session_count_sum:
description: Shows the sum of all mobile lite sessions over all hours in
the current date for the given org.
format: int64
type: integer
mobile_rum_session_count_android_sum:
description: Shows the sum of all mobile RUM Sessions on Android over all
hours in the current date for the given org.
Expand All @@ -13382,6 +13478,11 @@ components:
the current date for the given org.
format: int64
type: integer
mobile_rum_units_sum:
description: Shows the sum of all mobile RUM units over all hours in the
current date for the given org.
format: int64
type: integer
name:
description: The organization name.
type: string
Expand Down Expand Up @@ -13419,15 +13520,20 @@ components:
hours in the current date for the given org.
format: int64
type: integer
rum_units_sum:
description: Shows the sum of all browser and mobile RUM units over all
hours in the current date for the given org.
format: int64
type: integer
sds_logs_scanned_bytes_sum:
description: Shows the sum of all bytes scanned of logs usage by the Sensitive
Data Scanner over all hours in the current month for all organizations.
Data Scanner over all hours in the current month for the given org.
format: int64
type: integer
sds_total_scanned_bytes_sum:
description: Shows the sum of all bytes scanned across all usage types by
the Sensitive Data Scanner over all hours in the current month for all
organizations.
the Sensitive Data Scanner over all hours in the current month for the
given org.
format: int64
type: integer
synthetics_browser_check_calls_count_sum:
Expand Down Expand Up @@ -13510,6 +13616,21 @@ components:
current months for all organizations.
format: int64
type: integer
browser_rum_lite_session_count_agg_sum:
description: Shows the sum of all browser lite sessions over all hours in
the current months for all organizations.
format: int64
type: integer
browser_rum_replay_session_count_agg_sum:
description: Shows the sum of all browser replay sessions over all hours
in the current months for all organizations.
format: int64
type: integer
browser_rum_units_agg_sum:
description: Shows the sum of all browser RUM units over all hours in the
current months for all organizations.
format: int64
type: integer
container_avg_sum:
description: Shows the average of all distinct containers over all hours
in the current months for all organizations.
Expand Down Expand Up @@ -13635,6 +13756,11 @@ components:
type: integer
logs_by_retention:
$ref: '#/components/schemas/LogsByRetention'
mobile_rum_lite_session_count_agg_sum:
description: Shows the sum of all mobile lite sessions over all hours in
the current months for all organizations.
format: int64
type: integer
mobile_rum_session_count_agg_sum:
description: Shows the sum of all mobile RUM Sessions over all hours in
the current months for all organizations.
Expand All @@ -13650,6 +13776,11 @@ components:
in the current months for all organizations.
format: int64
type: integer
mobile_rum_units_agg_sum:
description: Shows the sum of all mobile RUM units over all hours in the
current months for all organizations.
format: int64
type: integer
netflow_indexed_events_count_agg_sum:
description: Shows the sum of all Network flows indexed over all hours in
the current months for all organizations.
Expand Down Expand Up @@ -13698,6 +13829,11 @@ components:
hours in the current months for all organizations.
format: int64
type: integer
rum_units_agg_sum:
description: Shows the sum of all browser and mobile RUM units over all
hours in the current months for all organizations.
format: int64
type: integer
sds_logs_scanned_bytes_sum:
description: Shows the sum of all bytes scanned of logs usage by the Sensitive
Data Scanner over all hours in the current month for all organizations.
Expand Down Expand Up @@ -24270,6 +24406,58 @@ paths:
x-menu-order: 24
x-undo:
type: safe
/api/v1/usage/rum:
get:
description: Get hourly usage for [RUM](https://docs.datadoghq.com/real_user_monitoring/)
Units.
operationId: GetUsageRumUnits
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/UsageRumUnitsResponse'
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
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- usage_read
summary: Get hourly usage for RUM Units
tags:
- Usage Metering
x-menu-order: 35
x-undo:
type: safe
/api/v1/usage/rum_sessions:
get:
description: Get hourly usage for [RUM](https://docs.datadoghq.com/real_user_monitoring/)
Expand Down
Loading

0 comments on commit abb8367

Please sign in to comment.