datadog_api_client 2.19.0 → 2.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.apigentools-info +4 -4
- data/.generator/conftest.py +5 -0
- data/.generator/schemas/v1/openapi.yaml +430 -172
- data/.generator/schemas/v2/openapi.yaml +3146 -165
- data/.generator/src/generator/templates/api.j2 +5 -5
- data/CHANGELOG.md +48 -0
- data/examples/v1/gcp-integration/CreateGCPIntegration.rb +3 -0
- data/examples/v1/gcp-integration/UpdateGCPIntegration_3544259255.rb +25 -0
- data/examples/v1/logs-indexes/CreateLogsIndex.rb +5 -0
- data/examples/v1/logs-indexes/UpdateLogsIndex.rb +5 -0
- data/examples/v1/synthetics/CreateSyntheticsAPITest.rb +1 -1
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.rb +29 -0
- data/examples/v1/synthetics/CreateSyntheticsBrowserTest.rb +1 -1
- data/examples/v1/synthetics/TriggerCITests.rb +1 -1
- data/examples/v1/synthetics/UpdateBrowserTest.rb +2 -1
- data/examples/v1/usage-metering/GetUsageLambda.rb +5 -2
- data/examples/v2/api-management/CreateOpenAPI.rb +11 -0
- data/examples/v2/api-management/DeleteOpenAPI.rb +11 -0
- data/examples/v2/api-management/GetOpenAPI.rb +11 -0
- data/examples/v2/api-management/UpdateOpenAPI.rb +14 -0
- data/examples/v2/case-management/ArchiveCase.rb +14 -0
- data/examples/v2/case-management/AssignCase.rb +20 -0
- data/examples/v2/case-management/CreateCase.rb +33 -0
- data/examples/v2/case-management/CreateProject.rb +15 -0
- data/examples/v2/case-management/DeleteProject.rb +5 -0
- data/examples/v2/case-management/GetCase.rb +8 -0
- data/examples/v2/case-management/GetProject.rb +5 -0
- data/examples/v2/case-management/GetProjects.rb +5 -0
- data/examples/v2/case-management/SearchCases.rb +5 -0
- data/examples/v2/case-management/SearchCases_3433960044.rb +5 -0
- data/examples/v2/case-management/UnarchiveCase.rb +14 -0
- data/examples/v2/case-management/UnassignCase.rb +14 -0
- data/examples/v2/case-management/UpdatePriority.rb +17 -0
- data/examples/v2/case-management/UpdateStatus.rb +17 -0
- data/examples/v2/cloud-workload-security/CreateCSMThreatsAgentRule.rb +17 -0
- data/examples/v2/cloud-workload-security/DeleteCSMThreatsAgentRule.rb +8 -0
- data/examples/v2/cloud-workload-security/DownloadCSMThreatsPolicy.rb +5 -0
- data/examples/v2/cloud-workload-security/GetCSMThreatsAgentRule.rb +8 -0
- data/examples/v2/cloud-workload-security/ListCSMThreatsAgentRules.rb +5 -0
- data/examples/v2/cloud-workload-security/UpdateCSMThreatsAgentRule.rb +20 -0
- data/examples/v2/dora-metrics/CreateDORAIncident.rb +6 -3
- data/examples/v2/gcp-integration/CreateGCPSTSAccount_194782945.rb +18 -0
- data/examples/v2/gcp-integration/UpdateGCPSTSAccount_2241994060.rb +21 -0
- data/examples/v2/logs-custom-destinations/CreateLogsCustomDestination.rb +31 -0
- data/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_1091442807.rb +31 -0
- data/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_1288180912.rb +27 -0
- data/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_141236188.rb +32 -0
- data/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_2184123765.rb +31 -0
- data/examples/v2/logs-custom-destinations/DeleteLogsCustomDestination.rb +8 -0
- data/examples/v2/logs-custom-destinations/GetLogsCustomDestination.rb +8 -0
- data/examples/v2/logs-custom-destinations/ListLogsCustomDestinations.rb +5 -0
- data/examples/v2/logs-custom-destinations/UpdateLogsCustomDestination.rb +18 -0
- data/examples/v2/metrics/ListMetricAssets.rb +5 -0
- data/examples/v2/okta-integration/CreateOktaAccount.rb +1 -1
- data/examples/v2/security-monitoring/CreateSecurityMonitoringSuppression.rb +19 -0
- data/examples/v2/security-monitoring/DeleteSecurityMonitoringSuppression.rb +8 -0
- data/examples/v2/security-monitoring/GetSecurityMonitoringSuppression.rb +8 -0
- data/examples/v2/security-monitoring/ListSecurityMonitoringSuppressions.rb +5 -0
- data/examples/v2/security-monitoring/UpdateSecurityMonitoringSuppression.rb +17 -0
- data/examples/v2/teams/GetTeamMemberships_3799131168.rb +8 -0
- data/examples/v2/usage-metering/GetUsageLambdaTracedInvocations.rb +1 -1
- data/lib/datadog_api_client/configuration.rb +4 -0
- data/lib/datadog_api_client/inflector.rb +134 -0
- data/lib/datadog_api_client/v1/api/monitors_api.rb +1 -3
- data/lib/datadog_api_client/v1/api/organizations_api.rb +1 -1
- data/lib/datadog_api_client/v1/api/usage_metering_api.rb +8 -8
- data/lib/datadog_api_client/v1/models/dashboard.rb +5 -1
- data/lib/datadog_api_client/v1/models/dashboard_summary_definition.rb +2 -0
- data/lib/datadog_api_client/v1/models/gcp_account.rb +14 -1
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +6 -0
- data/lib/datadog_api_client/v1/models/log.rb +1 -1
- data/lib/datadog_api_client/v1/models/logs_daily_limit_reset.rb +90 -0
- data/lib/datadog_api_client/v1/models/logs_index.rb +36 -1
- data/lib/datadog_api_client/v1/models/logs_index_update_request.rb +36 -1
- data/lib/datadog_api_client/v1/models/metrics_payload.rb +1 -1
- data/lib/datadog_api_client/v1/models/metrics_query_metadata.rb +1 -1
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_events_data_source.rb +1 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +8 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +84 -4
- data/lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/slo_correction_response_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/slo_correction_update_request_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/slo_history_metrics.rb +2 -2
- data/lib/datadog_api_client/v1/models/slo_history_metrics_series.rb +1 -1
- data/lib/datadog_api_client/v1/models/slo_history_monitor.rb +1 -1
- data/lib/datadog_api_client/v1/models/slo_history_sli_data.rb +1 -1
- data/lib/datadog_api_client/v1/models/split_config.rb +6 -6
- data/lib/datadog_api_client/v1/models/synthetics_api_step_subtype.rb +1 -0
- data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +21 -1
- data/lib/datadog_api_client/v1/models/usage_attribution_body.rb +1 -1
- data/lib/datadog_api_client/v1/models/usage_attribution_sort.rb +2 -0
- data/lib/datadog_api_client/v1/models/usage_attribution_supported_metrics.rb +2 -0
- data/lib/datadog_api_client/v1/models/usage_lambda_hour.rb +1 -1
- data/lib/datadog_api_client/v1/models/usage_lambda_response.rb +1 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +81 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +83 -3
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +182 -102
- data/lib/datadog_api_client/v2/api/api_management_api.rb +319 -0
- data/lib/datadog_api_client/v2/api/case_management_api.rb +942 -0
- data/lib/datadog_api_client/v2/api/ci_visibility_tests_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/cloud_workload_security_api.rb +392 -0
- data/lib/datadog_api_client/v2/api/incident_services_api.rb +15 -0
- data/lib/datadog_api_client/v2/api/logs_custom_destinations_api.rb +355 -0
- data/lib/datadog_api_client/v2/api/metrics_api.rb +69 -1
- data/lib/datadog_api_client/v2/api/organizations_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +329 -0
- data/lib/datadog_api_client/v2/api/service_definition_api.rb +2 -1
- data/lib/datadog_api_client/v2/api/teams_api.rb +22 -0
- data/lib/datadog_api_client/v2/api/usage_metering_api.rb +6 -6
- data/lib/datadog_api_client/v2/models/case.rb +150 -0
- data/lib/datadog_api_client/v2/models/case3rd_party_ticket_status.rb +28 -0
- data/lib/datadog_api_client/v2/models/case_assign.rb +119 -0
- data/lib/datadog_api_client/v2/models/case_assign_attributes.rb +98 -0
- data/lib/datadog_api_client/v2/models/case_assign_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/case_attributes.rb +202 -0
- data/lib/datadog_api_client/v2/models/case_create.rb +129 -0
- data/lib/datadog_api_client/v2/models/case_create_attributes.rb +139 -0
- data/lib/datadog_api_client/v2/models/case_create_relationships.rb +116 -0
- data/lib/datadog_api_client/v2/models/case_create_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/case_empty.rb +98 -0
- data/lib/datadog_api_client/v2/models/case_empty_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/case_priority.rb +31 -0
- data/lib/datadog_api_client/v2/models/case_relationships.rb +120 -0
- data/lib/datadog_api_client/v2/models/case_resource_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/case_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/case_sortable_field.rb +28 -0
- data/lib/datadog_api_client/v2/models/case_status.rb +28 -0
- data/lib/datadog_api_client/v2/models/case_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/case_update_priority.rb +119 -0
- data/lib/datadog_api_client/v2/models/case_update_priority_attributes.rb +98 -0
- data/lib/datadog_api_client/v2/models/case_update_priority_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/case_update_status.rb +119 -0
- data/lib/datadog_api_client/v2/models/case_update_status_attributes.rb +98 -0
- data/lib/datadog_api_client/v2/models/case_update_status_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/cases_response.rb +92 -0
- data/lib/datadog_api_client/v2/models/cases_response_meta.rb +80 -0
- data/lib/datadog_api_client/v2/models/cases_response_meta_pagination.rb +100 -0
- data/lib/datadog_api_client/v2/models/ci_app_aggregate_sort.rb +1 -1
- data/lib/datadog_api_client/v2/models/ci_app_pipelines_group_by.rb +1 -1
- data/lib/datadog_api_client/v2/models/ci_app_tests_group_by.rb +1 -1
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_action.rb +90 -0
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_attributes.rb +21 -1
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_kill.rb +80 -0
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_update_data.rb +11 -1
- data/lib/datadog_api_client/v2/models/create_open_api_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/create_open_api_response_attributes.rb +82 -0
- data/lib/datadog_api_client/v2/models/create_open_api_response_data.rb +90 -0
- data/lib/datadog_api_client/v2/models/custom_destination_attribute_tags_restriction_list_type.rb +31 -0
- data/lib/datadog_api_client/v2/models/custom_destination_create_request.rb +80 -0
- data/lib/datadog_api_client/v2/models/custom_destination_create_request_attributes.rb +193 -0
- data/lib/datadog_api_client/v2/models/custom_destination_create_request_definition.rb +119 -0
- data/lib/datadog_api_client/v2/models/custom_destination_elasticsearch_destination_auth.rb +119 -0
- data/lib/datadog_api_client/v2/models/custom_destination_forward_destination.rb +64 -0
- data/lib/datadog_api_client/v2/models/custom_destination_forward_destination_elasticsearch.rb +181 -0
- data/lib/datadog_api_client/v2/models/custom_destination_forward_destination_elasticsearch_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/custom_destination_forward_destination_http.rb +141 -0
- data/lib/datadog_api_client/v2/models/custom_destination_forward_destination_http_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/custom_destination_forward_destination_splunk.rb +141 -0
- data/lib/datadog_api_client/v2/models/custom_destination_forward_destination_splunk_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/custom_destination_http_destination_auth.rb +63 -0
- data/lib/datadog_api_client/v2/models/custom_destination_http_destination_auth_basic.rb +140 -0
- data/lib/datadog_api_client/v2/models/custom_destination_http_destination_auth_basic_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/custom_destination_http_destination_auth_custom_header.rb +140 -0
- data/lib/datadog_api_client/v2/models/custom_destination_http_destination_auth_custom_header_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response_attributes.rb +171 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response_definition.rb +100 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination.rb +64 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_elasticsearch.rb +181 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_elasticsearch_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_http.rb +141 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_http_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_splunk.rb +120 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_splunk_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response_http_destination_auth.rb +63 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response_http_destination_auth_basic.rb +98 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response_http_destination_auth_basic_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response_http_destination_auth_custom_header.rb +119 -0
- data/lib/datadog_api_client/v2/models/custom_destination_response_http_destination_auth_custom_header_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/custom_destination_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/custom_destination_update_request.rb +80 -0
- data/lib/datadog_api_client/v2/models/custom_destination_update_request_attributes.rb +169 -0
- data/lib/datadog_api_client/v2/models/custom_destination_update_request_definition.rb +129 -0
- data/lib/datadog_api_client/v2/models/custom_destinations_response.rb +82 -0
- data/lib/datadog_api_client/v2/models/dora_deployment_request_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/dora_incident_request_attributes.rb +31 -20
- data/lib/datadog_api_client/v2/models/gcpsts_service_account_attributes.rb +14 -1
- data/lib/datadog_api_client/v2/models/jira_issue.rb +90 -0
- data/lib/datadog_api_client/v2/models/jira_issue_result.rb +110 -0
- data/lib/datadog_api_client/v2/models/logs_archive_integration_gcs.rb +1 -12
- data/lib/datadog_api_client/v2/models/metric_asset_attributes.rb +80 -0
- data/lib/datadog_api_client/v2/models/metric_asset_dashboard_relationship.rb +90 -0
- data/lib/datadog_api_client/v2/models/metric_asset_dashboard_relationships.rb +82 -0
- data/lib/datadog_api_client/v2/models/metric_asset_monitor_relationship.rb +90 -0
- data/lib/datadog_api_client/v2/models/metric_asset_monitor_relationships.rb +82 -0
- data/lib/datadog_api_client/v2/models/metric_asset_notebook_relationship.rb +90 -0
- data/lib/datadog_api_client/v2/models/metric_asset_notebook_relationships.rb +82 -0
- data/lib/datadog_api_client/v2/models/metric_asset_response_data.rb +129 -0
- data/lib/datadog_api_client/v2/models/metric_asset_response_included.rb +65 -0
- data/lib/datadog_api_client/v2/models/metric_asset_response_relationships.rb +110 -0
- data/lib/datadog_api_client/v2/models/metric_asset_slo_relationship.rb +90 -0
- data/lib/datadog_api_client/v2/models/metric_asset_slo_relationships.rb +82 -0
- data/lib/datadog_api_client/v2/models/metric_assets_response.rb +92 -0
- data/lib/datadog_api_client/v2/models/metric_dashboard_asset.rb +129 -0
- data/lib/datadog_api_client/v2/models/metric_dashboard_attributes.rb +112 -0
- data/lib/datadog_api_client/v2/models/metric_dashboard_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/metric_monitor_asset.rb +129 -0
- data/lib/datadog_api_client/v2/models/metric_monitor_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/metric_notebook_asset.rb +129 -0
- data/lib/datadog_api_client/v2/models/metric_notebook_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/metric_payload.rb +1 -1
- data/lib/datadog_api_client/v2/models/metric_slo_asset.rb +129 -0
- data/lib/datadog_api_client/v2/models/metric_slo_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/nullable_user_relationship.rb +88 -0
- data/lib/datadog_api_client/v2/models/nullable_user_relationship_data.rb +119 -0
- data/lib/datadog_api_client/v2/models/open_api_endpoint.rb +90 -0
- data/lib/datadog_api_client/v2/models/open_api_file.rb +80 -0
- data/lib/datadog_api_client/v2/models/project.rb +150 -0
- data/lib/datadog_api_client/v2/models/project_attributes.rb +90 -0
- data/lib/datadog_api_client/v2/models/project_create.rb +119 -0
- data/lib/datadog_api_client/v2/models/project_create_attributes.rb +119 -0
- data/lib/datadog_api_client/v2/models/project_create_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/project_relationship.rb +98 -0
- data/lib/datadog_api_client/v2/models/project_relationship_data.rb +119 -0
- data/lib/datadog_api_client/v2/models/project_relationships.rb +90 -0
- data/lib/datadog_api_client/v2/models/project_resource_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/project_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/projects_response.rb +82 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression.rb +100 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_attributes.rb +198 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_create_attributes.rb +181 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_create_data.rb +119 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_create_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_update_attributes.rb +166 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_update_data.rb +119 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_update_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_suppressions_response.rb +82 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_user.rb +98 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_included_keyword_configuration.rb +1 -1
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/service_now_ticket.rb +90 -0
- data/lib/datadog_api_client/v2/models/service_now_ticket_result.rb +80 -0
- data/lib/datadog_api_client/v2/models/update_open_api_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/update_open_api_response_attributes.rb +82 -0
- data/lib/datadog_api_client/v2/models/update_open_api_response_data.rb +90 -0
- data/lib/datadog_api_client/v2/models/user_relationship_data.rb +119 -0
- data/lib/datadog_api_client/v2/models/user_resource_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/user_team_included.rb +62 -0
- data/lib/datadog_api_client/v2/models/user_team_response.rb +16 -4
- data/lib/datadog_api_client/v2/models/users_relationship.rb +100 -0
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +179 -3
- data/examples/v1/usage-metering/GetUsageLambda_3132428705.rb +0 -8
|
@@ -57,6 +57,12 @@ module DatadogAPIClient::V1
|
|
|
57
57
|
# The Application Security Monitoring host usage by tag(s).
|
|
58
58
|
attr_accessor :appsec_usage
|
|
59
59
|
|
|
60
|
+
# The percentage of Application Security Monitoring Serverless traced invocations usage by tag(s).
|
|
61
|
+
attr_accessor :asm_serverless_traced_invocations_percentage
|
|
62
|
+
|
|
63
|
+
# The Application Security Monitoring Serverless traced invocations usage by tag(s).
|
|
64
|
+
attr_accessor :asm_serverless_traced_invocations_usage
|
|
65
|
+
|
|
60
66
|
# The percentage of synthetic browser test usage by tag(s).
|
|
61
67
|
attr_accessor :browser_percentage
|
|
62
68
|
|
|
@@ -153,6 +159,12 @@ module DatadogAPIClient::V1
|
|
|
153
159
|
# The Database Monitoring queries usage by tag(s).
|
|
154
160
|
attr_accessor :dbm_queries_usage
|
|
155
161
|
|
|
162
|
+
# The percentage of error tracking events usage by tag(s).
|
|
163
|
+
attr_accessor :error_tracking_percentage
|
|
164
|
+
|
|
165
|
+
# The error tracking events usage by tag(s).
|
|
166
|
+
attr_accessor :error_tracking_usage
|
|
167
|
+
|
|
156
168
|
# The percentage of estimated live indexed logs usage by tag(s).
|
|
157
169
|
attr_accessor :estimated_indexed_logs_percentage
|
|
158
170
|
|
|
@@ -315,6 +327,12 @@ module DatadogAPIClient::V1
|
|
|
315
327
|
# The observability pipeline bytes usage by tag(s).
|
|
316
328
|
attr_accessor :obs_pipeline_bytes_usage
|
|
317
329
|
|
|
330
|
+
# The percentage of observability pipeline per core usage by tag(s).
|
|
331
|
+
attr_accessor :obs_pipelines_vcpu_percentage
|
|
332
|
+
|
|
333
|
+
# The observability pipeline per core usage by tag(s).
|
|
334
|
+
attr_accessor :obs_pipelines_vcpu_usage
|
|
335
|
+
|
|
318
336
|
# The percentage of profiled container usage by tag(s).
|
|
319
337
|
attr_accessor :profiled_container_percentage
|
|
320
338
|
|
|
@@ -381,6 +399,12 @@ module DatadogAPIClient::V1
|
|
|
381
399
|
# The Application Vulnerability Management usage by tag(s).
|
|
382
400
|
attr_accessor :vuln_management_hosts_usage
|
|
383
401
|
|
|
402
|
+
# The percentage of workflow executions usage by tag(s).
|
|
403
|
+
attr_accessor :workflow_executions_percentage
|
|
404
|
+
|
|
405
|
+
# The total workflow executions usage by tag(s).
|
|
406
|
+
attr_accessor :workflow_executions_usage
|
|
407
|
+
|
|
384
408
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
385
409
|
# @!visibility private
|
|
386
410
|
def self.attribute_map
|
|
@@ -397,6 +421,8 @@ module DatadogAPIClient::V1
|
|
|
397
421
|
:'appsec_fargate_usage' => :'appsec_fargate_usage',
|
|
398
422
|
:'appsec_percentage' => :'appsec_percentage',
|
|
399
423
|
:'appsec_usage' => :'appsec_usage',
|
|
424
|
+
:'asm_serverless_traced_invocations_percentage' => :'asm_serverless_traced_invocations_percentage',
|
|
425
|
+
:'asm_serverless_traced_invocations_usage' => :'asm_serverless_traced_invocations_usage',
|
|
400
426
|
:'browser_percentage' => :'browser_percentage',
|
|
401
427
|
:'browser_usage' => :'browser_usage',
|
|
402
428
|
:'ci_pipeline_indexed_spans_percentage' => :'ci_pipeline_indexed_spans_percentage',
|
|
@@ -429,6 +455,8 @@ module DatadogAPIClient::V1
|
|
|
429
455
|
:'dbm_hosts_usage' => :'dbm_hosts_usage',
|
|
430
456
|
:'dbm_queries_percentage' => :'dbm_queries_percentage',
|
|
431
457
|
:'dbm_queries_usage' => :'dbm_queries_usage',
|
|
458
|
+
:'error_tracking_percentage' => :'error_tracking_percentage',
|
|
459
|
+
:'error_tracking_usage' => :'error_tracking_usage',
|
|
432
460
|
:'estimated_indexed_logs_percentage' => :'estimated_indexed_logs_percentage',
|
|
433
461
|
:'estimated_indexed_logs_usage' => :'estimated_indexed_logs_usage',
|
|
434
462
|
:'estimated_indexed_spans_percentage' => :'estimated_indexed_spans_percentage',
|
|
@@ -483,6 +511,8 @@ module DatadogAPIClient::V1
|
|
|
483
511
|
:'npm_host_usage' => :'npm_host_usage',
|
|
484
512
|
:'obs_pipeline_bytes_percentage' => :'obs_pipeline_bytes_percentage',
|
|
485
513
|
:'obs_pipeline_bytes_usage' => :'obs_pipeline_bytes_usage',
|
|
514
|
+
:'obs_pipelines_vcpu_percentage' => :'obs_pipelines_vcpu_percentage',
|
|
515
|
+
:'obs_pipelines_vcpu_usage' => :'obs_pipelines_vcpu_usage',
|
|
486
516
|
:'profiled_container_percentage' => :'profiled_container_percentage',
|
|
487
517
|
:'profiled_container_usage' => :'profiled_container_usage',
|
|
488
518
|
:'profiled_fargate_percentage' => :'profiled_fargate_percentage',
|
|
@@ -504,7 +534,9 @@ module DatadogAPIClient::V1
|
|
|
504
534
|
:'universal_service_monitoring_percentage' => :'universal_service_monitoring_percentage',
|
|
505
535
|
:'universal_service_monitoring_usage' => :'universal_service_monitoring_usage',
|
|
506
536
|
:'vuln_management_hosts_percentage' => :'vuln_management_hosts_percentage',
|
|
507
|
-
:'vuln_management_hosts_usage' => :'vuln_management_hosts_usage'
|
|
537
|
+
:'vuln_management_hosts_usage' => :'vuln_management_hosts_usage',
|
|
538
|
+
:'workflow_executions_percentage' => :'workflow_executions_percentage',
|
|
539
|
+
:'workflow_executions_usage' => :'workflow_executions_usage'
|
|
508
540
|
}
|
|
509
541
|
end
|
|
510
542
|
|
|
@@ -524,6 +556,8 @@ module DatadogAPIClient::V1
|
|
|
524
556
|
:'appsec_fargate_usage' => :'Float',
|
|
525
557
|
:'appsec_percentage' => :'Float',
|
|
526
558
|
:'appsec_usage' => :'Float',
|
|
559
|
+
:'asm_serverless_traced_invocations_percentage' => :'Float',
|
|
560
|
+
:'asm_serverless_traced_invocations_usage' => :'Float',
|
|
527
561
|
:'browser_percentage' => :'Float',
|
|
528
562
|
:'browser_usage' => :'Float',
|
|
529
563
|
:'ci_pipeline_indexed_spans_percentage' => :'Float',
|
|
@@ -556,6 +590,8 @@ module DatadogAPIClient::V1
|
|
|
556
590
|
:'dbm_hosts_usage' => :'Float',
|
|
557
591
|
:'dbm_queries_percentage' => :'Float',
|
|
558
592
|
:'dbm_queries_usage' => :'Float',
|
|
593
|
+
:'error_tracking_percentage' => :'Float',
|
|
594
|
+
:'error_tracking_usage' => :'Float',
|
|
559
595
|
:'estimated_indexed_logs_percentage' => :'Float',
|
|
560
596
|
:'estimated_indexed_logs_usage' => :'Float',
|
|
561
597
|
:'estimated_indexed_spans_percentage' => :'Float',
|
|
@@ -610,6 +646,8 @@ module DatadogAPIClient::V1
|
|
|
610
646
|
:'npm_host_usage' => :'Float',
|
|
611
647
|
:'obs_pipeline_bytes_percentage' => :'Float',
|
|
612
648
|
:'obs_pipeline_bytes_usage' => :'Float',
|
|
649
|
+
:'obs_pipelines_vcpu_percentage' => :'Float',
|
|
650
|
+
:'obs_pipelines_vcpu_usage' => :'Float',
|
|
613
651
|
:'profiled_container_percentage' => :'Float',
|
|
614
652
|
:'profiled_container_usage' => :'Float',
|
|
615
653
|
:'profiled_fargate_percentage' => :'Float',
|
|
@@ -631,7 +669,9 @@ module DatadogAPIClient::V1
|
|
|
631
669
|
:'universal_service_monitoring_percentage' => :'Float',
|
|
632
670
|
:'universal_service_monitoring_usage' => :'Float',
|
|
633
671
|
:'vuln_management_hosts_percentage' => :'Float',
|
|
634
|
-
:'vuln_management_hosts_usage' => :'Float'
|
|
672
|
+
:'vuln_management_hosts_usage' => :'Float',
|
|
673
|
+
:'workflow_executions_percentage' => :'Float',
|
|
674
|
+
:'workflow_executions_usage' => :'Float'
|
|
635
675
|
}
|
|
636
676
|
end
|
|
637
677
|
|
|
@@ -699,6 +739,14 @@ module DatadogAPIClient::V1
|
|
|
699
739
|
self.appsec_usage = attributes[:'appsec_usage']
|
|
700
740
|
end
|
|
701
741
|
|
|
742
|
+
if attributes.key?(:'asm_serverless_traced_invocations_percentage')
|
|
743
|
+
self.asm_serverless_traced_invocations_percentage = attributes[:'asm_serverless_traced_invocations_percentage']
|
|
744
|
+
end
|
|
745
|
+
|
|
746
|
+
if attributes.key?(:'asm_serverless_traced_invocations_usage')
|
|
747
|
+
self.asm_serverless_traced_invocations_usage = attributes[:'asm_serverless_traced_invocations_usage']
|
|
748
|
+
end
|
|
749
|
+
|
|
702
750
|
if attributes.key?(:'browser_percentage')
|
|
703
751
|
self.browser_percentage = attributes[:'browser_percentage']
|
|
704
752
|
end
|
|
@@ -827,6 +875,14 @@ module DatadogAPIClient::V1
|
|
|
827
875
|
self.dbm_queries_usage = attributes[:'dbm_queries_usage']
|
|
828
876
|
end
|
|
829
877
|
|
|
878
|
+
if attributes.key?(:'error_tracking_percentage')
|
|
879
|
+
self.error_tracking_percentage = attributes[:'error_tracking_percentage']
|
|
880
|
+
end
|
|
881
|
+
|
|
882
|
+
if attributes.key?(:'error_tracking_usage')
|
|
883
|
+
self.error_tracking_usage = attributes[:'error_tracking_usage']
|
|
884
|
+
end
|
|
885
|
+
|
|
830
886
|
if attributes.key?(:'estimated_indexed_logs_percentage')
|
|
831
887
|
self.estimated_indexed_logs_percentage = attributes[:'estimated_indexed_logs_percentage']
|
|
832
888
|
end
|
|
@@ -1043,6 +1099,14 @@ module DatadogAPIClient::V1
|
|
|
1043
1099
|
self.obs_pipeline_bytes_usage = attributes[:'obs_pipeline_bytes_usage']
|
|
1044
1100
|
end
|
|
1045
1101
|
|
|
1102
|
+
if attributes.key?(:'obs_pipelines_vcpu_percentage')
|
|
1103
|
+
self.obs_pipelines_vcpu_percentage = attributes[:'obs_pipelines_vcpu_percentage']
|
|
1104
|
+
end
|
|
1105
|
+
|
|
1106
|
+
if attributes.key?(:'obs_pipelines_vcpu_usage')
|
|
1107
|
+
self.obs_pipelines_vcpu_usage = attributes[:'obs_pipelines_vcpu_usage']
|
|
1108
|
+
end
|
|
1109
|
+
|
|
1046
1110
|
if attributes.key?(:'profiled_container_percentage')
|
|
1047
1111
|
self.profiled_container_percentage = attributes[:'profiled_container_percentage']
|
|
1048
1112
|
end
|
|
@@ -1130,6 +1194,14 @@ module DatadogAPIClient::V1
|
|
|
1130
1194
|
if attributes.key?(:'vuln_management_hosts_usage')
|
|
1131
1195
|
self.vuln_management_hosts_usage = attributes[:'vuln_management_hosts_usage']
|
|
1132
1196
|
end
|
|
1197
|
+
|
|
1198
|
+
if attributes.key?(:'workflow_executions_percentage')
|
|
1199
|
+
self.workflow_executions_percentage = attributes[:'workflow_executions_percentage']
|
|
1200
|
+
end
|
|
1201
|
+
|
|
1202
|
+
if attributes.key?(:'workflow_executions_usage')
|
|
1203
|
+
self.workflow_executions_usage = attributes[:'workflow_executions_usage']
|
|
1204
|
+
end
|
|
1133
1205
|
end
|
|
1134
1206
|
|
|
1135
1207
|
# Checks equality by comparing each attribute.
|
|
@@ -1150,6 +1222,8 @@ module DatadogAPIClient::V1
|
|
|
1150
1222
|
appsec_fargate_usage == o.appsec_fargate_usage &&
|
|
1151
1223
|
appsec_percentage == o.appsec_percentage &&
|
|
1152
1224
|
appsec_usage == o.appsec_usage &&
|
|
1225
|
+
asm_serverless_traced_invocations_percentage == o.asm_serverless_traced_invocations_percentage &&
|
|
1226
|
+
asm_serverless_traced_invocations_usage == o.asm_serverless_traced_invocations_usage &&
|
|
1153
1227
|
browser_percentage == o.browser_percentage &&
|
|
1154
1228
|
browser_usage == o.browser_usage &&
|
|
1155
1229
|
ci_pipeline_indexed_spans_percentage == o.ci_pipeline_indexed_spans_percentage &&
|
|
@@ -1182,6 +1256,8 @@ module DatadogAPIClient::V1
|
|
|
1182
1256
|
dbm_hosts_usage == o.dbm_hosts_usage &&
|
|
1183
1257
|
dbm_queries_percentage == o.dbm_queries_percentage &&
|
|
1184
1258
|
dbm_queries_usage == o.dbm_queries_usage &&
|
|
1259
|
+
error_tracking_percentage == o.error_tracking_percentage &&
|
|
1260
|
+
error_tracking_usage == o.error_tracking_usage &&
|
|
1185
1261
|
estimated_indexed_logs_percentage == o.estimated_indexed_logs_percentage &&
|
|
1186
1262
|
estimated_indexed_logs_usage == o.estimated_indexed_logs_usage &&
|
|
1187
1263
|
estimated_indexed_spans_percentage == o.estimated_indexed_spans_percentage &&
|
|
@@ -1236,6 +1312,8 @@ module DatadogAPIClient::V1
|
|
|
1236
1312
|
npm_host_usage == o.npm_host_usage &&
|
|
1237
1313
|
obs_pipeline_bytes_percentage == o.obs_pipeline_bytes_percentage &&
|
|
1238
1314
|
obs_pipeline_bytes_usage == o.obs_pipeline_bytes_usage &&
|
|
1315
|
+
obs_pipelines_vcpu_percentage == o.obs_pipelines_vcpu_percentage &&
|
|
1316
|
+
obs_pipelines_vcpu_usage == o.obs_pipelines_vcpu_usage &&
|
|
1239
1317
|
profiled_container_percentage == o.profiled_container_percentage &&
|
|
1240
1318
|
profiled_container_usage == o.profiled_container_usage &&
|
|
1241
1319
|
profiled_fargate_percentage == o.profiled_fargate_percentage &&
|
|
@@ -1257,14 +1335,16 @@ module DatadogAPIClient::V1
|
|
|
1257
1335
|
universal_service_monitoring_percentage == o.universal_service_monitoring_percentage &&
|
|
1258
1336
|
universal_service_monitoring_usage == o.universal_service_monitoring_usage &&
|
|
1259
1337
|
vuln_management_hosts_percentage == o.vuln_management_hosts_percentage &&
|
|
1260
|
-
vuln_management_hosts_usage == o.vuln_management_hosts_usage
|
|
1338
|
+
vuln_management_hosts_usage == o.vuln_management_hosts_usage &&
|
|
1339
|
+
workflow_executions_percentage == o.workflow_executions_percentage &&
|
|
1340
|
+
workflow_executions_usage == o.workflow_executions_usage
|
|
1261
1341
|
end
|
|
1262
1342
|
|
|
1263
1343
|
# Calculates hash code according to all attributes.
|
|
1264
1344
|
# @return [Integer] Hash code
|
|
1265
1345
|
# @!visibility private
|
|
1266
1346
|
def hash
|
|
1267
|
-
[api_percentage, api_usage, apm_fargate_percentage, apm_fargate_usage, apm_host_percentage, apm_host_usage, apm_usm_percentage, apm_usm_usage, appsec_fargate_percentage, appsec_fargate_usage, appsec_percentage, appsec_usage, browser_percentage, browser_usage, ci_pipeline_indexed_spans_percentage, ci_pipeline_indexed_spans_usage, ci_test_indexed_spans_percentage, ci_test_indexed_spans_usage, ci_visibility_itr_percentage, ci_visibility_itr_usage, cloud_siem_percentage, cloud_siem_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_event_percentage, custom_event_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, indexed_spans_percentage, indexed_spans_usage, infra_host_percentage, infra_host_usage, ingested_logs_bytes_percentage, ingested_logs_bytes_usage, ingested_spans_bytes_percentage, ingested_spans_bytes_usage, invocations_percentage, invocations_usage, lambda_traced_invocations_percentage, lambda_traced_invocations_usage, logs_indexed_15day_percentage, logs_indexed_15day_usage, logs_indexed_180day_percentage, logs_indexed_180day_usage, logs_indexed_30day_percentage, logs_indexed_30day_usage, logs_indexed_360day_percentage, logs_indexed_360day_usage, logs_indexed_3day_percentage, logs_indexed_3day_usage, logs_indexed_45day_percentage, logs_indexed_45day_usage, logs_indexed_60day_percentage, logs_indexed_60day_usage, logs_indexed_7day_percentage, logs_indexed_7day_usage, logs_indexed_90day_percentage, logs_indexed_90day_usage, logs_indexed_custom_retention_percentage, logs_indexed_custom_retention_usage, mobile_app_testing_percentage, mobile_app_testing_usage, ndm_netflow_percentage, ndm_netflow_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, rum_browser_mobile_sessions_percentage, rum_browser_mobile_sessions_usage, rum_replay_sessions_percentage, rum_replay_sessions_usage, sds_scanned_bytes_percentage, sds_scanned_bytes_usage, serverless_apps_percentage, serverless_apps_usage, siem_ingested_bytes_percentage, siem_ingested_bytes_usage, snmp_percentage, snmp_usage, universal_service_monitoring_percentage, universal_service_monitoring_usage, vuln_management_hosts_percentage, vuln_management_hosts_usage].hash
|
|
1347
|
+
[api_percentage, api_usage, apm_fargate_percentage, apm_fargate_usage, apm_host_percentage, apm_host_usage, apm_usm_percentage, apm_usm_usage, appsec_fargate_percentage, appsec_fargate_usage, appsec_percentage, appsec_usage, asm_serverless_traced_invocations_percentage, asm_serverless_traced_invocations_usage, browser_percentage, browser_usage, ci_pipeline_indexed_spans_percentage, ci_pipeline_indexed_spans_usage, ci_test_indexed_spans_percentage, ci_test_indexed_spans_usage, ci_visibility_itr_percentage, ci_visibility_itr_usage, cloud_siem_percentage, cloud_siem_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_event_percentage, custom_event_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, error_tracking_percentage, error_tracking_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, indexed_spans_percentage, indexed_spans_usage, infra_host_percentage, infra_host_usage, ingested_logs_bytes_percentage, ingested_logs_bytes_usage, ingested_spans_bytes_percentage, ingested_spans_bytes_usage, invocations_percentage, invocations_usage, lambda_traced_invocations_percentage, lambda_traced_invocations_usage, logs_indexed_15day_percentage, logs_indexed_15day_usage, logs_indexed_180day_percentage, logs_indexed_180day_usage, logs_indexed_30day_percentage, logs_indexed_30day_usage, logs_indexed_360day_percentage, logs_indexed_360day_usage, logs_indexed_3day_percentage, logs_indexed_3day_usage, logs_indexed_45day_percentage, logs_indexed_45day_usage, logs_indexed_60day_percentage, logs_indexed_60day_usage, logs_indexed_7day_percentage, logs_indexed_7day_usage, logs_indexed_90day_percentage, logs_indexed_90day_usage, logs_indexed_custom_retention_percentage, logs_indexed_custom_retention_usage, mobile_app_testing_percentage, mobile_app_testing_usage, ndm_netflow_percentage, ndm_netflow_usage, npm_host_percentage, npm_host_usage, obs_pipeline_bytes_percentage, obs_pipeline_bytes_usage, obs_pipelines_vcpu_percentage, obs_pipelines_vcpu_usage, profiled_container_percentage, profiled_container_usage, profiled_fargate_percentage, profiled_fargate_usage, profiled_host_percentage, profiled_host_usage, rum_browser_mobile_sessions_percentage, rum_browser_mobile_sessions_usage, rum_replay_sessions_percentage, rum_replay_sessions_usage, sds_scanned_bytes_percentage, sds_scanned_bytes_usage, serverless_apps_percentage, serverless_apps_usage, siem_ingested_bytes_percentage, siem_ingested_bytes_usage, snmp_percentage, snmp_usage, universal_service_monitoring_percentage, universal_service_monitoring_usage, vuln_management_hosts_percentage, vuln_management_hosts_usage, workflow_executions_percentage, workflow_executions_usage].hash
|
|
1268
1348
|
end
|
|
1269
1349
|
end
|
|
1270
1350
|
end
|
|
@@ -34,7 +34,7 @@ module DatadogAPIClient::V1
|
|
|
34
34
|
attr_accessor :_end
|
|
35
35
|
|
|
36
36
|
# The recurrence rules as defined in the iCalendar RFC 5545. The supported rules for SLO corrections
|
|
37
|
-
# are `FREQ`, `INTERVAL`, `COUNT` and `
|
|
37
|
+
# are `FREQ`, `INTERVAL`, `COUNT`, `UNTIL` and `BYDAY`.
|
|
38
38
|
attr_accessor :rrule
|
|
39
39
|
|
|
40
40
|
# ID of the SLO that this correction applies to.
|
|
@@ -46,7 +46,7 @@ module DatadogAPIClient::V1
|
|
|
46
46
|
attr_accessor :modifier
|
|
47
47
|
|
|
48
48
|
# The recurrence rules as defined in the iCalendar RFC 5545. The supported rules for SLO corrections
|
|
49
|
-
# are `FREQ`, `INTERVAL`, `COUNT`, and `
|
|
49
|
+
# are `FREQ`, `INTERVAL`, `COUNT`, `UNTIL` and `BYDAY`.
|
|
50
50
|
attr_accessor :rrule
|
|
51
51
|
|
|
52
52
|
# ID of the SLO that this correction applies to.
|
|
@@ -34,7 +34,7 @@ module DatadogAPIClient::V1
|
|
|
34
34
|
attr_accessor :_end
|
|
35
35
|
|
|
36
36
|
# The recurrence rules as defined in the iCalendar RFC 5545. The supported rules for SLO corrections
|
|
37
|
-
# are `FREQ`, `INTERVAL`, `COUNT`, and `
|
|
37
|
+
# are `FREQ`, `INTERVAL`, `COUNT`, `UNTIL` and `BYDAY`.
|
|
38
38
|
attr_accessor :rrule
|
|
39
39
|
|
|
40
40
|
# Starting time of the correction in epoch seconds.
|
|
@@ -23,7 +23,7 @@ module DatadogAPIClient::V1
|
|
|
23
23
|
class SLOHistoryMetrics
|
|
24
24
|
include BaseGenericModel
|
|
25
25
|
|
|
26
|
-
# A representation of `metric` based SLO
|
|
26
|
+
# A representation of `metric` based SLO timeseries for the provided queries.
|
|
27
27
|
# This is the same response type from `batch_query` endpoint.
|
|
28
28
|
attr_reader :denominator
|
|
29
29
|
|
|
@@ -33,7 +33,7 @@ module DatadogAPIClient::V1
|
|
|
33
33
|
# Optional message if there are specific query issues/warnings.
|
|
34
34
|
attr_accessor :message
|
|
35
35
|
|
|
36
|
-
# A representation of `metric` based SLO
|
|
36
|
+
# A representation of `metric` based SLO timeseries for the provided queries.
|
|
37
37
|
# This is the same response type from `batch_query` endpoint.
|
|
38
38
|
attr_reader :numerator
|
|
39
39
|
|
|
@@ -17,7 +17,7 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V1
|
|
20
|
-
# A representation of `metric` based SLO
|
|
20
|
+
# A representation of `metric` based SLO timeseries for the provided queries.
|
|
21
21
|
# This is the same response type from `batch_query` endpoint.
|
|
22
22
|
class SLOHistoryMetricsSeries
|
|
23
23
|
include BaseGenericModel
|
|
@@ -31,7 +31,7 @@ module DatadogAPIClient::V1
|
|
|
31
31
|
# For groups in a grouped SLO, this is the group name.
|
|
32
32
|
attr_accessor :group
|
|
33
33
|
|
|
34
|
-
# For `monitor` based SLOs, this includes the aggregated history as arrays that include
|
|
34
|
+
# For `monitor` based SLOs, this includes the aggregated history as arrays that include timeseries and uptime data where `0=monitor` is in `OK` state and `1=monitor` is in `alert` state.
|
|
35
35
|
attr_accessor :history
|
|
36
36
|
|
|
37
37
|
# For `monitor` based SLOs, this is the last modified timestamp in epoch seconds of the monitor.
|
|
@@ -31,7 +31,7 @@ module DatadogAPIClient::V1
|
|
|
31
31
|
# For groups in a grouped SLO, this is the group name.
|
|
32
32
|
attr_accessor :group
|
|
33
33
|
|
|
34
|
-
# For `monitor` based SLOs, this includes the aggregated history as arrays that include
|
|
34
|
+
# For `monitor` based SLOs, this includes the aggregated history as arrays that include timeseries and uptime data where `0=monitor` is in `OK` state and `1=monitor` is in `alert` state.
|
|
35
35
|
attr_accessor :history
|
|
36
36
|
|
|
37
37
|
# For `monitor` based SLOs, this is the last modified timestamp in epoch seconds of the monitor.
|
|
@@ -97,13 +97,13 @@ module DatadogAPIClient::V1
|
|
|
97
97
|
# @!visibility private
|
|
98
98
|
def valid?
|
|
99
99
|
return false if @limit.nil?
|
|
100
|
-
return false if @limit >
|
|
100
|
+
return false if @limit > 500
|
|
101
101
|
return false if @limit < 1
|
|
102
102
|
return false if @sort.nil?
|
|
103
103
|
return false if @split_dimensions.nil?
|
|
104
104
|
return false if @split_dimensions.length > 1
|
|
105
105
|
return false if @split_dimensions.length < 1
|
|
106
|
-
return false if !@static_splits.nil? && @static_splits.length >
|
|
106
|
+
return false if !@static_splits.nil? && @static_splits.length > 500
|
|
107
107
|
true
|
|
108
108
|
end
|
|
109
109
|
|
|
@@ -114,8 +114,8 @@ module DatadogAPIClient::V1
|
|
|
114
114
|
if limit.nil?
|
|
115
115
|
fail ArgumentError, 'invalid value for "limit", limit cannot be nil.'
|
|
116
116
|
end
|
|
117
|
-
if limit >
|
|
118
|
-
fail ArgumentError, 'invalid value for "limit", must be smaller than or equal to
|
|
117
|
+
if limit > 500
|
|
118
|
+
fail ArgumentError, 'invalid value for "limit", must be smaller than or equal to 500.'
|
|
119
119
|
end
|
|
120
120
|
if limit < 1
|
|
121
121
|
fail ArgumentError, 'invalid value for "limit", must be greater than or equal to 1.'
|
|
@@ -153,8 +153,8 @@ module DatadogAPIClient::V1
|
|
|
153
153
|
# @param static_splits [Object] Object to be assigned
|
|
154
154
|
# @!visibility private
|
|
155
155
|
def static_splits=(static_splits)
|
|
156
|
-
if !static_splits.nil? && static_splits.length >
|
|
157
|
-
fail ArgumentError, 'invalid value for "static_splits", number of items must be less than or equal to
|
|
156
|
+
if !static_splits.nil? && static_splits.length > 500
|
|
157
|
+
fail ArgumentError, 'invalid value for "static_splits", number of items must be less than or equal to 500.'
|
|
158
158
|
end
|
|
159
159
|
@static_splits = static_splits
|
|
160
160
|
end
|
|
@@ -45,6 +45,9 @@ module DatadogAPIClient::V1
|
|
|
45
45
|
# A protobuf JSON descriptor that needs to be gzipped first then base64 encoded.
|
|
46
46
|
attr_accessor :compressed_json_descriptor
|
|
47
47
|
|
|
48
|
+
# A protobuf file that needs to be gzipped first then base64 encoded.
|
|
49
|
+
attr_accessor :compressed_proto_file
|
|
50
|
+
|
|
48
51
|
# DNS server to use for DNS tests.
|
|
49
52
|
attr_accessor :dns_server
|
|
50
53
|
|
|
@@ -60,6 +63,9 @@ module DatadogAPIClient::V1
|
|
|
60
63
|
# Host name to perform the test with.
|
|
61
64
|
attr_accessor :host
|
|
62
65
|
|
|
66
|
+
# HTTP version to use for a Synthetic test.
|
|
67
|
+
attr_accessor :http_version
|
|
68
|
+
|
|
63
69
|
# Message to send for UDP or WebSocket tests.
|
|
64
70
|
attr_accessor :message
|
|
65
71
|
|
|
@@ -116,11 +122,13 @@ module DatadogAPIClient::V1
|
|
|
116
122
|
:'certificate' => :'certificate',
|
|
117
123
|
:'certificate_domains' => :'certificateDomains',
|
|
118
124
|
:'compressed_json_descriptor' => :'compressedJsonDescriptor',
|
|
125
|
+
:'compressed_proto_file' => :'compressedProtoFile',
|
|
119
126
|
:'dns_server' => :'dnsServer',
|
|
120
127
|
:'dns_server_port' => :'dnsServerPort',
|
|
121
128
|
:'follow_redirects' => :'follow_redirects',
|
|
122
129
|
:'headers' => :'headers',
|
|
123
130
|
:'host' => :'host',
|
|
131
|
+
:'http_version' => :'httpVersion',
|
|
124
132
|
:'message' => :'message',
|
|
125
133
|
:'metadata' => :'metadata',
|
|
126
134
|
:'method' => :'method',
|
|
@@ -150,11 +158,13 @@ module DatadogAPIClient::V1
|
|
|
150
158
|
:'certificate' => :'SyntheticsTestRequestCertificate',
|
|
151
159
|
:'certificate_domains' => :'Array<String>',
|
|
152
160
|
:'compressed_json_descriptor' => :'String',
|
|
161
|
+
:'compressed_proto_file' => :'String',
|
|
153
162
|
:'dns_server' => :'String',
|
|
154
163
|
:'dns_server_port' => :'Integer',
|
|
155
164
|
:'follow_redirects' => :'Boolean',
|
|
156
165
|
:'headers' => :'Hash<String, String>',
|
|
157
166
|
:'host' => :'String',
|
|
167
|
+
:'http_version' => :'SyntheticsTestOptionsHTTPVersion',
|
|
158
168
|
:'message' => :'String',
|
|
159
169
|
:'metadata' => :'Hash<String, String>',
|
|
160
170
|
:'method' => :'String',
|
|
@@ -222,6 +232,10 @@ module DatadogAPIClient::V1
|
|
|
222
232
|
self.compressed_json_descriptor = attributes[:'compressed_json_descriptor']
|
|
223
233
|
end
|
|
224
234
|
|
|
235
|
+
if attributes.key?(:'compressed_proto_file')
|
|
236
|
+
self.compressed_proto_file = attributes[:'compressed_proto_file']
|
|
237
|
+
end
|
|
238
|
+
|
|
225
239
|
if attributes.key?(:'dns_server')
|
|
226
240
|
self.dns_server = attributes[:'dns_server']
|
|
227
241
|
end
|
|
@@ -242,6 +256,10 @@ module DatadogAPIClient::V1
|
|
|
242
256
|
self.host = attributes[:'host']
|
|
243
257
|
end
|
|
244
258
|
|
|
259
|
+
if attributes.key?(:'http_version')
|
|
260
|
+
self.http_version = attributes[:'http_version']
|
|
261
|
+
end
|
|
262
|
+
|
|
245
263
|
if attributes.key?(:'message')
|
|
246
264
|
self.message = attributes[:'message']
|
|
247
265
|
end
|
|
@@ -350,11 +368,13 @@ module DatadogAPIClient::V1
|
|
|
350
368
|
certificate == o.certificate &&
|
|
351
369
|
certificate_domains == o.certificate_domains &&
|
|
352
370
|
compressed_json_descriptor == o.compressed_json_descriptor &&
|
|
371
|
+
compressed_proto_file == o.compressed_proto_file &&
|
|
353
372
|
dns_server == o.dns_server &&
|
|
354
373
|
dns_server_port == o.dns_server_port &&
|
|
355
374
|
follow_redirects == o.follow_redirects &&
|
|
356
375
|
headers == o.headers &&
|
|
357
376
|
host == o.host &&
|
|
377
|
+
http_version == o.http_version &&
|
|
358
378
|
message == o.message &&
|
|
359
379
|
metadata == o.metadata &&
|
|
360
380
|
method == o.method &&
|
|
@@ -375,7 +395,7 @@ module DatadogAPIClient::V1
|
|
|
375
395
|
# @return [Integer] Hash code
|
|
376
396
|
# @!visibility private
|
|
377
397
|
def hash
|
|
378
|
-
[allow_insecure, basic_auth, body, body_type, call_type, certificate, certificate_domains, compressed_json_descriptor, dns_server, dns_server_port, follow_redirects, headers, host, message, metadata, method, no_saving_response_body, number_of_packets, persist_cookies, port, proxy, query, servername, service, should_track_hops, timeout, url].hash
|
|
398
|
+
[allow_insecure, basic_auth, body, body_type, call_type, certificate, certificate_domains, compressed_json_descriptor, compressed_proto_file, dns_server, dns_server_port, follow_redirects, headers, host, http_version, message, metadata, method, no_saving_response_body, number_of_packets, persist_cookies, port, proxy, query, servername, service, should_track_hops, timeout, url].hash
|
|
379
399
|
end
|
|
380
400
|
end
|
|
381
401
|
end
|
|
@@ -40,7 +40,7 @@ module DatadogAPIClient::V1
|
|
|
40
40
|
# In this scenario the API returns the total usage, not broken down by tags.
|
|
41
41
|
attr_accessor :tags
|
|
42
42
|
|
|
43
|
-
# Shows the the most recent hour in the current
|
|
43
|
+
# Shows the the most recent hour in the current month for all organizations for which all usages were calculated.
|
|
44
44
|
attr_accessor :updated_at
|
|
45
45
|
|
|
46
46
|
# Fields in Usage Summary by tag(s).
|
|
@@ -57,5 +57,7 @@ module DatadogAPIClient::V1
|
|
|
57
57
|
APPSEC_FARGATE_PERCENTAGE = "appsec_fargate_percentage".freeze
|
|
58
58
|
ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE = "estimated_rum_usage_attribution_usage".freeze
|
|
59
59
|
ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE = "estimated_rum_usage_attribution_percentage".freeze
|
|
60
|
+
ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE = "asm_serverless_traced_invocations_usage".freeze
|
|
61
|
+
ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE = "asm_serverless_traced_invocations_percentage".freeze
|
|
60
62
|
end
|
|
61
63
|
end
|
|
@@ -67,6 +67,8 @@ module DatadogAPIClient::V1
|
|
|
67
67
|
APPSEC_FARGATE_PERCENTAGE = "appsec_fargate_percentage".freeze
|
|
68
68
|
ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE = "estimated_rum_usage_attribution_usage".freeze
|
|
69
69
|
ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE = "estimated_rum_usage_attribution_percentage".freeze
|
|
70
|
+
ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE = "asm_serverless_traced_invocations_usage".freeze
|
|
71
|
+
ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE = "asm_serverless_traced_invocations_percentage".freeze
|
|
70
72
|
ALL = "*".freeze
|
|
71
73
|
end
|
|
72
74
|
end
|
|
@@ -17,7 +17,7 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V1
|
|
20
|
-
# Number of
|
|
20
|
+
# Number of Lambda functions and sum of the invocations of all Lambda functions
|
|
21
21
|
# for each hour for a given organization.
|
|
22
22
|
class UsageLambdaHour
|
|
23
23
|
include BaseGenericModel
|
|
@@ -17,7 +17,7 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V1
|
|
20
|
-
# Response containing the number of
|
|
20
|
+
# Response containing the number of Lambda functions and sum of the invocations of all Lambda functions
|
|
21
21
|
# for each hour for a given organization.
|
|
22
22
|
class UsageLambdaResponse
|
|
23
23
|
include BaseGenericModel
|