Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add organization metadata for RUM sessions usage and expose rum_browser_and_mobile_session_count #1270

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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-12-22 23:23:11.898875",
"spec_repo_commit": "2f072b0"
"regenerated": "2021-12-23 17:02:26.736290",
"spec_repo_commit": "7b8392b"
},
"v2": {
"apigentools_version": "1.5.1.dev2",
"regenerated": "2021-12-22 23:23:11.918615",
"spec_repo_commit": "2f072b0"
"regenerated": "2021-12-23 17:02:26.759101",
"spec_repo_commit": "7b8392b"
}
}
}
21 changes: 21 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13159,6 +13159,12 @@ components:
description: The hour for the usage.
format: date-time
type: string
org_name:
description: The organization name.
type: string
public_id:
description: The organization public ID.
type: string
session_count:
description: Contains the number of RUM Sessions.
format: int64
Expand Down Expand Up @@ -13584,6 +13590,11 @@ components:
in the current date for all organizations.
format: int64
type: integer
rum_browser_and_mobile_session_count:
description: Shows the sum of all mobile sessions and all browser lite and
legacy sessions over all hours in the current month for all organizations.
format: int64
type: integer
rum_session_count_sum:
description: Shows the sum of all browser RUM Sessions over all hours in
the current date for all organizations
Expand Down Expand Up @@ -13858,6 +13869,11 @@ components:
public_id:
description: The organization public id.
type: string
rum_browser_and_mobile_session_count:
description: Shows the sum of all mobile sessions and all browser lite and
legacy sessions over all hours in the current date for the given org.
format: int64
type: integer
rum_session_count_sum:
description: Shows the sum of all browser RUM Sessions over all hours in
the current date for the given org.
Expand Down Expand Up @@ -14172,6 +14188,11 @@ components:
December 1, 2020).
format: int64
type: integer
rum_browser_and_mobile_session_count:
description: Shows the sum of all mobile sessions and all browser lite and
legacy sessions over all hours in the current month for all organizations.
format: int64
type: integer
rum_session_count_agg_sum:
description: Shows the sum of all browser RUM Sessions over all hours in
the current months for all organizations.
Expand Down
52 changes: 52 additions & 0 deletions api/v1/datadog/docs/UsageRumSessionsHour.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
Name | Type | Description | Notes
---- | ---- | ----------- | ------
**Hour** | Pointer to **time.Time** | The hour for the usage. | [optional]
**OrgName** | Pointer to **string** | The organization name. | [optional]
**PublicId** | Pointer to **string** | The organization public ID. | [optional]
**SessionCount** | Pointer to **int64** | Contains the number of RUM Sessions. | [optional]
**SessionCountAndroid** | Pointer to **int64** | Contains the number of mobile RUM Sessions on Android (data available beginning December 1, 2020). | [optional]
**SessionCountIos** | Pointer to **int64** | Contains the number of mobile RUM Sessions on iOS (data available beginning December 1, 2020). | [optional]
Expand Down Expand Up @@ -53,6 +55,56 @@ SetHour sets Hour field to given value.

HasHour returns a boolean if a field has been set.

### GetOrgName

`func (o *UsageRumSessionsHour) GetOrgName() string`

GetOrgName returns the OrgName field if non-nil, zero value otherwise.

### GetOrgNameOk

`func (o *UsageRumSessionsHour) GetOrgNameOk() (*string, bool)`

GetOrgNameOk returns a tuple with the OrgName field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetOrgName

`func (o *UsageRumSessionsHour) SetOrgName(v string)`

SetOrgName sets OrgName field to given value.

### HasOrgName

`func (o *UsageRumSessionsHour) HasOrgName() bool`

HasOrgName returns a boolean if a field has been set.

### GetPublicId

`func (o *UsageRumSessionsHour) GetPublicId() string`

GetPublicId returns the PublicId field if non-nil, zero value otherwise.

### GetPublicIdOk

`func (o *UsageRumSessionsHour) GetPublicIdOk() (*string, bool)`

GetPublicIdOk returns a tuple with the PublicId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetPublicId

`func (o *UsageRumSessionsHour) SetPublicId(v string)`

SetPublicId sets PublicId field to given value.

### HasPublicId

`func (o *UsageRumSessionsHour) HasPublicId() bool`

HasPublicId returns a boolean if a field has been set.

### GetSessionCount

`func (o *UsageRumSessionsHour) GetSessionCount() int64`
Expand Down
26 changes: 26 additions & 0 deletions api/v1/datadog/docs/UsageSummaryDate.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ Name | Type | Description | Notes
**OpentelemetryHostTop99p** | Pointer to **int64** | Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current date for all organizations. | [optional]
**Orgs** | Pointer to [**[]UsageSummaryDateOrg**](UsageSummaryDateOrg.md) | Organizations associated with a user. | [optional]
**ProfilingHostTop99p** | Pointer to **int64** | Shows the 99th percentile of all profiled hosts over all hours in the current date for all organizations. | [optional]
**RumBrowserAndMobileSessionCount** | Pointer to **int64** | Shows the sum of all mobile sessions and all browser lite and legacy sessions over all hours in the current month for all organizations. | [optional]
**RumSessionCountSum** | Pointer to **int64** | Shows the sum of all browser RUM Sessions over all hours in the current date for all organizations | [optional]
**RumTotalSessionCountSum** | Pointer to **int64** | Shows the sum of RUM Sessions (browser and mobile) over all hours in the current date for all organizations. | [optional]
**RumUnitsSum** | Pointer to **int64** | Shows the sum of all browser and mobile RUM units over all hours in the current date for all organizations. | [optional]
Expand Down Expand Up @@ -1178,6 +1179,31 @@ SetProfilingHostTop99p sets ProfilingHostTop99p field to given value.

HasProfilingHostTop99p returns a boolean if a field has been set.

### GetRumBrowserAndMobileSessionCount

`func (o *UsageSummaryDate) GetRumBrowserAndMobileSessionCount() int64`

GetRumBrowserAndMobileSessionCount returns the RumBrowserAndMobileSessionCount field if non-nil, zero value otherwise.

### GetRumBrowserAndMobileSessionCountOk

`func (o *UsageSummaryDate) GetRumBrowserAndMobileSessionCountOk() (*int64, bool)`

GetRumBrowserAndMobileSessionCountOk returns a tuple with the RumBrowserAndMobileSessionCount field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetRumBrowserAndMobileSessionCount

`func (o *UsageSummaryDate) SetRumBrowserAndMobileSessionCount(v int64)`

SetRumBrowserAndMobileSessionCount sets RumBrowserAndMobileSessionCount field to given value.

### HasRumBrowserAndMobileSessionCount

`func (o *UsageSummaryDate) HasRumBrowserAndMobileSessionCount() bool`

HasRumBrowserAndMobileSessionCount returns a boolean if a field has been set.

### GetRumSessionCountSum

`func (o *UsageSummaryDate) GetRumSessionCountSum() int64`
Expand Down
26 changes: 26 additions & 0 deletions api/v1/datadog/docs/UsageSummaryDateOrg.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Name | Type | Description | Notes
**OpentelemetryHostTop99p** | Pointer to **int64** | Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current date for the given org. | [optional]
**ProfilingHostTop99p** | Pointer to **int64** | Shows the 99th percentile of all profiled hosts over all hours in the current date for the given org. | [optional]
**PublicId** | Pointer to **string** | The organization public id. | [optional]
**RumBrowserAndMobileSessionCount** | Pointer to **int64** | Shows the sum of all mobile sessions and all browser lite and legacy sessions over all hours in the current date for the given org. | [optional]
**RumSessionCountSum** | Pointer to **int64** | Shows the sum of all browser RUM Sessions over all hours in the current date for the given org. | [optional]
**RumTotalSessionCountSum** | Pointer to **int64** | Shows the sum of RUM Sessions (browser and mobile) over all hours in the current date for the given org. | [optional]
**RumUnitsSum** | Pointer to **int64** | Shows the sum of all browser and mobile RUM units over all hours in the current date for the given org. | [optional]
Expand Down Expand Up @@ -1204,6 +1205,31 @@ SetPublicId sets PublicId field to given value.

HasPublicId returns a boolean if a field has been set.

### GetRumBrowserAndMobileSessionCount

`func (o *UsageSummaryDateOrg) GetRumBrowserAndMobileSessionCount() int64`

GetRumBrowserAndMobileSessionCount returns the RumBrowserAndMobileSessionCount field if non-nil, zero value otherwise.

### GetRumBrowserAndMobileSessionCountOk

`func (o *UsageSummaryDateOrg) GetRumBrowserAndMobileSessionCountOk() (*int64, bool)`

GetRumBrowserAndMobileSessionCountOk returns a tuple with the RumBrowserAndMobileSessionCount field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetRumBrowserAndMobileSessionCount

`func (o *UsageSummaryDateOrg) SetRumBrowserAndMobileSessionCount(v int64)`

SetRumBrowserAndMobileSessionCount sets RumBrowserAndMobileSessionCount field to given value.

### HasRumBrowserAndMobileSessionCount

`func (o *UsageSummaryDateOrg) HasRumBrowserAndMobileSessionCount() bool`

HasRumBrowserAndMobileSessionCount returns a boolean if a field has been set.

### GetRumSessionCountSum

`func (o *UsageSummaryDateOrg) GetRumSessionCountSum() int64`
Expand Down
26 changes: 26 additions & 0 deletions api/v1/datadog/docs/UsageSummaryResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ Name | Type | Description | Notes
**ProfilingHostCountTop99pSum** | Pointer to **int64** | Shows the 99th percentile of all profiled hosts over all hours in the current months for all organizations. | [optional]
**RehydratedIndexedEventsAggSum** | Pointer to **int64** | Shows the sum of all rehydrated logs indexed over all hours in the current months for all organizations (data available as of December 1, 2020). | [optional]
**RehydratedIngestedBytesAggSum** | Pointer to **int64** | Shows the sum of all rehydrated logs bytes ingested over all hours in the current months for all organizations (data available as of December 1, 2020). | [optional]
**RumBrowserAndMobileSessionCount** | Pointer to **int64** | Shows the sum of all mobile sessions and all browser lite and legacy sessions over all hours in the current month for all organizations. | [optional]
**RumSessionCountAggSum** | Pointer to **int64** | Shows the sum of all browser RUM Sessions over all hours in the current months for all organizations. | [optional]
**RumTotalSessionCountAggSum** | Pointer to **int64** | Shows the sum of RUM Sessions (browser and mobile) over all hours in the current months for all organizations. | [optional]
**RumUnitsAggSum** | Pointer to **int64** | Shows the sum of all browser and mobile RUM units over all hours in the current months for all organizations. | [optional]
Expand Down Expand Up @@ -1362,6 +1363,31 @@ SetRehydratedIngestedBytesAggSum sets RehydratedIngestedBytesAggSum field to giv

HasRehydratedIngestedBytesAggSum returns a boolean if a field has been set.

### GetRumBrowserAndMobileSessionCount

`func (o *UsageSummaryResponse) GetRumBrowserAndMobileSessionCount() int64`

GetRumBrowserAndMobileSessionCount returns the RumBrowserAndMobileSessionCount field if non-nil, zero value otherwise.

### GetRumBrowserAndMobileSessionCountOk

`func (o *UsageSummaryResponse) GetRumBrowserAndMobileSessionCountOk() (*int64, bool)`

GetRumBrowserAndMobileSessionCountOk returns a tuple with the RumBrowserAndMobileSessionCount field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetRumBrowserAndMobileSessionCount

`func (o *UsageSummaryResponse) SetRumBrowserAndMobileSessionCount(v int64)`

SetRumBrowserAndMobileSessionCount sets RumBrowserAndMobileSessionCount field to given value.

### HasRumBrowserAndMobileSessionCount

`func (o *UsageSummaryResponse) HasRumBrowserAndMobileSessionCount() bool`

HasRumBrowserAndMobileSessionCount returns a boolean if a field has been set.

### GetRumSessionCountAggSum

`func (o *UsageSummaryResponse) GetRumSessionCountAggSum() int64`
Expand Down
78 changes: 78 additions & 0 deletions api/v1/datadog/model_usage_rum_sessions_hour.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading