Skip to content

New product_analytics product added #2363

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

Open
wants to merge 1 commit into
base: v2
Choose a base branch
from
Open
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
190 changes: 107 additions & 83 deletions .generator/schemas/v1/openapi.yaml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65059,8 +65059,8 @@ paths:
`lambda_traced_invocations`, `logs`, `network_flows`, `network_hosts`, `network_monitoring`,
`observability_pipelines`,

`online_archive`, `profiling`, `rum`, `rum_browser_sessions`, `rum_mobile_sessions`,
`sds`, `snmp`, `software_delivery`,
`online_archive`, `profiling`, `product_analytics`, `rum`, `rum_browser_sessions`,
`rum_mobile_sessions`, `sds`, `snmp`, `software_delivery`,

`synthetics_api`, `synthetics_browser`, `synthetics_mobile`, `synthetics_parallel_testing`,
`timeseries`, `vuln_management`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export type HourlyUsageAttributionUsageType =
| typeof PROFILED_CONTAINER_USAGE
| typeof PROFILED_FARGATE_USAGE
| typeof PROFILED_HOST_USAGE
| typeof PRODUCT_ANALYTICS_SESSION_USAGE
| typeof RUM_BROWSER_MOBILE_SESSIONS_USAGE
| typeof RUM_REPLAY_SESSIONS_USAGE
| typeof SCA_FARGATE_USAGE
Expand Down Expand Up @@ -145,6 +146,8 @@ export const ONLINE_ARCHIVE_USAGE = "online_archive_usage";
export const PROFILED_CONTAINER_USAGE = "profiled_container_usage";
export const PROFILED_FARGATE_USAGE = "profiled_fargate_usage";
export const PROFILED_HOST_USAGE = "profiled_host_usage";
export const PRODUCT_ANALYTICS_SESSION_USAGE =
"product_analytics_session_usage";
export const RUM_BROWSER_MOBILE_SESSIONS_USAGE =
"rum_browser_mobile_sessions_usage";
export const RUM_REPLAY_SESSIONS_USAGE = "rum_replay_sessions_usage";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ export type MonthlyUsageAttributionSupportedMetrics =
| typeof LOGS_INDEXED_3DAY_PERCENTAGE
| typeof LOGS_INDEXED_1DAY_USAGE
| typeof LOGS_INDEXED_1DAY_PERCENTAGE
| typeof PRODUCT_ANALYTICS_SESSION_USAGE
| typeof PRODUCT_ANALYTICS_SESSION_PERCENTAGE
| typeof RUM_REPLAY_SESSIONS_USAGE
| typeof RUM_REPLAY_SESSIONS_PERCENTAGE
| typeof RUM_BROWSER_MOBILE_SESSIONS_USAGE
Expand Down Expand Up @@ -293,6 +295,10 @@ export const LOGS_INDEXED_3DAY_USAGE = "logs_indexed_3day_usage";
export const LOGS_INDEXED_3DAY_PERCENTAGE = "logs_indexed_3day_percentage";
export const LOGS_INDEXED_1DAY_USAGE = "logs_indexed_1day_usage";
export const LOGS_INDEXED_1DAY_PERCENTAGE = "logs_indexed_1day_percentage";
export const PRODUCT_ANALYTICS_SESSION_USAGE =
"product_analytics_session_usage";
export const PRODUCT_ANALYTICS_SESSION_PERCENTAGE =
"product_analytics_session_percentage";
export const RUM_REPLAY_SESSIONS_USAGE = "rum_replay_sessions_usage";
export const RUM_REPLAY_SESSIONS_PERCENTAGE = "rum_replay_sessions_percentage";
export const RUM_BROWSER_MOBILE_SESSIONS_USAGE =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,14 @@ export class MonthlyUsageAttributionValues {
* The online archive usage by tag(s).
*/
"onlineArchiveUsage"?: number;
/**
* The percentage of Product Analytics session usage by tag(s).
*/
"productAnalyticsSessionPercentage"?: number;
/**
* The total Product Analytics session usage by tag(s).
*/
"productAnalyticsSessionUsage"?: number;
/**
* The percentage of profiled container usage by tag(s).
*/
Expand Down Expand Up @@ -1121,6 +1129,16 @@ export class MonthlyUsageAttributionValues {
type: "number",
format: "double",
},
productAnalyticsSessionPercentage: {
baseName: "product_analytics_session_percentage",
type: "number",
format: "double",
},
productAnalyticsSessionUsage: {
baseName: "product_analytics_session_usage",
type: "number",
format: "double",
},
profiledContainerPercentage: {
baseName: "profiled_container_percentage",
type: "number",
Expand Down
3 changes: 3 additions & 0 deletions services/usage_metering/src/v1/models/TypingInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ export const TypingInfo: ModelTypingInfo = {
"profiled_container_usage",
"profiled_fargate_usage",
"profiled_host_usage",
"product_analytics_session_usage",
"rum_browser_mobile_sessions_usage",
"rum_replay_sessions_usage",
"sca_fargate_usage",
Expand Down Expand Up @@ -298,6 +299,8 @@ export const TypingInfo: ModelTypingInfo = {
"logs_indexed_3day_percentage",
"logs_indexed_1day_usage",
"logs_indexed_1day_percentage",
"product_analytics_session_usage",
"product_analytics_session_percentage",
"rum_replay_sessions_usage",
"rum_replay_sessions_percentage",
"rum_browser_mobile_sessions_usage",
Expand Down
139 changes: 74 additions & 65 deletions services/usage_metering/src/v1/models/UsageSummaryDate.ts

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,10 @@ export class UsageSummaryDateOrg {
* 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.
*/
"opentelemetryHostTop99P"?: number;
/**
* Shows the sum of all product analytics sessions over all hours in the current date for the given org.
*/
"productAnalyticsSum"?: number;
/**
* Shows the 99th percentile of all profiled Azure app services over all hours in the current date for all organizations.
*/
Expand Down Expand Up @@ -1286,6 +1290,11 @@ export class UsageSummaryDateOrg {
type: "number",
format: "int64",
},
productAnalyticsSum: {
baseName: "product_analytics_sum",
type: "number",
format: "int64",
},
profilingAasCountTop99P: {
baseName: "profiling_aas_count_top99p",
type: "number",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,10 @@ export class UsageSummaryResponse {
* Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current month for all organizations.
*/
"opentelemetryHostTop99PSum"?: number;
/**
* Sum of all product analytics sessions for all hours in the current month for all organizations.
*/
"productAnalyticsAggSum"?: number;
/**
* Shows the 99th percentile of all profiled Azure app services over all hours in the current month for all organizations.
*/
Expand Down Expand Up @@ -1322,6 +1326,11 @@ export class UsageSummaryResponse {
type: "number",
format: "int64",
},
productAnalyticsAggSum: {
baseName: "product_analytics_agg_sum",
type: "number",
format: "int64",
},
profilingAasCountTop99PSum: {
baseName: "profiling_aas_count_top99p_sum",
type: "number",
Expand Down
2 changes: 1 addition & 1 deletion services/usage_metering/src/v2/UsageMeteringApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1610,7 +1610,7 @@ export interface UsageMeteringApiGetHourlyUsageRequest {
* `csm_container_enterprise`, `csm_host_enterprise`, `cspm`, `custom_events`, `cws`, `dbm`, `error_tracking`,
* `fargate`, `infra_hosts`, `incident_management`, `indexed_logs`, `indexed_spans`, `ingested_spans`, `iot`,
* `lambda_traced_invocations`, `logs`, `network_flows`, `network_hosts`, `network_monitoring`, `observability_pipelines`,
* `online_archive`, `profiling`, `rum`, `rum_browser_sessions`, `rum_mobile_sessions`, `sds`, `snmp`, `software_delivery`,
* `online_archive`, `profiling`, `product_analytics`, `rum`, `rum_browser_sessions`, `rum_mobile_sessions`, `sds`, `snmp`, `software_delivery`,
* `synthetics_api`, `synthetics_browser`, `synthetics_mobile`, `synthetics_parallel_testing`, `timeseries`, `vuln_management`,
* and `workflow_executions`.
* The following product family has been **deprecated**: `audit_logs`.
Expand Down