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 Network Device Monitoring Netflow to usage #1354

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.6.6",
"regenerated": "2023-09-29 08:08:54.865902",
"spec_repo_commit": "b63ccd75"
"regenerated": "2023-09-29 16:55:38.140124",
"spec_repo_commit": "514c9081"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2023-09-29 08:08:54.885214",
"spec_repo_commit": "b63ccd75"
"regenerated": "2023-09-29 16:55:38.159201",
"spec_repo_commit": "514c9081"
}
}
}
30 changes: 30 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3922,6 +3922,7 @@ components:
- infra_host_usage
- invocations_usage
- mobile_app_testing_usage
- ndm_netflow_usage
- npm_host_usage
- obs_pipeline_bytes_usage
- profiled_container_usage
Expand Down Expand Up @@ -3962,6 +3963,7 @@ components:
- INFRA_HOST_USAGE
- INVOCATIONS_USAGE
- MOBILE_APP_TESTING_USAGE
- NDM_NETFLOW_USAGE
- NPM_HOST_USAGE
- OBS_PIPELINE_BYTES_USAGE
- PROFILED_CONTAINER_USAGE
Expand Down Expand Up @@ -7495,6 +7497,8 @@ components:
- invocations_percentage
- mobile_app_testing_percentage
- mobile_app_testing_usage
- ndm_netflow_usage
- ndm_netflow_percentage
- npm_host_usage
- npm_host_percentage
- obs_pipeline_bytes_usage
Expand Down Expand Up @@ -7574,6 +7578,8 @@ components:
- INVOCATIONS_PERCENTAGE
- MOBILE_APP_TESTING_USAGE
- MOBILE_APP_TESTING_PERCENTAGE
- NDM_NETFLOW_USAGE
- NDM_NETFLOW_PERCENTAGE
- NPM_HOST_USAGE
- NPM_HOST_PERCENTAGE
- OBS_PIPELINE_BYTES_USAGE
Expand Down Expand Up @@ -7834,6 +7840,15 @@ components:
description: The Synthetic mobile application test usage by tag(s).
format: double
type: number
ndm_netflow_percentage:
description: The percentage of Network Device Monitoring NetFlow usage by
tag(s).
format: double
type: number
ndm_netflow_usage:
description: The Network Device Monitoring NetFlow usage by tag(s).
format: double
type: number
npm_host_percentage:
description: The percentage of network host usage by tag(s).
format: double
Expand Down Expand Up @@ -18113,6 +18128,11 @@ components:
current date for all organizations.
format: int64
type: integer
ndm_netflow_events_sum:
description: Shows the sum of all Network Device Monitoring NetFlow events
over all hours in the current date for the given org.
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 @@ -18630,6 +18650,11 @@ components:
name:
description: The organization name.
type: string
ndm_netflow_events_sum:
description: Shows the sum of all Network Device Monitoring NetFlow events
over all hours in the current date for the given org.
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 the given org.
Expand Down Expand Up @@ -19171,6 +19196,11 @@ components:
current months for all organizations.
format: int64
type: integer
ndm_netflow_events_agg_sum:
description: Shows the sum of all Network Device Monitoring NetFlow events
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
3 changes: 2 additions & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27595,7 +27595,8 @@ paths:
`infra_hosts`, `incident_management`, `indexed_logs`, `indexed_spans`, `ingested_spans`,
`iot`,

`lambda_traced_invocations`, `logs`, `network_flows`, `network_hosts`, `observability_pipelines`,
`lambda_traced_invocations`, `logs`, `network_flows`, `network_hosts`, `netflow_monitoring`,
`observability_pipelines`,

`online_archive`, `profiling`, `rum`, `rum_browser_sessions`, `rum_mobile_sessions`,
`sds`, `snmp`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export type HourlyUsageAttributionUsageType =
| typeof INFRA_HOST_USAGE
| typeof INVOCATIONS_USAGE
| typeof MOBILE_APP_TESTING_USAGE
| typeof NDM_NETFLOW_USAGE
| typeof NPM_HOST_USAGE
| typeof OBS_PIPELINE_BYTES_USAGE
| typeof PROFILED_CONTAINER_USAGE
Expand Down Expand Up @@ -79,6 +80,7 @@ export const FUNCTIONS_USAGE = "functions_usage";
export const INFRA_HOST_USAGE = "infra_host_usage";
export const INVOCATIONS_USAGE = "invocations_usage";
export const MOBILE_APP_TESTING_USAGE = "mobile_app_testing_usage";
export const NDM_NETFLOW_USAGE = "ndm_netflow_usage";
export const NPM_HOST_USAGE = "npm_host_usage";
export const OBS_PIPELINE_BYTES_USAGE = "obs_pipeline_bytes_usage";
export const PROFILED_CONTAINER_USAGE = "profiled_container_usage";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ export type MonthlyUsageAttributionSupportedMetrics =
| typeof INVOCATIONS_PERCENTAGE
| typeof MOBILE_APP_TESTING_USAGE
| typeof MOBILE_APP_TESTING_PERCENTAGE
| typeof NDM_NETFLOW_USAGE
| typeof NDM_NETFLOW_PERCENTAGE
| typeof NPM_HOST_USAGE
| typeof NPM_HOST_PERCENTAGE
| typeof OBS_PIPELINE_BYTES_USAGE
Expand Down Expand Up @@ -150,6 +152,8 @@ export const INVOCATIONS_USAGE = "invocations_usage";
export const INVOCATIONS_PERCENTAGE = "invocations_percentage";
export const MOBILE_APP_TESTING_USAGE = "mobile_app_testing_percentage";
export const MOBILE_APP_TESTING_PERCENTAGE = "mobile_app_testing_usage";
export const NDM_NETFLOW_USAGE = "ndm_netflow_usage";
export const NDM_NETFLOW_PERCENTAGE = "ndm_netflow_percentage";
export const NPM_HOST_USAGE = "npm_host_usage";
export const NPM_HOST_PERCENTAGE = "npm_host_percentage";
export const OBS_PIPELINE_BYTES_USAGE = "obs_pipeline_bytes_usage";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,14 @@ export class MonthlyUsageAttributionValues {
* The Synthetic mobile application test usage by tag(s).
*/
"mobileAppTestingUsage"?: number;
/**
* The percentage of Network Device Monitoring NetFlow usage by tag(s).
*/
"ndmNetflowPercentage"?: number;
/**
* The Network Device Monitoring NetFlow usage by tag(s).
*/
"ndmNetflowUsage"?: number;
/**
* The percentage of network host usage by tag(s).
*/
Expand Down Expand Up @@ -604,6 +612,16 @@ export class MonthlyUsageAttributionValues {
type: "number",
format: "double",
},
ndmNetflowPercentage: {
baseName: "ndm_netflow_percentage",
type: "number",
format: "double",
},
ndmNetflowUsage: {
baseName: "ndm_netflow_usage",
type: "number",
format: "double",
},
npmHostPercentage: {
baseName: "npm_host_percentage",
type: "number",
Expand Down
3 changes: 3 additions & 0 deletions packages/datadog-api-client-v1/models/ObjectSerializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -765,6 +765,7 @@ const enumsMap: { [key: string]: any[] } = {
"infra_host_usage",
"invocations_usage",
"mobile_app_testing_usage",
"ndm_netflow_usage",
"npm_host_usage",
"obs_pipeline_bytes_usage",
"profiled_container_usage",
Expand Down Expand Up @@ -954,6 +955,8 @@ const enumsMap: { [key: string]: any[] } = {
"invocations_percentage",
"mobile_app_testing_percentage",
"mobile_app_testing_usage",
"ndm_netflow_usage",
"ndm_netflow_percentage",
"npm_host_usage",
"npm_host_percentage",
"obs_pipeline_bytes_usage",
Expand Down
9 changes: 9 additions & 0 deletions packages/datadog-api-client-v1/models/UsageSummaryDate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,10 @@ export class UsageSummaryDate {
* Shows the sum of all mobile RUM units over all hours in the current date for all organizations.
*/
"mobileRumUnitsSum"?: number;
/**
* Shows the sum of all Network Device Monitoring NetFlow events over all hours in the current date for the given org.
*/
"ndmNetflowEventsSum"?: number;
/**
* Shows the sum of all Network flows indexed over all hours in the current date for all organizations.
*/
Expand Down Expand Up @@ -766,6 +770,11 @@ export class UsageSummaryDate {
type: "number",
format: "int64",
},
ndmNetflowEventsSum: {
baseName: "ndm_netflow_events_sum",
type: "number",
format: "int64",
},
netflowIndexedEventsCountSum: {
baseName: "netflow_indexed_events_count_sum",
type: "number",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,10 @@ export class UsageSummaryDateOrg {
* The organization name.
*/
"name"?: string;
/**
* Shows the sum of all Network Device Monitoring NetFlow events over all hours in the current date for the given org.
*/
"ndmNetflowEventsSum"?: number;
/**
* Shows the sum of all Network flows indexed over all hours in the current date for the given org.
*/
Expand Down Expand Up @@ -776,6 +780,11 @@ export class UsageSummaryDateOrg {
baseName: "name",
type: "string",
},
ndmNetflowEventsSum: {
baseName: "ndm_netflow_events_sum",
type: "number",
format: "int64",
},
netflowIndexedEventsCountSum: {
baseName: "netflow_indexed_events_count_sum",
type: "number",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,10 @@ export class UsageSummaryResponse {
* Shows the sum of all mobile RUM units over all hours in the current months for all organizations.
*/
"mobileRumUnitsAggSum"?: number;
/**
* Shows the sum of all Network Device Monitoring NetFlow events over all hours in the current months for all organizations.
*/
"ndmNetflowEventsAggSum"?: number;
/**
* Shows the sum of all Network flows indexed over all hours in the current months for all organizations.
*/
Expand Down Expand Up @@ -827,6 +831,11 @@ export class UsageSummaryResponse {
type: "number",
format: "int64",
},
ndmNetflowEventsAggSum: {
baseName: "ndm_netflow_events_agg_sum",
type: "number",
format: "int64",
},
netflowIndexedEventsCountAggSum: {
baseName: "netflow_indexed_events_count_agg_sum",
type: "number",
Expand Down
2 changes: 1 addition & 1 deletion packages/datadog-api-client-v2/apis/UsageMeteringApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ export interface UsageMeteringApiGetHourlyUsageRequest {
* `application_security`, `audit_trail`, `serverless`, `ci_app`, `cloud_cost_management`,
* `csm_container_enterprise`, `csm_host_enterprise`, `cspm`, `custom_events`, `cws`, `dbm`, `fargate`,
* `infra_hosts`, `incident_management`, `indexed_logs`, `indexed_spans`, `ingested_spans`, `iot`,
* `lambda_traced_invocations`, `logs`, `network_flows`, `network_hosts`, `observability_pipelines`,
* `lambda_traced_invocations`, `logs`, `network_flows`, `network_hosts`, `netflow_monitoring`, `observability_pipelines`,
* `online_archive`, `profiling`, `rum`, `rum_browser_sessions`, `rum_mobile_sessions`, `sds`, `snmp`,
* `synthetics_api`, `synthetics_browser`, `synthetics_mobile`, `synthetics_parallel_testing`, and `timeseries`.
* The following product family has been **deprecated**: `audit_logs`.
Expand Down
Loading