Skip to content

Commit

Permalink
Update Documentation for APM DevSecOps (#2341)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Jan 8, 2024
1 parent 0c56fd1 commit 56b64d1
Show file tree
Hide file tree
Showing 5 changed files with 127 additions and 7 deletions.
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": "2024-01-05 16:07:35.338827",
"spec_repo_commit": "bafcada7"
"regenerated": "2024-01-08 16:03:30.338792",
"spec_repo_commit": "8b5aed97"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-01-05 16:07:35.354169",
"spec_repo_commit": "bafcada7"
"regenerated": "2024-01-08 16:03:30.357818",
"spec_repo_commit": "8b5aed97"
}
}
}
15 changes: 15 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18631,6 +18631,11 @@ components:
over all hours in the current date all organizations.
format: int64
type: integer
apm_devsecops_host_top99p:
description: Shows the 99th percentile of all APM DevSecOps hosts over all
hours in the current date for the given org.
format: int64
type: integer
apm_fargate_count_avg:
description: Shows the average of all APM ECS Fargate tasks over all hours
in the current date for all organizations.
Expand Down Expand Up @@ -19156,6 +19161,11 @@ components:
over all hours in the current date for the given org.
format: int64
type: integer
apm_devsecops_host_top99p:
description: Shows the 99th percentile of all APM DevSecOps hosts over all
hours in the current date for the given org.
format: int64
type: integer
apm_fargate_count_avg:
description: Shows the average of all APM ECS Fargate tasks over all hours
in the current months for the given org.
Expand Down Expand Up @@ -19694,6 +19704,11 @@ components:
over all hours in the current months all organizations.
format: int64
type: integer
apm_devsecops_host_top99p_sum:
description: Shows the 99th percentile of all APM DevSecOps hosts over all
hours in the current months for all organizations.
format: int64
type: integer
apm_fargate_count_avg_sum:
description: Shows the average of all APM ECS Fargate tasks over all hours
in the current months for all organizations.
Expand Down
37 changes: 36 additions & 1 deletion api/datadogV1/model_usage_summary_date.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ type UsageSummaryDate struct {
AgentHostTop99p *int64 `json:"agent_host_top99p,omitempty"`
// Shows the 99th percentile of all Azure app services using APM over all hours in the current date all organizations.
ApmAzureAppServiceHostTop99p *int64 `json:"apm_azure_app_service_host_top99p,omitempty"`
// Shows the 99th percentile of all APM DevSecOps hosts over all hours in the current date for the given org.
ApmDevsecopsHostTop99p *int64 `json:"apm_devsecops_host_top99p,omitempty"`
// Shows the average of all APM ECS Fargate tasks over all hours in the current date for all organizations.
ApmFargateCountAvg *int64 `json:"apm_fargate_count_avg,omitempty"`
// Shows the 99th percentile of all distinct APM hosts over all hours in the current date for all organizations.
Expand Down Expand Up @@ -295,6 +297,34 @@ func (o *UsageSummaryDate) SetApmAzureAppServiceHostTop99p(v int64) {
o.ApmAzureAppServiceHostTop99p = &v
}

// GetApmDevsecopsHostTop99p returns the ApmDevsecopsHostTop99p field value if set, zero value otherwise.
func (o *UsageSummaryDate) GetApmDevsecopsHostTop99p() int64 {
if o == nil || o.ApmDevsecopsHostTop99p == nil {
var ret int64
return ret
}
return *o.ApmDevsecopsHostTop99p
}

// GetApmDevsecopsHostTop99pOk returns a tuple with the ApmDevsecopsHostTop99p field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UsageSummaryDate) GetApmDevsecopsHostTop99pOk() (*int64, bool) {
if o == nil || o.ApmDevsecopsHostTop99p == nil {
return nil, false
}
return o.ApmDevsecopsHostTop99p, true
}

// HasApmDevsecopsHostTop99p returns a boolean if a field has been set.
func (o *UsageSummaryDate) HasApmDevsecopsHostTop99p() bool {
return o != nil && o.ApmDevsecopsHostTop99p != nil
}

// SetApmDevsecopsHostTop99p gets a reference to the given int64 and assigns it to the ApmDevsecopsHostTop99p field.
func (o *UsageSummaryDate) SetApmDevsecopsHostTop99p(v int64) {
o.ApmDevsecopsHostTop99p = &v
}

// GetApmFargateCountAvg returns the ApmFargateCountAvg field value if set, zero value otherwise.
func (o *UsageSummaryDate) GetApmFargateCountAvg() int64 {
if o == nil || o.ApmFargateCountAvg == nil {
Expand Down Expand Up @@ -3110,6 +3140,9 @@ func (o UsageSummaryDate) MarshalJSON() ([]byte, error) {
if o.ApmAzureAppServiceHostTop99p != nil {
toSerialize["apm_azure_app_service_host_top99p"] = o.ApmAzureAppServiceHostTop99p
}
if o.ApmDevsecopsHostTop99p != nil {
toSerialize["apm_devsecops_host_top99p"] = o.ApmDevsecopsHostTop99p
}
if o.ApmFargateCountAvg != nil {
toSerialize["apm_fargate_count_avg"] = o.ApmFargateCountAvg
}
Expand Down Expand Up @@ -3426,6 +3459,7 @@ func (o *UsageSummaryDate) UnmarshalJSON(bytes []byte) (err error) {
all := struct {
AgentHostTop99p *int64 `json:"agent_host_top99p,omitempty"`
ApmAzureAppServiceHostTop99p *int64 `json:"apm_azure_app_service_host_top99p,omitempty"`
ApmDevsecopsHostTop99p *int64 `json:"apm_devsecops_host_top99p,omitempty"`
ApmFargateCountAvg *int64 `json:"apm_fargate_count_avg,omitempty"`
ApmHostTop99p *int64 `json:"apm_host_top99p,omitempty"`
AppsecFargateCountAvg *int64 `json:"appsec_fargate_count_avg,omitempty"`
Expand Down Expand Up @@ -3532,12 +3566,13 @@ func (o *UsageSummaryDate) UnmarshalJSON(bytes []byte) (err error) {
}
additionalProperties := make(map[string]interface{})
if err = datadog.Unmarshal(bytes, &additionalProperties); err == nil {
datadog.DeleteKeys(additionalProperties, &[]string{"agent_host_top99p", "apm_azure_app_service_host_top99p", "apm_fargate_count_avg", "apm_host_top99p", "appsec_fargate_count_avg", "audit_logs_lines_indexed_sum", "audit_trail_enabled_hwm", "avg_profiled_fargate_tasks", "aws_host_top99p", "aws_lambda_func_count", "aws_lambda_invocations_sum", "azure_app_service_top99p", "billable_ingested_bytes_sum", "browser_rum_lite_session_count_sum", "browser_rum_replay_session_count_sum", "browser_rum_units_sum", "ci_pipeline_indexed_spans_sum", "ci_test_indexed_spans_sum", "ci_visibility_itr_committers_hwm", "ci_visibility_pipeline_committers_hwm", "ci_visibility_test_committers_hwm", "cloud_cost_management_aws_host_count_avg", "cloud_cost_management_azure_host_count_avg", "cloud_cost_management_host_count_avg", "cloud_siem_events_sum", "container_avg", "container_excl_agent_avg", "container_hwm", "csm_container_enterprise_compliance_count_sum", "csm_container_enterprise_cws_count_sum", "csm_container_enterprise_total_count_sum", "csm_host_enterprise_aas_host_count_top99p", "csm_host_enterprise_aws_host_count_top99p", "csm_host_enterprise_azure_host_count_top99p", "csm_host_enterprise_compliance_host_count_top99p", "csm_host_enterprise_cws_host_count_top99p", "csm_host_enterprise_gcp_host_count_top99p", "csm_host_enterprise_total_host_count_top99p", "cspm_aas_host_top99p", "cspm_aws_host_top99p", "cspm_azure_host_top99p", "cspm_container_avg", "cspm_container_hwm", "cspm_gcp_host_top99p", "cspm_host_top99p", "custom_ts_avg", "cws_container_count_avg", "cws_host_top99p", "date", "dbm_host_top99p", "dbm_queries_count_avg", "fargate_tasks_count_avg", "fargate_tasks_count_hwm", "forwarding_events_bytes_sum", "gcp_host_top99p", "heroku_host_top99p", "incident_management_monthly_active_users_hwm", "indexed_events_count_sum", "infra_host_top99p", "ingested_events_bytes_sum", "iot_device_sum", "iot_device_top99p", "mobile_rum_lite_session_count_sum", "mobile_rum_session_count_android_sum", "mobile_rum_session_count_flutter_sum", "mobile_rum_session_count_ios_sum", "mobile_rum_session_count_reactnative_sum", "mobile_rum_session_count_roku_sum", "mobile_rum_session_count_sum", "mobile_rum_units_sum", "ndm_netflow_events_sum", "netflow_indexed_events_count_sum", "npm_host_top99p", "observability_pipelines_bytes_processed_sum", "online_archive_events_count_sum", "opentelemetry_apm_host_top99p", "opentelemetry_host_top99p", "orgs", "profiling_aas_count_top99p", "profiling_host_top99p", "rum_browser_and_mobile_session_count", "rum_session_count_sum", "rum_total_session_count_sum", "rum_units_sum", "sds_apm_scanned_bytes_sum", "sds_events_scanned_bytes_sum", "sds_logs_scanned_bytes_sum", "sds_rum_scanned_bytes_sum", "sds_total_scanned_bytes_sum", "serverless_apps_azure_count_avg", "serverless_apps_google_count_avg", "serverless_apps_total_count_avg", "synthetics_browser_check_calls_count_sum", "synthetics_check_calls_count_sum", "synthetics_mobile_test_runs_sum", "synthetics_parallel_testing_max_slots_hwm", "trace_search_indexed_events_count_sum", "twol_ingested_events_bytes_sum", "universal_service_monitoring_host_top99p", "vsphere_host_top99p", "vuln_management_host_count_top99p", "workflow_executions_usage_sum"})
datadog.DeleteKeys(additionalProperties, &[]string{"agent_host_top99p", "apm_azure_app_service_host_top99p", "apm_devsecops_host_top99p", "apm_fargate_count_avg", "apm_host_top99p", "appsec_fargate_count_avg", "audit_logs_lines_indexed_sum", "audit_trail_enabled_hwm", "avg_profiled_fargate_tasks", "aws_host_top99p", "aws_lambda_func_count", "aws_lambda_invocations_sum", "azure_app_service_top99p", "billable_ingested_bytes_sum", "browser_rum_lite_session_count_sum", "browser_rum_replay_session_count_sum", "browser_rum_units_sum", "ci_pipeline_indexed_spans_sum", "ci_test_indexed_spans_sum", "ci_visibility_itr_committers_hwm", "ci_visibility_pipeline_committers_hwm", "ci_visibility_test_committers_hwm", "cloud_cost_management_aws_host_count_avg", "cloud_cost_management_azure_host_count_avg", "cloud_cost_management_host_count_avg", "cloud_siem_events_sum", "container_avg", "container_excl_agent_avg", "container_hwm", "csm_container_enterprise_compliance_count_sum", "csm_container_enterprise_cws_count_sum", "csm_container_enterprise_total_count_sum", "csm_host_enterprise_aas_host_count_top99p", "csm_host_enterprise_aws_host_count_top99p", "csm_host_enterprise_azure_host_count_top99p", "csm_host_enterprise_compliance_host_count_top99p", "csm_host_enterprise_cws_host_count_top99p", "csm_host_enterprise_gcp_host_count_top99p", "csm_host_enterprise_total_host_count_top99p", "cspm_aas_host_top99p", "cspm_aws_host_top99p", "cspm_azure_host_top99p", "cspm_container_avg", "cspm_container_hwm", "cspm_gcp_host_top99p", "cspm_host_top99p", "custom_ts_avg", "cws_container_count_avg", "cws_host_top99p", "date", "dbm_host_top99p", "dbm_queries_count_avg", "fargate_tasks_count_avg", "fargate_tasks_count_hwm", "forwarding_events_bytes_sum", "gcp_host_top99p", "heroku_host_top99p", "incident_management_monthly_active_users_hwm", "indexed_events_count_sum", "infra_host_top99p", "ingested_events_bytes_sum", "iot_device_sum", "iot_device_top99p", "mobile_rum_lite_session_count_sum", "mobile_rum_session_count_android_sum", "mobile_rum_session_count_flutter_sum", "mobile_rum_session_count_ios_sum", "mobile_rum_session_count_reactnative_sum", "mobile_rum_session_count_roku_sum", "mobile_rum_session_count_sum", "mobile_rum_units_sum", "ndm_netflow_events_sum", "netflow_indexed_events_count_sum", "npm_host_top99p", "observability_pipelines_bytes_processed_sum", "online_archive_events_count_sum", "opentelemetry_apm_host_top99p", "opentelemetry_host_top99p", "orgs", "profiling_aas_count_top99p", "profiling_host_top99p", "rum_browser_and_mobile_session_count", "rum_session_count_sum", "rum_total_session_count_sum", "rum_units_sum", "sds_apm_scanned_bytes_sum", "sds_events_scanned_bytes_sum", "sds_logs_scanned_bytes_sum", "sds_rum_scanned_bytes_sum", "sds_total_scanned_bytes_sum", "serverless_apps_azure_count_avg", "serverless_apps_google_count_avg", "serverless_apps_total_count_avg", "synthetics_browser_check_calls_count_sum", "synthetics_check_calls_count_sum", "synthetics_mobile_test_runs_sum", "synthetics_parallel_testing_max_slots_hwm", "trace_search_indexed_events_count_sum", "twol_ingested_events_bytes_sum", "universal_service_monitoring_host_top99p", "vsphere_host_top99p", "vuln_management_host_count_top99p", "workflow_executions_usage_sum"})
} else {
return err
}
o.AgentHostTop99p = all.AgentHostTop99p
o.ApmAzureAppServiceHostTop99p = all.ApmAzureAppServiceHostTop99p
o.ApmDevsecopsHostTop99p = all.ApmDevsecopsHostTop99p
o.ApmFargateCountAvg = all.ApmFargateCountAvg
o.ApmHostTop99p = all.ApmHostTop99p
o.AppsecFargateCountAvg = all.AppsecFargateCountAvg
Expand Down
Loading

0 comments on commit 56b64d1

Please sign in to comment.