@@ -12822,6 +12822,52 @@ components:
1282212822 $ref: '#/components/schemas/UsageRumSessionsHour'
1282312823 type: array
1282412824 type: object
12825+ UsageRumUnitsHour:
12826+ description: Number of RUM Units used for each hour for a given organization
12827+ (data available as of November 1, 2021).
12828+ properties:
12829+ browser_rum_lite_session_count:
12830+ description: Number of browser RUM lite sessions.
12831+ format: int64
12832+ type: integer
12833+ browser_rum_replay_session_count:
12834+ description: Number of browser RUM replay sessions.
12835+ format: int64
12836+ type: integer
12837+ browser_rum_units:
12838+ description: The number of browser RUM units.
12839+ format: int64
12840+ type: integer
12841+ mobile_rum_lite_session_count:
12842+ description: Number of mobile RUM lite sessions.
12843+ format: int64
12844+ type: integer
12845+ mobile_rum_units:
12846+ description: The number of mobile RUM units.
12847+ format: int64
12848+ type: integer
12849+ org_name:
12850+ description: The organization name.
12851+ type: string
12852+ public_id:
12853+ description: The organization public ID.
12854+ type: string
12855+ rum_units:
12856+ description: Total RUM units across mobile and browser RUM.
12857+ format: int64
12858+ nullable: true
12859+ type: integer
12860+ type: object
12861+ UsageRumUnitsResponse:
12862+ description: Response containing the number of RUM Units for each hour for a
12863+ given organization.
12864+ properties:
12865+ usage:
12866+ description: Get hourly usage for RUM Units.
12867+ items:
12868+ $ref: '#/components/schemas/UsageRumUnitsHour'
12869+ type: array
12870+ type: object
1282512871 UsageSDSHour:
1282612872 description: Sensitive Data Scanner usage for a given organization for a given
1282712873 hour.
@@ -13008,6 +13054,21 @@ components:
1300813054 current date for all organizations.
1300913055 format: int64
1301013056 type: integer
13057+ browser_rum_lite_session_count_sum:
13058+ description: Shows the sum of all browser lite sessions over all hours in
13059+ the current date for all organizations.
13060+ format: int64
13061+ type: integer
13062+ browser_rum_replay_session_count_sum:
13063+ description: Shows the sum of all browser replay sessions over all hours
13064+ in the current date for all organizations.
13065+ format: int64
13066+ type: integer
13067+ browser_rum_units_sum:
13068+ description: Shows the sum of all browser RUM units over all hours in the
13069+ current date for all organizations.
13070+ format: int64
13071+ type: integer
1301113072 container_avg:
1301213073 description: Shows the average of all distinct containers over all hours
1301313074 in the current date for all organizations.
@@ -13112,6 +13173,11 @@ components:
1311213173 in the current date all organizations.
1311313174 format: int64
1311413175 type: integer
13176+ mobile_rum_lite_session_count_sum:
13177+ description: Shows the sum of all mobile lite sessions over all hours in
13178+ the current date for all organizations.
13179+ format: int64
13180+ type: integer
1311513181 mobile_rum_session_count_android_sum:
1311613182 description: Shows the sum of all mobile RUM Sessions on Android over all
1311713183 hours in the current date for all organizations.
@@ -13127,6 +13193,11 @@ components:
1312713193 the current date for all organizations
1312813194 format: int64
1312913195 type: integer
13196+ mobile_rum_units_sum:
13197+ description: Shows the sum of all mobile RUM units over all hours in the
13198+ current date for all organizations.
13199+ format: int64
13200+ type: integer
1313013201 netflow_indexed_events_count_sum:
1313113202 description: Shows the sum of all Network flows indexed over all hours in
1313213203 the current date for all organizations.
@@ -13163,6 +13234,11 @@ components:
1316313234 hours in the current date for all organizations.
1316413235 format: int64
1316513236 type: integer
13237+ rum_units_sum:
13238+ description: Shows the sum of all browser and mobile RUM units over all
13239+ hours in the current date for all organizations.
13240+ format: int64
13241+ type: integer
1316613242 sds_logs_scanned_bytes_sum:
1316713243 description: Shows the sum of all bytes scanned of logs usage by the Sensitive
1316813244 Data Scanner over all hours in the current month for all organizations.
@@ -13249,6 +13325,21 @@ components:
1324913325 current date for the given org.
1325013326 format: int64
1325113327 type: integer
13328+ browser_rum_lite_session_count_sum:
13329+ description: Shows the sum of all browser lite sessions over all hours in
13330+ the current date for the given org.
13331+ format: int64
13332+ type: integer
13333+ browser_rum_replay_session_count_sum:
13334+ description: Shows the sum of all browser replay sessions over all hours
13335+ in the current date for the given org.
13336+ format: int64
13337+ type: integer
13338+ browser_rum_units_sum:
13339+ description: Shows the sum of all browser RUM units over all hours in the
13340+ current date for the given org.
13341+ format: int64
13342+ type: integer
1325213343 container_avg:
1325313344 description: Shows the average of all distinct containers over all hours
1325413345 in the current date for the given org.
@@ -13291,12 +13382,12 @@ components:
1329113382 type: integer
1329213383 dbm_host_top99p_sum:
1329313384 description: Shows the 99th percentile of all Database Monitoring hosts
13294- over all hours in the current month for all organizations .
13385+ over all hours in the current month for the given org .
1329513386 format: int64
1329613387 type: integer
1329713388 dbm_queries_avg_sum:
1329813389 description: Shows the average of all distinct Database Monitoring normalized
13299- queries over all hours in the current month for all organizations .
13390+ queries over all hours in the current month for the given org .
1330013391 format: int64
1330113392 type: integer
1330213393 fargate_tasks_count_avg:
@@ -13351,6 +13442,11 @@ components:
1335113442 in the current date for the given org.
1335213443 format: int64
1335313444 type: integer
13445+ mobile_rum_lite_session_count_sum:
13446+ description: Shows the sum of all mobile lite sessions over all hours in
13447+ the current date for the given org.
13448+ format: int64
13449+ type: integer
1335413450 mobile_rum_session_count_android_sum:
1335513451 description: Shows the sum of all mobile RUM Sessions on Android over all
1335613452 hours in the current date for the given org.
@@ -13366,6 +13462,11 @@ components:
1336613462 the current date for the given org.
1336713463 format: int64
1336813464 type: integer
13465+ mobile_rum_units_sum:
13466+ description: Shows the sum of all mobile RUM units over all hours in the
13467+ current date for the given org.
13468+ format: int64
13469+ type: integer
1336913470 name:
1337013471 description: The organization name.
1337113472 type: string
@@ -13403,15 +13504,20 @@ components:
1340313504 hours in the current date for the given org.
1340413505 format: int64
1340513506 type: integer
13507+ rum_units_sum:
13508+ description: Shows the sum of all browser and mobile RUM units over all
13509+ hours in the current date for the given org.
13510+ format: int64
13511+ type: integer
1340613512 sds_logs_scanned_bytes_sum:
1340713513 description: Shows the sum of all bytes scanned of logs usage by the Sensitive
13408- Data Scanner over all hours in the current month for all organizations .
13514+ Data Scanner over all hours in the current month for the given org .
1340913515 format: int64
1341013516 type: integer
1341113517 sds_total_scanned_bytes_sum:
1341213518 description: Shows the sum of all bytes scanned across all usage types by
13413- the Sensitive Data Scanner over all hours in the current month for all
13414- organizations .
13519+ the Sensitive Data Scanner over all hours in the current month for the
13520+ given org .
1341513521 format: int64
1341613522 type: integer
1341713523 synthetics_browser_check_calls_count_sum:
@@ -13494,6 +13600,21 @@ components:
1349413600 current months for all organizations.
1349513601 format: int64
1349613602 type: integer
13603+ browser_rum_lite_session_count_agg_sum:
13604+ description: Shows the sum of all browser lite sessions over all hours in
13605+ the current months for all organizations.
13606+ format: int64
13607+ type: integer
13608+ browser_rum_replay_session_count_agg_sum:
13609+ description: Shows the sum of all browser replay sessions over all hours
13610+ in the current months for all organizations.
13611+ format: int64
13612+ type: integer
13613+ browser_rum_units_agg_sum:
13614+ description: Shows the sum of all browser RUM units over all hours in the
13615+ current months for all organizations.
13616+ format: int64
13617+ type: integer
1349713618 container_avg_sum:
1349813619 description: Shows the average of all distinct containers over all hours
1349913620 in the current months for all organizations.
@@ -13619,6 +13740,11 @@ components:
1361913740 type: integer
1362013741 logs_by_retention:
1362113742 $ref: '#/components/schemas/LogsByRetention'
13743+ mobile_rum_lite_session_count_agg_sum:
13744+ description: Shows the sum of all mobile lite sessions over all hours in
13745+ the current months for all organizations.
13746+ format: int64
13747+ type: integer
1362213748 mobile_rum_session_count_agg_sum:
1362313749 description: Shows the sum of all mobile RUM Sessions over all hours in
1362413750 the current months for all organizations.
@@ -13634,6 +13760,11 @@ components:
1363413760 in the current months for all organizations.
1363513761 format: int64
1363613762 type: integer
13763+ mobile_rum_units_agg_sum:
13764+ description: Shows the sum of all mobile RUM units over all hours in the
13765+ current months for all organizations.
13766+ format: int64
13767+ type: integer
1363713768 netflow_indexed_events_count_agg_sum:
1363813769 description: Shows the sum of all Network flows indexed over all hours in
1363913770 the current months for all organizations.
@@ -13682,6 +13813,11 @@ components:
1368213813 hours in the current months for all organizations.
1368313814 format: int64
1368413815 type: integer
13816+ rum_units_agg_sum:
13817+ description: Shows the sum of all browser and mobile RUM units over all
13818+ hours in the current months for all organizations.
13819+ format: int64
13820+ type: integer
1368513821 sds_logs_scanned_bytes_sum:
1368613822 description: Shows the sum of all bytes scanned of logs usage by the Sensitive
1368713823 Data Scanner over all hours in the current month for all organizations.
@@ -24254,6 +24390,58 @@ paths:
2425424390 x-menu-order: 24
2425524391 x-undo:
2425624392 type: safe
24393+ /api/v1/usage/rum:
24394+ get:
24395+ description: Get hourly usage for [RUM](https://docs.datadoghq.com/real_user_monitoring/)
24396+ Units.
24397+ operationId: GetUsageRumUnits
24398+ parameters:
24399+ - description: 'Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
24400+ for usage beginning at this hour.'
24401+ in: query
24402+ name: start_hr
24403+ required: true
24404+ schema:
24405+ format: date-time
24406+ type: string
24407+ - description: 'Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
24408+ for usage ending **before** this hour.'
24409+ in: query
24410+ name: end_hr
24411+ required: false
24412+ schema:
24413+ format: date-time
24414+ type: string
24415+ responses:
24416+ '200':
24417+ content:
24418+ application/json;datetime-format=rfc3339:
24419+ schema:
24420+ $ref: '#/components/schemas/UsageRumUnitsResponse'
24421+ description: OK
24422+ '400':
24423+ content:
24424+ application/json;datetime-format=rfc3339:
24425+ schema:
24426+ $ref: '#/components/schemas/APIErrorResponse'
24427+ description: Bad Request
24428+ '403':
24429+ content:
24430+ application/json;datetime-format=rfc3339:
24431+ schema:
24432+ $ref: '#/components/schemas/APIErrorResponse'
24433+ description: Forbidden - User is not authorized
24434+ security:
24435+ - apiKeyAuth: []
24436+ appKeyAuth: []
24437+ - AuthZ:
24438+ - usage_read
24439+ summary: Get hourly usage for RUM Units
24440+ tags:
24441+ - Usage Metering
24442+ x-menu-order: 35
24443+ x-undo:
24444+ type: safe
2425724445 /api/v1/usage/rum_sessions:
2425824446 get:
2425924447 description: Get hourly usage for [RUM](https://docs.datadoghq.com/real_user_monitoring/)
0 commit comments