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

Update documentation for observability pipeline bytes usage attribution #1377

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.4",
"regenerated": "2023-05-24 12:48:38.697054",
"spec_repo_commit": "ba7efe40"
"regenerated": "2023-05-24 13:15:55.861688",
"spec_repo_commit": "61d57b72"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2023-05-24 12:48:38.710550",
"spec_repo_commit": "ba7efe40"
"regenerated": "2023-05-24 13:15:55.874345",
"spec_repo_commit": "61d57b72"
}
}
}
14 changes: 14 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3834,6 +3834,7 @@ components:
- infra_host_usage
- invocations_usage
- npm_host_usage
- obs_pipeline_bytes_usage
- profiled_container_usage
- profiled_fargate_usage
- profiled_host_usage
Expand Down Expand Up @@ -3868,6 +3869,7 @@ components:
- INFRA_HOST_USAGE
- INVOCATIONS_USAGE
- NPM_HOST_USAGE
- OBS_PIPELINE_BYTES_USAGE
- PROFILED_CONTAINER_USAGE
- PROFILED_FARGATE_USAGE
- PROFILED_HOST_USAGE
Expand Down Expand Up @@ -7368,6 +7370,8 @@ components:
- invocations_percentage
- npm_host_usage
- npm_host_percentage
- obs_pipeline_bytes_usage
- obs_pipeline_bytes_percentage
- profiled_container_usage
- profiled_container_percentage
- profiled_fargate_usage
Expand Down Expand Up @@ -7435,6 +7439,8 @@ components:
- INVOCATIONS_PERCENTAGE
- NPM_HOST_USAGE
- NPM_HOST_PERCENTAGE
- OBS_PIPELINE_BYTES_USAGE
- OBS_PIPELINE_BYTES_PERCENTAGE
- PROFILED_CONTAINER_USAGE
- PROFILED_CONTAINER_PERCENTAGE
- PROFILED_FARGATE_USAGE
Expand Down Expand Up @@ -7666,6 +7672,14 @@ components:
description: The network host usage by tag(s).
format: double
type: number
obs_pipeline_bytes_percentage:
description: The percentage of observability pipeline bytes usage by tag(s).
format: double
type: number
obs_pipeline_bytes_usage:
description: The observability pipeline bytes usage by tag(s).
format: double
type: number
profiled_container_percentage:
description: The percentage of profiled container usage by tag(s).
format: double
Expand Down
6 changes: 3 additions & 3 deletions lib/datadog_api_client/v1/api/usage_metering_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def get_hourly_usage_attribution_with_http_info(start_hr, usage_type, opts = {})
fail ArgumentError, "Missing the required parameter 'usage_type' when calling UsageMeteringAPI.get_hourly_usage_attribution"
end
# verify enum value
allowable_values = ['api_usage', 'apm_fargate_usage', 'apm_host_usage', 'appsec_fargate_usage', 'appsec_usage', 'browser_usage', 'container_excl_agent_usage', 'container_usage', 'cspm_containers_usage', 'cspm_hosts_usage', 'custom_ingested_timeseries_usage', 'custom_timeseries_usage', 'cws_containers_usage', 'cws_hosts_usage', 'dbm_hosts_usage', 'dbm_queries_usage', 'estimated_indexed_logs_usage', 'estimated_ingested_logs_usage', 'estimated_indexed_spans_usage', 'estimated_ingested_spans_usage', 'fargate_usage', 'functions_usage', 'infra_host_usage', 'invocations_usage', 'npm_host_usage', 'profiled_container_usage', 'profiled_fargate_usage', 'profiled_host_usage', 'snmp_usage', 'estimated_rum_sessions_usage', 'universal_service_monitoring_usage', 'vuln_management_hosts_usage']
allowable_values = ['api_usage', 'apm_fargate_usage', 'apm_host_usage', 'appsec_fargate_usage', 'appsec_usage', 'browser_usage', 'container_excl_agent_usage', 'container_usage', 'cspm_containers_usage', 'cspm_hosts_usage', 'custom_ingested_timeseries_usage', 'custom_timeseries_usage', 'cws_containers_usage', 'cws_hosts_usage', 'dbm_hosts_usage', 'dbm_queries_usage', 'estimated_indexed_logs_usage', 'estimated_ingested_logs_usage', 'estimated_indexed_spans_usage', 'estimated_ingested_spans_usage', 'fargate_usage', 'functions_usage', 'infra_host_usage', 'invocations_usage', 'npm_host_usage', 'obs_pipeline_bytes_usage', 'profiled_container_usage', 'profiled_fargate_usage', 'profiled_host_usage', 'snmp_usage', 'estimated_rum_sessions_usage', 'universal_service_monitoring_usage', 'vuln_management_hosts_usage']
if @api_client.config.client_side_validation && !allowable_values.include?(usage_type)
fail ArgumentError, "invalid value for \"usage_type\", must be one of #{allowable_values}"
end
Expand Down Expand Up @@ -472,15 +472,15 @@ def get_monthly_usage_attribution_with_http_info(start_month, fields, opts = {})
fail ArgumentError, "Missing the required parameter 'fields' when calling UsageMeteringAPI.get_monthly_usage_attribution"
end
# verify enum value
allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'appsec_usage', 'appsec_percentage', 'browser_usage', 'browser_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_ingested_logs_usage', 'estimated_ingested_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'npm_host_usage', 'npm_host_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'snmp_usage', 'snmp_percentage', 'estimated_rum_sessions_usage', 'estimated_rum_sessions_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', 'vuln_management_hosts_usage', 'vuln_management_hosts_percentage', '*']
allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'appsec_usage', 'appsec_percentage', 'browser_usage', 'browser_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_ingested_logs_usage', 'estimated_ingested_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'snmp_usage', 'snmp_percentage', 'estimated_rum_sessions_usage', 'estimated_rum_sessions_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', 'vuln_management_hosts_usage', 'vuln_management_hosts_percentage', '*']
if @api_client.config.client_side_validation && !allowable_values.include?(fields)
fail ArgumentError, "invalid value for \"fields\", must be one of #{allowable_values}"
end
allowable_values = ['desc', 'asc']
if @api_client.config.client_side_validation && opts[:'sort_direction'] && !allowable_values.include?(opts[:'sort_direction'])
fail ArgumentError, "invalid value for \"sort_direction\", must be one of #{allowable_values}"
end
allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'appsec_usage', 'appsec_percentage', 'browser_usage', 'browser_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_ingested_logs_usage', 'estimated_ingested_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'npm_host_usage', 'npm_host_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'snmp_usage', 'snmp_percentage', 'estimated_rum_sessions_usage', 'estimated_rum_sessions_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', 'vuln_management_hosts_usage', 'vuln_management_hosts_percentage', '*']
allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'appsec_usage', 'appsec_percentage', 'browser_usage', 'browser_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_ingested_logs_usage', 'estimated_ingested_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'snmp_usage', 'snmp_percentage', 'estimated_rum_sessions_usage', 'estimated_rum_sessions_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', 'vuln_management_hosts_usage', 'vuln_management_hosts_percentage', '*']
if @api_client.config.client_side_validation && opts[:'sort_name'] && !allowable_values.include?(opts[:'sort_name'])
fail ArgumentError, "invalid value for \"sort_name\", must be one of #{allowable_values}"
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class HourlyUsageAttributionUsageType
INFRA_HOST_USAGE = "infra_host_usage".freeze
INVOCATIONS_USAGE = "invocations_usage".freeze
NPM_HOST_USAGE = "npm_host_usage".freeze
OBS_PIPELINE_BYTES_USAGE = "obs_pipeline_bytes_usage".freeze
PROFILED_CONTAINER_USAGE = "profiled_container_usage".freeze
PROFILED_FARGATE_USAGE = "profiled_fargate_usage".freeze
PROFILED_HOST_USAGE = "profiled_host_usage".freeze
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ class MonthlyUsageAttributionSupportedMetrics
INVOCATIONS_PERCENTAGE = "invocations_percentage".freeze
NPM_HOST_USAGE = "npm_host_usage".freeze
NPM_HOST_PERCENTAGE = "npm_host_percentage".freeze
OBS_PIPELINE_BYTES_USAGE = "obs_pipeline_bytes_usage".freeze
OBS_PIPELINE_BYTES_PERCENTAGE = "obs_pipeline_bytes_percentage".freeze
PROFILED_CONTAINER_USAGE = "profiled_container_usage".freeze
PROFILED_CONTAINER_PERCENTAGE = "profiled_container_percentage".freeze
PROFILED_FARGATE_USAGE = "profiled_fargate_usage".freeze
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,12 @@ class MonthlyUsageAttributionValues
# The network host usage by tag(s).
attr_accessor :npm_host_usage

# The percentage of observability pipeline bytes usage by tag(s).
attr_accessor :obs_pipeline_bytes_percentage

# The observability pipeline bytes usage by tag(s).
attr_accessor :obs_pipeline_bytes_usage

# The percentage of profiled container usage by tag(s).
attr_accessor :profiled_container_percentage

Expand Down Expand Up @@ -269,6 +275,8 @@ def self.attribute_map
:'invocations_usage' => :'invocations_usage',
:'npm_host_percentage' => :'npm_host_percentage',
:'npm_host_usage' => :'npm_host_usage',
:'obs_pipeline_bytes_percentage' => :'obs_pipeline_bytes_percentage',
:'obs_pipeline_bytes_usage' => :'obs_pipeline_bytes_usage',
:'profiled_container_percentage' => :'profiled_container_percentage',
:'profiled_container_usage' => :'profiled_container_usage',
:'profiled_fargate_percentage' => :'profiled_fargate_percentage',
Expand Down Expand Up @@ -340,6 +348,8 @@ def self.openapi_types
:'invocations_usage' => :'Float',
:'npm_host_percentage' => :'Float',
:'npm_host_usage' => :'Float',
:'obs_pipeline_bytes_percentage' => :'Float',
:'obs_pipeline_bytes_usage' => :'Float',
:'profiled_container_percentage' => :'Float',
:'profiled_container_usage' => :'Float',
:'profiled_fargate_percentage' => :'Float',
Expand Down Expand Up @@ -579,6 +589,14 @@ def initialize(attributes = {})
self.npm_host_usage = attributes[:'npm_host_usage']
end

if attributes.key?(:'obs_pipeline_bytes_percentage')
self.obs_pipeline_bytes_percentage = attributes[:'obs_pipeline_bytes_percentage']
end

if attributes.key?(:'obs_pipeline_bytes_usage')
self.obs_pipeline_bytes_usage = attributes[:'obs_pipeline_bytes_usage']
end

if attributes.key?(:'profiled_container_percentage')
self.profiled_container_percentage = attributes[:'profiled_container_percentage']
end
Expand Down Expand Up @@ -693,6 +711,8 @@ def ==(o)
invocations_usage == o.invocations_usage &&
npm_host_percentage == o.npm_host_percentage &&
npm_host_usage == o.npm_host_usage &&
obs_pipeline_bytes_percentage == o.obs_pipeline_bytes_percentage &&
obs_pipeline_bytes_usage == o.obs_pipeline_bytes_usage &&
profiled_container_percentage == o.profiled_container_percentage &&
profiled_container_usage == o.profiled_container_usage &&
profiled_fargate_percentage == o.profiled_fargate_percentage &&
Expand All @@ -711,7 +731,7 @@ def ==(o)
# @return [Integer] Hash code
# @!visibility private
def hash
[api_percentage, api_usage, apm_fargate_percentage, apm_fargate_usage, apm_host_percentage, apm_host_usage, appsec_fargate_percentage, appsec_fargate_usage, appsec_percentage, appsec_usage, browser_percentage, browser_usage, container_excl_agent_percentage, container_excl_agent_usage, container_percentage, container_usage, cspm_containers_percentage, cspm_containers_usage, cspm_hosts_percentage, cspm_hosts_usage, custom_ingested_timeseries_percentage, custom_ingested_timeseries_usage, custom_timeseries_percentage, custom_timeseries_usage, cws_containers_percentage, cws_containers_usage, cws_hosts_percentage, cws_hosts_usage, dbm_hosts_percentage, dbm_hosts_usage, dbm_queries_percentage, dbm_queries_usage, estimated_indexed_logs_percentage, estimated_indexed_logs_usage, estimated_indexed_spans_percentage, estimated_indexed_spans_usage, estimated_ingested_logs_percentage, estimated_ingested_logs_usage, estimated_ingested_spans_percentage, estimated_ingested_spans_usage, estimated_rum_sessions_percentage, estimated_rum_sessions_usage, fargate_percentage, fargate_usage, functions_percentage, functions_usage, infra_host_percentage, infra_host_usage, invocations_percentage, invocations_usage, npm_host_percentage, npm_host_usage, profiled_container_percentage, profiled_container_usage, profiled_fargate_percentage, profiled_fargate_usage, profiled_host_percentage, profiled_host_usage, snmp_percentage, snmp_usage, universal_service_monitoring_percentage, universal_service_monitoring_usage, vuln_management_hosts_percentage, vuln_management_hosts_usage].hash
[api_percentage, api_usage, apm_fargate_percentage, apm_fargate_usage, apm_host_percentage, apm_host_usage, appsec_fargate_percentage, appsec_fargate_usage, appsec_percentage, appsec_usage, browser_percentage, browser_usage, container_excl_agent_percentage, container_excl_agent_usage, container_percentage, container_usage, cspm_containers_percentage, cspm_containers_usage, cspm_hosts_percentage, cspm_hosts_usage, custom_ingested_timeseries_percentage, custom_ingested_timeseries_usage, custom_timeseries_percentage, custom_timeseries_usage, cws_containers_percentage, cws_containers_usage, cws_hosts_percentage, cws_hosts_usage, dbm_hosts_percentage, dbm_hosts_usage, dbm_queries_percentage, dbm_queries_usage, estimated_indexed_logs_percentage, estimated_indexed_logs_usage, estimated_indexed_spans_percentage, estimated_indexed_spans_usage, estimated_ingested_logs_percentage, estimated_ingested_logs_usage, estimated_ingested_spans_percentage, estimated_ingested_spans_usage, estimated_rum_sessions_percentage, estimated_rum_sessions_usage, fargate_percentage, fargate_usage, functions_percentage, functions_usage, infra_host_percentage, infra_host_usage, invocations_percentage, invocations_usage, npm_host_percentage, npm_host_usage, obs_pipeline_bytes_percentage, obs_pipeline_bytes_usage, profiled_container_percentage, profiled_container_usage, profiled_fargate_percentage, profiled_fargate_usage, profiled_host_percentage, profiled_host_usage, snmp_percentage, snmp_usage, universal_service_monitoring_percentage, universal_service_monitoring_usage, vuln_management_hosts_percentage, vuln_management_hosts_usage].hash
end
end
end