datadog_api_client 1.3.0 → 1.4.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 +6 -6
- data/.generator/templates/api.mustache +2 -2
- data/.generator/templates/api_client.mustache +7 -0
- data/.generator/templates/api_client_typhoeus_partial.mustache +7 -0
- data/.generator/templates/configuration.mustache +4 -0
- data/.openapi-generator/VERSION +1 -1
- data/CHANGELOG.md +27 -0
- data/README.md +12 -1
- data/data/v1/openapi.yaml +866 -119
- data/data/v2/openapi.yaml +113 -0
- data/docs/v1/AWSAccount.md +6 -0
- data/docs/v1/DowntimeRecurrence.md +1 -1
- data/docs/v1/Event.md +1 -1
- data/docs/v1/FormulaAndFunctionApmDependencyStatName.md +15 -0
- data/docs/v1/FormulaAndFunctionApmDependencyStatsDataSource.md +15 -0
- data/docs/v1/FormulaAndFunctionApmDependencyStatsQueryDefinition.md +36 -0
- data/docs/v1/FormulaAndFunctionApmResourceStatName.md +15 -0
- data/docs/v1/FormulaAndFunctionApmResourceStatsDataSource.md +15 -0
- data/docs/v1/FormulaAndFunctionApmResourceStatsQueryDefinition.md +36 -0
- data/docs/v1/FormulaAndFunctionQueryDefinition.md +5 -1
- data/docs/v1/FunnelQuery.md +22 -0
- data/docs/v1/FunnelRequestType.md +15 -0
- data/docs/v1/FunnelSource.md +15 -0
- data/docs/v1/FunnelWidgetDefinition.md +28 -0
- data/docs/v1/FunnelWidgetDefinitionType.md +15 -0
- data/docs/v1/FunnelWidgetRequest.md +20 -0
- data/docs/v1/LogsAPI.md +1 -1
- data/docs/v1/MetricContentEncoding.md +15 -0
- data/docs/v1/MetricsAPI.md +10 -6
- data/docs/v1/MetricsPayload.md +1 -1
- data/docs/v1/MonitorOptions.md +5 -1
- data/docs/v1/MonitorRenotifyStatusType.md +15 -0
- data/docs/v1/MonitorsAPI.md +9 -9
- data/docs/v1/NotebookCreateDataAttributes.md +2 -0
- data/docs/v1/NotebookMetadata.md +22 -0
- data/docs/v1/NotebookMetadataType.md +15 -0
- data/docs/v1/NotebookResponseDataAttributes.md +2 -0
- data/docs/v1/NotebookUpdateDataAttributes.md +2 -0
- data/docs/v1/NotebooksAPI.md +7 -3
- data/docs/v1/NotebooksResponseDataAttributes.md +2 -0
- data/docs/v1/ProcessQueryDefinition.md +1 -1
- data/docs/v1/README.md +31 -3
- data/docs/v1/SLOCorrection.md +1 -1
- data/docs/v1/SLOCorrectionCreateData.md +1 -1
- data/docs/v1/SLOCorrectionCreateRequestAttributes.md +4 -4
- data/docs/v1/SLOCorrectionListResponse.md +1 -1
- data/docs/v1/SLOCorrectionResponseAttributes.md +4 -4
- data/docs/v1/SLOCorrectionUpdateRequestAttributes.md +3 -3
- data/docs/v1/ScatterPlotWidgetDefinitionRequests.md +4 -2
- data/docs/v1/ScatterplotDimension.md +15 -0
- data/docs/v1/ScatterplotTableRequest.md +22 -0
- data/docs/v1/ScatterplotWidgetFormula.md +22 -0
- data/docs/v1/Series.md +1 -1
- data/docs/v1/ServiceChecksAPI.md +1 -1
- data/docs/v1/ServiceLevelObjectiveCorrectionsAPI.md +11 -11
- data/docs/v1/SyntheticsAPI.md +61 -0
- data/docs/v1/SyntheticsAPIStep.md +1 -1
- data/docs/v1/SyntheticsBatchDetails.md +18 -0
- data/docs/v1/SyntheticsBatchDetailsData.md +22 -0
- data/docs/v1/SyntheticsBatchResult.md +36 -0
- data/docs/v1/SyntheticsBrowserError.md +3 -3
- data/docs/v1/SyntheticsCIBatchMetadata.md +20 -0
- data/docs/v1/{SyntheticsCITestMetadataCi.md → SyntheticsCIBatchMetadataCI.md} +2 -2
- data/docs/v1/SyntheticsCIBatchMetadataGit.md +20 -0
- data/docs/v1/SyntheticsCITest.md +1 -1
- data/docs/v1/SyntheticsStatus.md +15 -0
- data/docs/v1/SyntheticsTestDetails.md +2 -0
- data/docs/v1/SyntheticsTestExecutionRule.md +15 -0
- data/docs/v1/SyntheticsTestRequest.md +2 -0
- data/docs/v1/UsageAttributionValues.md +4 -4
- data/docs/v1/UsageMeteringAPI.md +65 -0
- data/docs/v1/UsageSDSHour.md +22 -0
- data/docs/v1/UsageSDSResponse.md +18 -0
- data/docs/v1/UsageSummaryDate.md +4 -0
- data/docs/v1/UsageSummaryDateOrg.md +6 -2
- data/docs/v1/UsageSummaryResponse.md +6 -2
- data/docs/v1/UsageTimeseriesHour.md +1 -1
- data/docs/v1/WebhooksIntegration.md +1 -1
- data/docs/v1/WebhooksIntegrationUpdateRequest.md +1 -1
- data/docs/v1/WidgetDefinition.md +2 -0
- data/docs/v2/IncidentServicesAPI.md +5 -5
- data/docs/v2/IncidentTeamsAPI.md +5 -5
- data/docs/v2/IncidentsAPI.md +5 -5
- data/docs/v2/README.md +5 -0
- data/docs/v2/SecurityMonitoringAPI.md +5 -5
- data/examples/v1/metrics/SubmitMetrics.rbbeta +14 -0
- data/extract-code-blocks.awk +4 -0
- data/lib/datadog_api_client/v1/api/logs_api.rb +1 -1
- data/lib/datadog_api_client/v1/api/metrics_api.rb +5 -2
- data/lib/datadog_api_client/v1/api/monitors_api.rb +9 -9
- data/lib/datadog_api_client/v1/api/notebooks_api.rb +8 -2
- data/lib/datadog_api_client/v1/api/service_checks_api.rb +1 -1
- data/lib/datadog_api_client/v1/api/service_level_objective_corrections_api.rb +16 -16
- data/lib/datadog_api_client/v1/api/synthetics_api.rb +73 -0
- data/lib/datadog_api_client/v1/api/usage_metering_api.rb +77 -0
- data/lib/datadog_api_client/v1/api_client.rb +14 -0
- data/lib/datadog_api_client/v1/configuration.rb +7 -0
- data/lib/datadog_api_client/v1/models/aws_account.rb +37 -1
- data/lib/datadog_api_client/v1/models/content_encoding.rb +2 -2
- data/lib/datadog_api_client/v1/models/creator.rb +1 -0
- data/lib/datadog_api_client/v1/models/dashboard_summary_definition.rb +1 -0
- data/lib/datadog_api_client/v1/models/downtime_recurrence.rb +1 -1
- data/lib/datadog_api_client/v1/models/event.rb +1 -16
- data/lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stat_name.rb +44 -0
- data/lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_data_source.rb +38 -0
- data/lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_query_definition.rb +356 -0
- data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stat_name.rb +47 -0
- data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stats_data_source.rb +38 -0
- data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stats_query_definition.rb +348 -0
- data/lib/datadog_api_client/v1/models/formula_and_function_query_definition.rb +2 -0
- data/lib/datadog_api_client/v1/models/funnel_query.rb +271 -0
- data/lib/datadog_api_client/v1/models/funnel_request_type.rb +38 -0
- data/lib/datadog_api_client/v1/models/funnel_source.rb +38 -0
- data/lib/datadog_api_client/v1/models/funnel_widget_definition.rb +322 -0
- data/lib/datadog_api_client/v1/models/funnel_widget_definition_type.rb +38 -0
- data/lib/datadog_api_client/v1/models/funnel_widget_request.rb +251 -0
- data/lib/datadog_api_client/v1/models/metric_content_encoding.rb +38 -0
- data/lib/datadog_api_client/v1/models/metrics_query_metadata.rb +1 -0
- data/lib/datadog_api_client/v1/models/monitor.rb +2 -0
- data/lib/datadog_api_client/v1/models/monitor_options.rb +26 -2
- data/lib/datadog_api_client/v1/models/monitor_renotify_status_type.rb +40 -0
- data/lib/datadog_api_client/v1/models/notebook_author.rb +2 -0
- data/lib/datadog_api_client/v1/models/notebook_create_data_attributes.rb +10 -1
- data/lib/datadog_api_client/v1/models/notebook_metadata.rb +259 -0
- data/lib/datadog_api_client/v1/models/notebook_metadata_type.rb +42 -0
- data/lib/datadog_api_client/v1/models/notebook_response_data_attributes.rb +10 -1
- data/lib/datadog_api_client/v1/models/notebook_update_data_attributes.rb +10 -1
- data/lib/datadog_api_client/v1/models/notebooks_response_data_attributes.rb +10 -1
- data/lib/datadog_api_client/v1/models/notebooks_response_meta.rb +1 -1
- data/lib/datadog_api_client/v1/models/scatter_plot_widget_definition_requests.rb +10 -11
- data/lib/datadog_api_client/v1/models/scatterplot_dimension.rb +41 -0
- data/lib/datadog_api_client/v1/models/scatterplot_table_request.rb +256 -0
- data/lib/datadog_api_client/v1/models/scatterplot_widget_formula.rb +262 -0
- data/lib/datadog_api_client/v1/models/slo_correction.rb +2 -2
- data/lib/datadog_api_client/v1/models/slo_correction_create_data.rb +6 -1
- data/lib/datadog_api_client/v1/models/slo_correction_create_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb +5 -5
- data/lib/datadog_api_client/v1/models/slo_correction_list_response.rb +2 -2
- data/lib/datadog_api_client/v1/models/slo_correction_response.rb +1 -1
- data/lib/datadog_api_client/v1/models/slo_correction_response_attributes.rb +5 -5
- data/lib/datadog_api_client/v1/models/slo_correction_update_data.rb +1 -1
- data/lib/datadog_api_client/v1/models/slo_correction_update_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/slo_correction_update_request_attributes.rb +4 -4
- data/lib/datadog_api_client/v1/models/synthetics_batch_details.rb +232 -0
- data/lib/datadog_api_client/v1/models/synthetics_batch_details_data.rb +253 -0
- data/lib/datadog_api_client/v1/models/synthetics_batch_result.rb +319 -0
- data/lib/datadog_api_client/v1/models/{synthetics_ci_test_metadata.rb → synthetics_ci_batch_metadata.rb} +6 -6
- data/lib/datadog_api_client/v1/models/{synthetics_ci_test_metadata_ci.rb → synthetics_ci_batch_metadata_ci.rb} +4 -4
- data/lib/datadog_api_client/v1/models/{synthetics_ci_test_metadata_git.rb → synthetics_ci_batch_metadata_git.rb} +5 -5
- data/lib/datadog_api_client/v1/models/synthetics_ci_test.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_status.rb +40 -0
- data/lib/datadog_api_client/v1/models/synthetics_test_details.rb +10 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_execution_rule.rb +40 -0
- data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +11 -1
- data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +13 -13
- data/lib/datadog_api_client/v1/models/usage_sds_hour.rb +253 -0
- data/lib/datadog_api_client/v1/models/usage_sds_response.rb +235 -0
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +21 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +28 -8
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +29 -9
- data/lib/datadog_api_client/v1/models/usage_timeseries_hour.rb +1 -1
- data/lib/datadog_api_client/v1/models/webhooks_integration.rb +1 -1
- data/lib/datadog_api_client/v1/models/webhooks_integration_update_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/widget_definition.rb +1 -0
- data/lib/datadog_api_client/v1.rb +29 -3
- data/lib/datadog_api_client/v2/api/incident_services_api.rb +5 -5
- data/lib/datadog_api_client/v2/api/incident_teams_api.rb +5 -5
- data/lib/datadog_api_client/v2/api/incidents_api.rb +5 -5
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +5 -5
- data/lib/datadog_api_client/v2/api_client.rb +14 -0
- data/lib/datadog_api_client/v2/configuration.rb +5 -0
- data/lib/datadog_api_client/v2/models/incident_field_attributes_multiple_value.rb +1 -0
- data/lib/datadog_api_client/v2/models/incident_field_attributes_single_value.rb +1 -0
- data/lib/datadog_api_client/v2/models/incident_response_attributes.rb +1 -0
- data/lib/datadog_api_client/v2/models/user_attributes.rb +2 -0
- data/lib/datadog_api_client/version.rb +1 -1
- data/spec/v1/models/formula_and_function_apm_dependency_stat_name_spec.rb +31 -0
- data/spec/v1/models/formula_and_function_apm_dependency_stats_data_source_spec.rb +31 -0
- data/spec/v1/models/formula_and_function_apm_dependency_stats_query_definition_spec.rb +91 -0
- data/spec/v1/models/formula_and_function_apm_resource_stat_name_spec.rb +31 -0
- data/spec/v1/models/formula_and_function_apm_resource_stats_data_source_spec.rb +31 -0
- data/spec/v1/models/formula_and_function_apm_resource_stats_query_definition_spec.rb +91 -0
- data/spec/v1/models/funnel_query_spec.rb +49 -0
- data/spec/v1/models/funnel_request_type_spec.rb +31 -0
- data/spec/v1/models/funnel_source_spec.rb +31 -0
- data/spec/v1/models/funnel_widget_definition_spec.rb +67 -0
- data/spec/v1/models/funnel_widget_definition_type_spec.rb +31 -0
- data/spec/v1/models/funnel_widget_request_spec.rb +43 -0
- data/spec/v1/models/metric_content_encoding_spec.rb +31 -0
- data/spec/v1/models/monitor_renotify_status_type_spec.rb +31 -0
- data/spec/v1/models/notebook_metadata_spec.rb +49 -0
- data/spec/v1/models/notebook_metadata_type_spec.rb +31 -0
- data/spec/v1/models/scatterplot_dimension_spec.rb +31 -0
- data/spec/v1/models/scatterplot_table_request_spec.rb +49 -0
- data/spec/v1/models/scatterplot_widget_formula_spec.rb +49 -0
- data/spec/v1/models/synthetics_batch_details_data_spec.rb +49 -0
- data/spec/v1/models/synthetics_batch_details_spec.rb +37 -0
- data/spec/v1/models/synthetics_batch_result_spec.rb +91 -0
- data/spec/v1/models/{synthetics_ci_test_metadata_ci_spec.rb → synthetics_ci_batch_metadata_ci_spec.rb} +6 -6
- data/spec/v1/models/{synthetics_ci_test_metadata_git_spec.rb → synthetics_ci_batch_metadata_git_spec.rb} +6 -6
- data/spec/v1/models/{synthetics_ci_test_metadata_spec.rb → synthetics_ci_batch_metadata_spec.rb} +6 -6
- data/spec/v1/models/synthetics_status_spec.rb +31 -0
- data/spec/v1/models/synthetics_test_execution_rule_spec.rb +31 -0
- data/spec/v1/models/usage_sds_hour_spec.rb +49 -0
- data/spec/v1/models/usage_sds_response_spec.rb +37 -0
- metadata +119 -14
- data/docs/v1/SyntheticsCITestMetadata.md +0 -20
- data/docs/v1/SyntheticsCITestMetadataGit.md +0 -20
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a61b084c95e3a782a2b59bef9a6819041f5afd11662f8a25f158ae3cb0840152
|
|
4
|
+
data.tar.gz: 21ab29cf31844304dde30a51d6cf638eaef03f72666e97067217995b37e828bf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aa345f1728f5d509b313dba3d9c9412913e78122875a497b542f477b8fbeb3d7c98480792c9e2ac8ae3000ec2a1e1112260636d14805e39bc38eec81d87d968d
|
|
7
|
+
data.tar.gz: 3191fb363b5e803a7ed61e51da78f06d35cddfd9e7e6b43a500c4a25da44b01ef1607b9c7379d9eae31a642dcb2cb35b9591a90a43dde3b43281211163052740
|
data/.apigentools-info
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
"info_version": "2",
|
|
4
4
|
"spec_versions": {
|
|
5
5
|
"v1": {
|
|
6
|
-
"apigentools_version": "1.
|
|
7
|
-
"regenerated": "2021-
|
|
8
|
-
"spec_repo_commit": "
|
|
6
|
+
"apigentools_version": "1.5.1.dev2",
|
|
7
|
+
"regenerated": "2021-10-18 13:05:22.639592",
|
|
8
|
+
"spec_repo_commit": "3b56e2f"
|
|
9
9
|
},
|
|
10
10
|
"v2": {
|
|
11
|
-
"apigentools_version": "1.
|
|
12
|
-
"regenerated": "2021-
|
|
13
|
-
"spec_repo_commit": "
|
|
11
|
+
"apigentools_version": "1.5.1.dev2",
|
|
12
|
+
"regenerated": "2021-10-18 13:06:06.172187",
|
|
13
|
+
"spec_repo_commit": "3b56e2f"
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -160,12 +160,12 @@ module {{moduleName}}
|
|
|
160
160
|
{{/hasConsumes}}
|
|
161
161
|
{{#headerParams}}
|
|
162
162
|
{{#required}}
|
|
163
|
-
header_params[
|
|
163
|
+
header_params['{{{baseName}}}'] = {{#collectionFormat}}@api_client.build_collection_param({{{paramName}}}, :{{{collectionFormat}}}){{/collectionFormat}}{{^collectionFormat}}{{{paramName}}}{{/collectionFormat}}
|
|
164
164
|
{{/required}}
|
|
165
165
|
{{/headerParams}}
|
|
166
166
|
{{#headerParams}}
|
|
167
167
|
{{^required}}
|
|
168
|
-
header_params[
|
|
168
|
+
header_params['{{{baseName}}}'] = {{#collectionFormat}}@api_client.build_collection_param(opts[:'{{{paramName}}}'], :{{{collectionFormat}}}){{/collectionFormat}}{{^collectionFormat}}opts[:'{{{paramName}}}']{{/collectionFormat}} if !opts[:'{{{paramName}}}'].nil?
|
|
169
169
|
{{/required}}
|
|
170
170
|
{{/headerParams}}
|
|
171
171
|
|
|
@@ -33,6 +33,7 @@ module {{moduleName}}
|
|
|
33
33
|
'Content-Type' => 'application/json',
|
|
34
34
|
'User-Agent' => @user_agent
|
|
35
35
|
}
|
|
36
|
+
@default_headers['Accept-Encoding'] = 'gzip' if @config.compress
|
|
36
37
|
end
|
|
37
38
|
|
|
38
39
|
def self.default
|
|
@@ -93,6 +94,12 @@ module {{moduleName}}
|
|
|
93
94
|
|
|
94
95
|
return nil if body.nil? || body.empty?
|
|
95
96
|
|
|
97
|
+
if response.headers['Content-Encoding'].eql?('gzip') then
|
|
98
|
+
gzip = Zlib::Inflate.new(Zlib::MAX_WBITS + 16)
|
|
99
|
+
body = gzip.inflate(body)
|
|
100
|
+
gzip.close
|
|
101
|
+
end
|
|
102
|
+
|
|
96
103
|
# return response body directly for String return type
|
|
97
104
|
return body if return_type == 'String'
|
|
98
105
|
|
|
@@ -111,6 +111,13 @@
|
|
|
111
111
|
else
|
|
112
112
|
data = nil
|
|
113
113
|
end
|
|
114
|
+
if header_params['Content-Encoding'] == 'gzip'
|
|
115
|
+
gzip = Zlib::Deflate.new(nil, Zlib::MAX_WBITS + 16)
|
|
116
|
+
data = gzip.deflate(data, Zlib::FINISH)
|
|
117
|
+
gzip.close
|
|
118
|
+
elsif header_params['Content-Encoding'] == 'deflate'
|
|
119
|
+
data = Zlib::deflate(data)
|
|
120
|
+
end
|
|
114
121
|
data
|
|
115
122
|
end
|
|
116
123
|
|
|
@@ -103,6 +103,9 @@ module {{moduleName}}
|
|
|
103
103
|
|
|
104
104
|
attr_accessor :force_ending_format
|
|
105
105
|
|
|
106
|
+
# Set this to add accept encoding header for compression
|
|
107
|
+
attr_accessor :compress
|
|
108
|
+
|
|
106
109
|
def initialize
|
|
107
110
|
@scheme = '{{scheme}}'
|
|
108
111
|
@host = '{{host}}{{#port}}:{{{.}}}{{/port}}'
|
|
@@ -132,6 +135,7 @@ module {{moduleName}}
|
|
|
132
135
|
@debugging = false
|
|
133
136
|
@inject_format = false
|
|
134
137
|
@force_ending_format = false
|
|
138
|
+
@compress = true
|
|
135
139
|
@logger = defined?(Rails) ? Rails.logger : Logger.new(STDOUT)
|
|
136
140
|
@unstable_operations = {
|
|
137
141
|
{{#apiInfo}}
|
data/.openapi-generator/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
5.
|
|
1
|
+
5.3.0-SNAPSHOT
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## 1.4.0 / 2021-10-18
|
|
4
|
+
|
|
5
|
+
* [Added] Add `metrics_collection_enabled`, `cspm_resource_collection_enabled ` and `resource_collection_enabled` to AWS integration request. See [#524](https://github.com/DataDog/datadog-api-client-ruby/pull/524).
|
|
6
|
+
* [Added] Add SDS to usage metering endpoint. See [#527](https://github.com/DataDog/datadog-api-client-ruby/pull/527).
|
|
7
|
+
* [Added] [Synthetics] Add endpoint to get details of a batch. See [#477](https://github.com/DataDog/datadog-api-client-ruby/pull/477).
|
|
8
|
+
* [Added] Add `type` and `is_template` properties to notebooks. See [#522](https://github.com/DataDog/datadog-api-client-ruby/pull/522).
|
|
9
|
+
* [Added] Add `renotify_occurrences` and `renotify_statuses` monitor options. See [#520](https://github.com/DataDog/datadog-api-client-ruby/pull/520).
|
|
10
|
+
* [Added] Add `servername` property to SSL Synthetics tests request. See [#510](https://github.com/DataDog/datadog-api-client-ruby/pull/510).
|
|
11
|
+
* [Added] Document encoding in metrics intake. See [#511](https://github.com/DataDog/datadog-api-client-ruby/pull/511).
|
|
12
|
+
* [Added] Add support for formulas and functions in the Scatterplot Widget for dashboards. See [#495](https://github.com/DataDog/datadog-api-client-ruby/pull/495).
|
|
13
|
+
* [Added] Add support for gzip and deflate encoding. See [#500](https://github.com/DataDog/datadog-api-client-ruby/pull/500).
|
|
14
|
+
* [Added] Add information about creator to Synthetics tests details. See [#503](https://github.com/DataDog/datadog-api-client-ruby/pull/503).
|
|
15
|
+
* [Added] Add support for funnel widget in dashboards. See [#497](https://github.com/DataDog/datadog-api-client-ruby/pull/497).
|
|
16
|
+
* [Added] Add formula and function APM resource stats query definition for dashboards. See [#489](https://github.com/DataDog/datadog-api-client-ruby/pull/489).
|
|
17
|
+
* [Added] ApmDependencyStatsQuery for formulas and functions dashboard widgets. See [#488](https://github.com/DataDog/datadog-api-client-ruby/pull/488).
|
|
18
|
+
* [Fixed] Make monitor properties `priority` and `restricted_roles` nullable. See [#532](https://github.com/DataDog/datadog-api-client-ruby/pull/532).
|
|
19
|
+
* [Fixed] Remove event title length constraint. See [#505](https://github.com/DataDog/datadog-api-client-ruby/pull/505).
|
|
20
|
+
* [Fixed] Allow nullable date in notebook cells. See [#514](https://github.com/DataDog/datadog-api-client-ruby/pull/514).
|
|
21
|
+
* [Fixed] `IncidentFieldAttributesMultipleValue` can be nullable. See [#509](https://github.com/DataDog/datadog-api-client-ruby/pull/509).
|
|
22
|
+
* [Fixed] Fix incidents schemas. See [#508](https://github.com/DataDog/datadog-api-client-ruby/pull/508).
|
|
23
|
+
* [Fixed] Make sure that OpenAPI definition are valid with real server responses. See [#502](https://github.com/DataDog/datadog-api-client-ruby/pull/502).
|
|
24
|
+
* [Fixed] Fix typo in usage attribution field names for profiled containers. See [#504](https://github.com/DataDog/datadog-api-client-ruby/pull/504).
|
|
25
|
+
* [Fixed] [dashboards] Make the name property required for APM Dependency Stat Query. See [#494](https://github.com/DataDog/datadog-api-client-ruby/pull/494).
|
|
26
|
+
* [Fixed] Mark SLO Correction Type as required. See [#479](https://github.com/DataDog/datadog-api-client-ruby/pull/479).
|
|
27
|
+
* [Changed] Enable compression in responses. See [#519](https://github.com/DataDog/datadog-api-client-ruby/pull/519).
|
|
28
|
+
* [Changed] Use AVG aggregation function for DBM queries. See [#499](https://github.com/DataDog/datadog-api-client-ruby/pull/499).
|
|
29
|
+
|
|
3
30
|
## 1.3.0 / 2021-09-13
|
|
4
31
|
|
|
5
32
|
* [Added] Add `follow_redirects` options to test request in Synthetics. See [#481](https://github.com/DataDog/datadog-api-client-ruby/pull/481).
|
data/README.md
CHANGED
|
@@ -107,11 +107,22 @@ end
|
|
|
107
107
|
|
|
108
108
|
where `<unstable_operation_id>` is the name of the method used to interact with that endpoint. For example: `list_log_indexes`, or `get_logs_index`
|
|
109
109
|
|
|
110
|
+
|
|
111
|
+
### Disable compressed payloads
|
|
112
|
+
|
|
113
|
+
If you want to disable GZIP compressed responses, set the `compress` flag
|
|
114
|
+
on your configuration object:
|
|
115
|
+
|
|
116
|
+
```ruby
|
|
117
|
+
config = DatadogAPIClient::V1::Configuration.new
|
|
118
|
+
config.compress = false
|
|
119
|
+
client = DatadogAPIClient::V1::APIClient.new(config)
|
|
120
|
+
```
|
|
110
121
|
## Documentation
|
|
111
122
|
|
|
112
123
|
If you are interested in general documentation for all public Datadog API endpoints, checkout the [general documentation site](api docs).
|
|
113
124
|
|
|
114
|
-
Developer documentation for supported endpoints and models is divided based on API version prefix to [`v1`](/docs/v1/README.md) and [`v2`](/docs/v2/README.md).
|
|
125
|
+
Developer documentation for supported endpoints and models is divided based on API version prefix to [`v1`](/docs/v1/README.md) and [`v2`](/docs/v2/README.md).
|
|
115
126
|
|
|
116
127
|
For contributing, checkout the [contribution guidelines](contribution docs) and [development guide][development docs].
|
|
117
128
|
|