datadog_api_client 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
data/docs/v1/MetricsAPI.md
CHANGED
@@ -264,7 +264,7 @@ end
|
|
264
264
|
|
265
265
|
## submit_metrics
|
266
266
|
|
267
|
-
> <IntakePayloadAccepted> submit_metrics(body)
|
267
|
+
> <IntakePayloadAccepted> submit_metrics(body, opts)
|
268
268
|
|
269
269
|
The metrics end-point allows you to post time-series data that can be graphed on Datadog’s dashboards.
|
270
270
|
The maximum payload size is 3.2 megabytes (3200000 bytes). Compressed payloads must have a decompressed size of less than 62 megabytes (62914560 bytes).
|
@@ -284,10 +284,13 @@ compression is applied, which reduces the payload size.
|
|
284
284
|
require 'datadog_api_client'
|
285
285
|
api_instance = DatadogAPIClient::V1::MetricsAPI.new
|
286
286
|
body = DatadogAPIClient::V1::MetricsPayload.new({series: [DatadogAPIClient::V1::Series.new({metric: 'system.load.1', points: [[3.56]]})]}) # MetricsPayload |
|
287
|
+
opts = {
|
288
|
+
content_encoding: DatadogAPIClient::V1::MetricContentEncoding::DEFLATE # MetricContentEncoding | HTTP header used to compress the media-type.
|
289
|
+
}
|
287
290
|
|
288
291
|
begin
|
289
292
|
# Submit metrics
|
290
|
-
result = api_instance.submit_metrics(body)
|
293
|
+
result = api_instance.submit_metrics(body, opts)
|
291
294
|
p result
|
292
295
|
rescue DatadogAPIClient::V1::APIError => e
|
293
296
|
puts "Error when calling MetricsAPI->submit_metrics: #{e}"
|
@@ -298,12 +301,12 @@ end
|
|
298
301
|
|
299
302
|
This returns an Array which contains the response data, status code and headers.
|
300
303
|
|
301
|
-
> <Array(<IntakePayloadAccepted>, Integer, Hash)> submit_metrics_with_http_info(body)
|
304
|
+
> <Array(<IntakePayloadAccepted>, Integer, Hash)> submit_metrics_with_http_info(body, opts)
|
302
305
|
|
303
306
|
```ruby
|
304
307
|
begin
|
305
308
|
# Submit metrics
|
306
|
-
data, status_code, headers = api_instance.submit_metrics_with_http_info(body)
|
309
|
+
data, status_code, headers = api_instance.submit_metrics_with_http_info(body, opts)
|
307
310
|
p status_code # => 2xx
|
308
311
|
p headers # => { ... }
|
309
312
|
p data # => <IntakePayloadAccepted>
|
@@ -317,6 +320,7 @@ end
|
|
317
320
|
| Name | Type | Description | Notes |
|
318
321
|
| ---- | ---- | ----------- | ----- |
|
319
322
|
| **body** | [**MetricsPayload**](MetricsPayload.md) | | |
|
323
|
+
| **content_encoding** | **MetricContentEncoding** | HTTP header used to compress the media-type. | [optional] |
|
320
324
|
|
321
325
|
### Return type
|
322
326
|
|
@@ -328,8 +332,8 @@ end
|
|
328
332
|
|
329
333
|
### HTTP request headers
|
330
334
|
|
331
|
-
- **Content-Type**:
|
332
|
-
- **Accept**:
|
335
|
+
- **Content-Type**: text/json
|
336
|
+
- **Accept**: text/json
|
333
337
|
|
334
338
|
|
335
339
|
## update_metric_metadata
|
data/docs/v1/MetricsPayload.md
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
require 'datadog_api_client/v1'
|
13
13
|
|
14
14
|
instance = DatadogAPIClient::V1::MetricsPayload.new(
|
15
|
-
series: [{"metric":"system.load.1","points":[[
|
15
|
+
series: [{"metric":"system.load.1","points":[[1.475317847E9,0.7]]}]
|
16
16
|
)
|
17
17
|
```
|
18
18
|
|
data/docs/v1/MonitorOptions.md
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
| **aggregation** | [**MonitorOptionsAggregation**](MonitorOptionsAggregation.md) | | [optional] |
|
8
8
|
| **device_ids** | [**Array<MonitorDeviceID>**](MonitorDeviceID.md) | IDs of the device the Synthetics monitor is running on. | [optional][readonly] |
|
9
9
|
| **enable_logs_sample** | **Boolean** | Whether or not to send a log sample when the log monitor triggers. | [optional] |
|
10
|
-
| **escalation_message** | **String** | We recommend using the [is_renotify](https://docs.datadoghq.com/monitors/
|
10
|
+
| **escalation_message** | **String** | We recommend using the [is_renotify](https://docs.datadoghq.com/monitors/notify/?tab=is_alert#renotify), block in the original message instead. A message to include with a re-notification. Supports the `@username` notification we allow elsewhere. Not applicable if `renotify_interval` is `None`. | [optional][default to 'none'] |
|
11
11
|
| **evaluation_delay** | **Integer** | Time (in seconds) to delay evaluation, as a non-negative integer. For example, if the value is set to `300` (5min), the timeframe is set to `last_5m` and the time is 7:00, the monitor evaluates data from 6:50 to 6:55. This is useful for AWS CloudWatch and other backfilled metrics to ensure the monitor always has data during evaluation. | [optional] |
|
12
12
|
| **groupby_simple_monitor** | **Boolean** | Whether the log alert monitor triggers a single alert or multiple alerts when any group breaches a threshold. | [optional] |
|
13
13
|
| **include_tags** | **Boolean** | A Boolean indicating whether notifications from this monitor automatically inserts its triggering tags into the title. **Examples** - If `True`, `[Triggered on {host:h1}] Monitor Title` - If `False`, `[Triggered] Monitor Title` | [optional][default to true] |
|
@@ -20,6 +20,8 @@
|
|
20
20
|
| **notify_audit** | **Boolean** | A Boolean indicating whether tagged users is notified on changes to this monitor. | [optional][default to false] |
|
21
21
|
| **notify_no_data** | **Boolean** | A Boolean indicating whether this monitor notifies when data stops reporting. | [optional][default to false] |
|
22
22
|
| **renotify_interval** | **Integer** | The number of minutes after the last notification before a monitor re-notifies on the current status. It only re-notifies if it’s not resolved. | [optional] |
|
23
|
+
| **renotify_occurrences** | **Integer** | The number of times re-notification messages should be sent on the current status at the provided re-notification interval. | [optional] |
|
24
|
+
| **renotify_statuses** | [**Array<MonitorRenotifyStatusType>**](MonitorRenotifyStatusType.md) | The types of monitor statuses for which re-notification messages are sent. | [optional] |
|
23
25
|
| **require_full_window** | **Boolean** | A Boolean indicating whether this monitor needs a full window of data before it’s evaluated. We highly recommend you set this to `false` for sparse metrics, otherwise some evaluations are skipped. Default is false. | [optional] |
|
24
26
|
| **silenced** | **Hash<String, Integer>** | Information about the downtime applied to the monitor. | [optional] |
|
25
27
|
| **synthetics_check_id** | **String** | ID of the corresponding Synthetic check. | [optional] |
|
@@ -49,6 +51,8 @@ instance = DatadogAPIClient::V1::MonitorOptions.new(
|
|
49
51
|
notify_audit: null,
|
50
52
|
notify_no_data: null,
|
51
53
|
renotify_interval: null,
|
54
|
+
renotify_occurrences: null,
|
55
|
+
renotify_statuses: null,
|
52
56
|
require_full_window: null,
|
53
57
|
silenced: null,
|
54
58
|
synthetics_check_id: null,
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# DatadogAPIClient::V1::MonitorRenotifyStatusType
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
|
8
|
+
## Example
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'datadog_api_client/v1'
|
12
|
+
|
13
|
+
instance = DatadogAPIClient::V1::MonitorRenotifyStatusType.new()
|
14
|
+
```
|
15
|
+
|
data/docs/v1/MonitorsAPI.md
CHANGED
@@ -123,7 +123,7 @@ If you are using the `_change_` or `_pct_change_` time aggregator, instead use `
|
|
123
123
|
timeshift):space_aggr:metric{tags} [by {key}] operator #` with:
|
124
124
|
|
125
125
|
- `change_aggr` change, pct_change
|
126
|
-
- `time_aggr` avg, sum, max, min [Learn more](https://docs.datadoghq.com/monitors/
|
126
|
+
- `time_aggr` avg, sum, max, min [Learn more](https://docs.datadoghq.com/monitors/create/types/#define-the-conditions)
|
127
127
|
- `time_window` last\_#m (between 1 and 2880 depending on the monitor type), last\_#h (between 1 and 48 depending on the monitor type), or last_#d (1 or 2)
|
128
128
|
- `timeshift` #m_ago (5, 10, 15, or 30), #h_ago (1, 2, or 4), or 1d_ago
|
129
129
|
|
@@ -169,7 +169,7 @@ Example: `events(query).rollup(rollup_method[, measure]).last(time_window) opera
|
|
169
169
|
- **`operator`** `<`, `<=`, `>`, `>=`, `==`, or `!=`.
|
170
170
|
- **`#`** an integer or decimal number used to set the threshold.
|
171
171
|
|
172
|
-
**NOTE** Only available on US1-FED, US3, and in closed beta on EU and US1.
|
172
|
+
**NOTE** Only available on US1-FED, US3, US5 and in closed beta on EU and US1.
|
173
173
|
|
174
174
|
**Process Alert Query**
|
175
175
|
|
@@ -224,7 +224,7 @@ Example: `audits(query).rollup(rollup_method[, measure]).last(time_window) opera
|
|
224
224
|
- **`operator`** `<`, `<=`, `>`, `>=`, `==`, or `!=`.
|
225
225
|
- **`#`** an integer or decimal number used to set the threshold.
|
226
226
|
|
227
|
-
**NOTE** Only available on US1-FED and in closed beta on EU, US3, and
|
227
|
+
**NOTE** Only available on US1-FED and in closed beta on US1, EU, US3, and US5.
|
228
228
|
|
229
229
|
### Examples
|
230
230
|
|
@@ -424,7 +424,7 @@ opts = {
|
|
424
424
|
name: 'name_example', # String | A string to filter monitors by name.
|
425
425
|
tags: 'host:host0', # String | A comma separated list indicating what tags, if any, should be used to filter the list of monitors by scope. For example, `host:host0`.
|
426
426
|
monitor_tags: 'service:my-app', # String | A comma separated list indicating what service and/or custom tags, if any, should be used to filter the list of monitors. Tags created in the Datadog UI automatically have the service key prepended. For example, `service:my-app`.
|
427
|
-
with_downtimes: true, # Boolean | If this argument is set to true, then the returned data includes all current downtimes for each monitor.
|
427
|
+
with_downtimes: true, # Boolean | If this argument is set to true, then the returned data includes all current active downtimes for each monitor.
|
428
428
|
id_offset: 789, # Integer | Monitor ID offset.
|
429
429
|
page: 0, # Integer | The page to start paginating from. If this argument is not specified, the request returns all monitors without pagination.
|
430
430
|
page_size: 20 # Integer | The number of monitors to return per page. If the page argument is not specified, the default behavior returns all monitors without a `page_size` limit. However, if page is specified and `page_size` is not, the argument defaults to 100.
|
@@ -465,7 +465,7 @@ end
|
|
465
465
|
| **name** | **String** | A string to filter monitors by name. | [optional] |
|
466
466
|
| **tags** | **String** | A comma separated list indicating what tags, if any, should be used to filter the list of monitors by scope. For example, `host:host0`. | [optional] |
|
467
467
|
| **monitor_tags** | **String** | A comma separated list indicating what service and/or custom tags, if any, should be used to filter the list of monitors. Tags created in the Datadog UI automatically have the service key prepended. For example, `service:my-app`. | [optional] |
|
468
|
-
| **with_downtimes** | **Boolean** | If this argument is set to true, then the returned data includes all current downtimes for each monitor. | [optional] |
|
468
|
+
| **with_downtimes** | **Boolean** | If this argument is set to true, then the returned data includes all current active downtimes for each monitor. | [optional] |
|
469
469
|
| **id_offset** | **Integer** | Monitor ID offset. | [optional] |
|
470
470
|
| **page** | **Integer** | The page to start paginating from. If this argument is not specified, the request returns all monitors without pagination. | [optional] |
|
471
471
|
| **page_size** | **Integer** | The number of monitors to return per page. If the page argument is not specified, the default behavior returns all monitors without a `page_size` limit. However, if page is specified and `page_size` is not, the argument defaults to 100. | [optional] |
|
@@ -496,7 +496,7 @@ Search and filter your monitor groups details.
|
|
496
496
|
require 'datadog_api_client'
|
497
497
|
api_instance = DatadogAPIClient::V1::MonitorsAPI.new
|
498
498
|
opts = {
|
499
|
-
query: 'query_example', # String | After entering a search query in your [Manage Monitor page][1] use the query parameter value in the URL of the page as value for this parameter. Consult the dedicated [manage monitor documentation][2] page to learn more. The query can contain any number of space-separated monitor attributes, for instance `query=\"type:metric status:alert\"`. [1]: https://app.datadoghq.com/monitors/manage [2]: /monitors/
|
499
|
+
query: 'query_example', # String | After entering a search query in your [Manage Monitor page][1] use the query parameter value in the URL of the page as value for this parameter. Consult the dedicated [manage monitor documentation][2] page to learn more. The query can contain any number of space-separated monitor attributes, for instance `query=\"type:metric status:alert\"`. [1]: https://app.datadoghq.com/monitors/manage [2]: /monitors/manage/#find-the-monitors
|
500
500
|
page: 789, # Integer | Page to start paginating from.
|
501
501
|
per_page: 789, # Integer | Number of monitors to return per page.
|
502
502
|
sort: 'sort_example' # String | String for sort order, composed of field and sort order separate by a comma, e.g. `name,asc`. Supported sort directions: `asc`, `desc`. Supported fields: * `name` * `status` * `tags`
|
@@ -533,7 +533,7 @@ end
|
|
533
533
|
|
534
534
|
| Name | Type | Description | Notes |
|
535
535
|
| ---- | ---- | ----------- | ----- |
|
536
|
-
| **query** | **String** | After entering a search query in your [Manage Monitor page][1] use the query parameter value in the URL of the page as value for this parameter. Consult the dedicated [manage monitor documentation][2] page to learn more. The query can contain any number of space-separated monitor attributes, for instance `query=\"type:metric status:alert\"`. [1]: https://app.datadoghq.com/monitors/manage [2]: /monitors/
|
536
|
+
| **query** | **String** | After entering a search query in your [Manage Monitor page][1] use the query parameter value in the URL of the page as value for this parameter. Consult the dedicated [manage monitor documentation][2] page to learn more. The query can contain any number of space-separated monitor attributes, for instance `query=\"type:metric status:alert\"`. [1]: https://app.datadoghq.com/monitors/manage [2]: /monitors/manage/#find-the-monitors | [optional] |
|
537
537
|
| **page** | **Integer** | Page to start paginating from. | [optional][default to 0] |
|
538
538
|
| **per_page** | **Integer** | Number of monitors to return per page. | [optional][default to 30] |
|
539
539
|
| **sort** | **String** | String for sort order, composed of field and sort order separate by a comma, e.g. `name,asc`. Supported sort directions: `asc`, `desc`. Supported fields: * `name` * `status` * `tags` | [optional] |
|
@@ -564,7 +564,7 @@ Search and filter your monitors details.
|
|
564
564
|
require 'datadog_api_client'
|
565
565
|
api_instance = DatadogAPIClient::V1::MonitorsAPI.new
|
566
566
|
opts = {
|
567
|
-
query: 'query_example', # String | After entering a search query in your [Manage Monitor page][1] use the query parameter value in the URL of the page as value for this parameter. Consult the dedicated [manage monitor documentation][2] page to learn more. The query can contain any number of space-separated monitor attributes, for instance `query=\"type:metric status:alert\"`. [1]: https://app.datadoghq.com/monitors/manage [2]: /monitors/
|
567
|
+
query: 'query_example', # String | After entering a search query in your [Manage Monitor page][1] use the query parameter value in the URL of the page as value for this parameter. Consult the dedicated [manage monitor documentation][2] page to learn more. The query can contain any number of space-separated monitor attributes, for instance `query=\"type:metric status:alert\"`. [1]: https://app.datadoghq.com/monitors/manage [2]: /monitors/manage/#find-the-monitors
|
568
568
|
page: 789, # Integer | Page to start paginating from.
|
569
569
|
per_page: 789, # Integer | Number of monitors to return per page.
|
570
570
|
sort: 'sort_example' # String | String for sort order, composed of field and sort order separate by a comma, e.g. `name,asc`. Supported sort directions: `asc`, `desc`. Supported fields: * `name` * `status` * `tags`
|
@@ -601,7 +601,7 @@ end
|
|
601
601
|
|
602
602
|
| Name | Type | Description | Notes |
|
603
603
|
| ---- | ---- | ----------- | ----- |
|
604
|
-
| **query** | **String** | After entering a search query in your [Manage Monitor page][1] use the query parameter value in the URL of the page as value for this parameter. Consult the dedicated [manage monitor documentation][2] page to learn more. The query can contain any number of space-separated monitor attributes, for instance `query=\"type:metric status:alert\"`. [1]: https://app.datadoghq.com/monitors/manage [2]: /monitors/
|
604
|
+
| **query** | **String** | After entering a search query in your [Manage Monitor page][1] use the query parameter value in the URL of the page as value for this parameter. Consult the dedicated [manage monitor documentation][2] page to learn more. The query can contain any number of space-separated monitor attributes, for instance `query=\"type:metric status:alert\"`. [1]: https://app.datadoghq.com/monitors/manage [2]: /monitors/manage/#find-the-monitors | [optional] |
|
605
605
|
| **page** | **Integer** | Page to start paginating from. | [optional][default to 0] |
|
606
606
|
| **per_page** | **Integer** | Number of monitors to return per page. | [optional][default to 30] |
|
607
607
|
| **sort** | **String** | String for sort order, composed of field and sort order separate by a comma, e.g. `name,asc`. Supported sort directions: `asc`, `desc`. Supported fields: * `name` * `status` * `tags` | [optional] |
|
@@ -5,6 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **cells** | [**Array<NotebookCellCreateRequest>**](NotebookCellCreateRequest.md) | List of cells to display in the notebook. | |
|
8
|
+
| **metadata** | [**NotebookMetadata**](NotebookMetadata.md) | | [optional] |
|
8
9
|
| **name** | **String** | The name of the notebook. | |
|
9
10
|
| **status** | [**NotebookStatus**](NotebookStatus.md) | | [optional][default to 'published'] |
|
10
11
|
| **time** | [**NotebookGlobalTime**](NotebookGlobalTime.md) | | |
|
@@ -16,6 +17,7 @@ require 'datadog_api_client/v1'
|
|
16
17
|
|
17
18
|
instance = DatadogAPIClient::V1::NotebookCreateDataAttributes.new(
|
18
19
|
cells: [{"attributes":{"definition":{"text":"## Some test markdown\n\n```js\nvar x, y;\nx = 5;\ny = 6;\n```","type":"markdown"}},"type":"notebook_cells"},{"attributes":{"definition":{"requests":[{"display_type":"line","q":"avg:system.load.1{*}","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"show_legend":true,"type":"timeseries","yaxis":{"scale":"linear"}},"graph_size":"m","split_by":{"keys":[],"tags":[]},"time":null},"type":"notebook_cells"}],
|
20
|
+
metadata: null,
|
19
21
|
name: Example Notebook,
|
20
22
|
status: null,
|
21
23
|
time: null
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# DatadogAPIClient::V1::NotebookMetadata
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **is_template** | **Boolean** | Whether or not the notebook is a template. | [optional][default to false] |
|
8
|
+
| **take_snapshots** | **Boolean** | Whether or not the notebook takes snapshot image backups of the notebook's fixed-time graphs. | [optional][default to false] |
|
9
|
+
| **type** | [**NotebookMetadataType**](NotebookMetadataType.md) | | [optional][default to 'null'] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'datadog_api_client/v1'
|
15
|
+
|
16
|
+
instance = DatadogAPIClient::V1::NotebookMetadata.new(
|
17
|
+
is_template: false,
|
18
|
+
take_snapshots: false,
|
19
|
+
type: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# DatadogAPIClient::V1::NotebookMetadataType
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
|
8
|
+
## Example
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'datadog_api_client/v1'
|
12
|
+
|
13
|
+
instance = DatadogAPIClient::V1::NotebookMetadataType.new()
|
14
|
+
```
|
15
|
+
|
@@ -7,6 +7,7 @@
|
|
7
7
|
| **author** | [**NotebookAuthor**](NotebookAuthor.md) | | [optional] |
|
8
8
|
| **cells** | [**Array<NotebookCellResponse>**](NotebookCellResponse.md) | List of cells to display in the notebook. | |
|
9
9
|
| **created** | **Time** | UTC time stamp for when the notebook was created. | [optional][readonly] |
|
10
|
+
| **metadata** | [**NotebookMetadata**](NotebookMetadata.md) | | [optional] |
|
10
11
|
| **modified** | **Time** | UTC time stamp for when the notebook was last modified. | [optional][readonly] |
|
11
12
|
| **name** | **String** | The name of the notebook. | |
|
12
13
|
| **status** | [**NotebookStatus**](NotebookStatus.md) | | [optional][default to 'published'] |
|
@@ -21,6 +22,7 @@ instance = DatadogAPIClient::V1::NotebookResponseDataAttributes.new(
|
|
21
22
|
author: null,
|
22
23
|
cells: [{"attributes":{"definition":{"text":"## Some test markdown\n\n```js\nvar x, y;\nx = 5;\ny = 6;\n```","type":"markdown"}},"id":"bzbycoya","type":"notebook_cells"},{"attributes":{"definition":{"requests":[{"display_type":"line","q":"avg:system.load.1{*}","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"show_legend":true,"type":"timeseries","yaxis":{"scale":"linear"}},"graph_size":"m","split_by":{"keys":[],"tags":[]},"time":null},"id":"9k6bc6xc","type":"notebook_cells"}],
|
23
24
|
created: 2021-02-24T23:14:15.173964Z,
|
25
|
+
metadata: null,
|
24
26
|
modified: 2021-02-24T23:15:23.274966Z,
|
25
27
|
name: Example Notebook,
|
26
28
|
status: null,
|
@@ -5,6 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **cells** | [**Array<NotebookUpdateCell>**](NotebookUpdateCell.md) | List of cells to display in the notebook. | |
|
8
|
+
| **metadata** | [**NotebookMetadata**](NotebookMetadata.md) | | [optional] |
|
8
9
|
| **name** | **String** | The name of the notebook. | |
|
9
10
|
| **status** | [**NotebookStatus**](NotebookStatus.md) | | [optional][default to 'published'] |
|
10
11
|
| **time** | [**NotebookGlobalTime**](NotebookGlobalTime.md) | | |
|
@@ -16,6 +17,7 @@ require 'datadog_api_client/v1'
|
|
16
17
|
|
17
18
|
instance = DatadogAPIClient::V1::NotebookUpdateDataAttributes.new(
|
18
19
|
cells: [{"attributes":{"definition":{"text":"## Some test markdown\n\n```js\nvar x, y;\nx = 5;\ny = 6;\n```","type":"markdown"}},"id":"bzbycoya","type":"notebook_cells"},{"attributes":{"definition":{"requests":[{"display_type":"line","q":"avg:system.load.1{*}","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"show_legend":true,"type":"timeseries","yaxis":{"scale":"linear"}},"graph_size":"m","split_by":{"keys":[],"tags":[]},"time":null},"id":"9k6bc6xc","type":"notebook_cells"}],
|
20
|
+
metadata: null,
|
19
21
|
name: Example Notebook,
|
20
22
|
status: null,
|
21
23
|
time: null
|
data/docs/v1/NotebooksAPI.md
CHANGED
@@ -207,10 +207,12 @@ opts = {
|
|
207
207
|
exclude_author_handle: 'test@datadoghq.com', # String | Return notebooks not created by the given `author_handle`.
|
208
208
|
start: 0, # Integer | The index of the first notebook you want returned.
|
209
209
|
count: 5, # Integer | The number of notebooks to be returned.
|
210
|
-
sort_field: 'modified', # String | Sort by field `modified` or `
|
210
|
+
sort_field: 'modified', # String | Sort by field `modified`, `name`, or `created`.
|
211
211
|
sort_dir: 'desc', # String | Sort by direction `asc` or `desc`.
|
212
212
|
query: 'postmortem', # String | Return only notebooks with `query` string in notebook name or author handle.
|
213
|
-
include_cells: false # Boolean | Value of `false` excludes the `cells` and global `time` for each notebook.
|
213
|
+
include_cells: false, # Boolean | Value of `false` excludes the `cells` and global `time` for each notebook.
|
214
|
+
is_template: false, # Boolean | True value returns only template notebooks. Default is false (returns only non-template notebooks).
|
215
|
+
type: 'investigation' # String | If type is provided, returns only notebooks with that metadata type. Default does not have type filtering.
|
214
216
|
}
|
215
217
|
|
216
218
|
begin
|
@@ -248,10 +250,12 @@ end
|
|
248
250
|
| **exclude_author_handle** | **String** | Return notebooks not created by the given `author_handle`. | [optional] |
|
249
251
|
| **start** | **Integer** | The index of the first notebook you want returned. | [optional] |
|
250
252
|
| **count** | **Integer** | The number of notebooks to be returned. | [optional] |
|
251
|
-
| **sort_field** | **String** | Sort by field `modified` or `
|
253
|
+
| **sort_field** | **String** | Sort by field `modified`, `name`, or `created`. | [optional][default to 'modified'] |
|
252
254
|
| **sort_dir** | **String** | Sort by direction `asc` or `desc`. | [optional][default to 'desc'] |
|
253
255
|
| **query** | **String** | Return only notebooks with `query` string in notebook name or author handle. | [optional] |
|
254
256
|
| **include_cells** | **Boolean** | Value of `false` excludes the `cells` and global `time` for each notebook. | [optional][default to true] |
|
257
|
+
| **is_template** | **Boolean** | True value returns only template notebooks. Default is false (returns only non-template notebooks). | [optional][default to false] |
|
258
|
+
| **type** | **String** | If type is provided, returns only notebooks with that metadata type. Default does not have type filtering. | [optional] |
|
255
259
|
|
256
260
|
### Return type
|
257
261
|
|
@@ -7,6 +7,7 @@
|
|
7
7
|
| **author** | [**NotebookAuthor**](NotebookAuthor.md) | | [optional] |
|
8
8
|
| **cells** | [**Array<NotebookCellResponse>**](NotebookCellResponse.md) | List of cells to display in the notebook. | [optional] |
|
9
9
|
| **created** | **Time** | UTC time stamp for when the notebook was created. | [optional][readonly] |
|
10
|
+
| **metadata** | [**NotebookMetadata**](NotebookMetadata.md) | | [optional] |
|
10
11
|
| **modified** | **Time** | UTC time stamp for when the notebook was last modified. | [optional][readonly] |
|
11
12
|
| **name** | **String** | The name of the notebook. | |
|
12
13
|
| **status** | [**NotebookStatus**](NotebookStatus.md) | | [optional][default to 'published'] |
|
@@ -21,6 +22,7 @@ instance = DatadogAPIClient::V1::NotebooksResponseDataAttributes.new(
|
|
21
22
|
author: null,
|
22
23
|
cells: null,
|
23
24
|
created: 2021-02-24T23:14:15.173964Z,
|
25
|
+
metadata: null,
|
24
26
|
modified: 2021-02-24T23:15:23.274966Z,
|
25
27
|
name: Example Notebook,
|
26
28
|
status: null,
|
data/docs/v1/README.md
CHANGED
@@ -174,6 +174,7 @@ Class | Method | HTTP request | Description
|
|
174
174
|
*DatadogAPIClient::V1::SyntheticsAPI* | [**get_browser_test_result**](SyntheticsAPI.md#get_browser_test_result) | **GET** /api/v1/synthetics/tests/browser/{public_id}/results/{result_id} | Get a browser test result
|
175
175
|
*DatadogAPIClient::V1::SyntheticsAPI* | [**get_global_variable**](SyntheticsAPI.md#get_global_variable) | **GET** /api/v1/synthetics/variables/{variable_id} | Get a global variable
|
176
176
|
*DatadogAPIClient::V1::SyntheticsAPI* | [**get_private_location**](SyntheticsAPI.md#get_private_location) | **GET** /api/v1/synthetics/private-locations/{location_id} | Get a private location
|
177
|
+
*DatadogAPIClient::V1::SyntheticsAPI* | [**get_synthetics_ci_batch**](SyntheticsAPI.md#get_synthetics_ci_batch) | **GET** /api/v1/synthetics/ci/batch/{batch_id} | Get details of batch
|
177
178
|
*DatadogAPIClient::V1::SyntheticsAPI* | [**get_test**](SyntheticsAPI.md#get_test) | **GET** /api/v1/synthetics/tests/{public_id} | Get a test configuration
|
178
179
|
*DatadogAPIClient::V1::SyntheticsAPI* | [**list_global_variables**](SyntheticsAPI.md#list_global_variables) | **GET** /api/v1/synthetics/variables | Get all global variables
|
179
180
|
*DatadogAPIClient::V1::SyntheticsAPI* | [**list_locations**](SyntheticsAPI.md#list_locations) | **GET** /api/v1/synthetics/locations | Get all locations (public and private)
|
@@ -213,6 +214,7 @@ Class | Method | HTTP request | Description
|
|
213
214
|
*DatadogAPIClient::V1::UsageMeteringAPI* | [**get_usage_network_hosts**](UsageMeteringAPI.md#get_usage_network_hosts) | **GET** /api/v1/usage/network_hosts | Get hourly usage for Network Hosts
|
214
215
|
*DatadogAPIClient::V1::UsageMeteringAPI* | [**get_usage_profiling**](UsageMeteringAPI.md#get_usage_profiling) | **GET** /api/v1/usage/profiling | Get hourly usage for profiled hosts
|
215
216
|
*DatadogAPIClient::V1::UsageMeteringAPI* | [**get_usage_rum_sessions**](UsageMeteringAPI.md#get_usage_rum_sessions) | **GET** /api/v1/usage/rum_sessions | Get hourly usage for RUM Sessions
|
217
|
+
*DatadogAPIClient::V1::UsageMeteringAPI* | [**get_usage_sds**](UsageMeteringAPI.md#get_usage_sds) | **GET** /api/v1/usage/sds | Get hourly usage for Sensitive Data Scanner
|
216
218
|
*DatadogAPIClient::V1::UsageMeteringAPI* | [**get_usage_snmp**](UsageMeteringAPI.md#get_usage_snmp) | **GET** /api/v1/usage/snmp | Get hourly usage for SNMP devices
|
217
219
|
*DatadogAPIClient::V1::UsageMeteringAPI* | [**get_usage_summary**](UsageMeteringAPI.md#get_usage_summary) | **GET** /api/v1/usage/summary | Get usage across your multi-org account
|
218
220
|
*DatadogAPIClient::V1::UsageMeteringAPI* | [**get_usage_synthetics**](UsageMeteringAPI.md#get_usage_synthetics) | **GET** /api/v1/usage/synthetics | Get hourly usage for Synthetics Checks
|
@@ -320,6 +322,12 @@ Class | Method | HTTP request | Description
|
|
320
322
|
- [DatadogAPIClient::V1::EventStreamWidgetDefinitionType](EventStreamWidgetDefinitionType.md)
|
321
323
|
- [DatadogAPIClient::V1::EventTimelineWidgetDefinition](EventTimelineWidgetDefinition.md)
|
322
324
|
- [DatadogAPIClient::V1::EventTimelineWidgetDefinitionType](EventTimelineWidgetDefinitionType.md)
|
325
|
+
- [DatadogAPIClient::V1::FormulaAndFunctionApmDependencyStatName](FormulaAndFunctionApmDependencyStatName.md)
|
326
|
+
- [DatadogAPIClient::V1::FormulaAndFunctionApmDependencyStatsDataSource](FormulaAndFunctionApmDependencyStatsDataSource.md)
|
327
|
+
- [DatadogAPIClient::V1::FormulaAndFunctionApmDependencyStatsQueryDefinition](FormulaAndFunctionApmDependencyStatsQueryDefinition.md)
|
328
|
+
- [DatadogAPIClient::V1::FormulaAndFunctionApmResourceStatName](FormulaAndFunctionApmResourceStatName.md)
|
329
|
+
- [DatadogAPIClient::V1::FormulaAndFunctionApmResourceStatsDataSource](FormulaAndFunctionApmResourceStatsDataSource.md)
|
330
|
+
- [DatadogAPIClient::V1::FormulaAndFunctionApmResourceStatsQueryDefinition](FormulaAndFunctionApmResourceStatsQueryDefinition.md)
|
323
331
|
- [DatadogAPIClient::V1::FormulaAndFunctionEventAggregation](FormulaAndFunctionEventAggregation.md)
|
324
332
|
- [DatadogAPIClient::V1::FormulaAndFunctionEventQueryDefinition](FormulaAndFunctionEventQueryDefinition.md)
|
325
333
|
- [DatadogAPIClient::V1::FormulaAndFunctionEventQueryDefinitionCompute](FormulaAndFunctionEventQueryDefinitionCompute.md)
|
@@ -336,6 +344,12 @@ Class | Method | HTTP request | Description
|
|
336
344
|
- [DatadogAPIClient::V1::FormulaAndFunctionResponseFormat](FormulaAndFunctionResponseFormat.md)
|
337
345
|
- [DatadogAPIClient::V1::FreeTextWidgetDefinition](FreeTextWidgetDefinition.md)
|
338
346
|
- [DatadogAPIClient::V1::FreeTextWidgetDefinitionType](FreeTextWidgetDefinitionType.md)
|
347
|
+
- [DatadogAPIClient::V1::FunnelQuery](FunnelQuery.md)
|
348
|
+
- [DatadogAPIClient::V1::FunnelRequestType](FunnelRequestType.md)
|
349
|
+
- [DatadogAPIClient::V1::FunnelSource](FunnelSource.md)
|
350
|
+
- [DatadogAPIClient::V1::FunnelWidgetDefinition](FunnelWidgetDefinition.md)
|
351
|
+
- [DatadogAPIClient::V1::FunnelWidgetDefinitionType](FunnelWidgetDefinitionType.md)
|
352
|
+
- [DatadogAPIClient::V1::FunnelWidgetRequest](FunnelWidgetRequest.md)
|
339
353
|
- [DatadogAPIClient::V1::GCPAccount](GCPAccount.md)
|
340
354
|
- [DatadogAPIClient::V1::GeomapWidgetDefinition](GeomapWidgetDefinition.md)
|
341
355
|
- [DatadogAPIClient::V1::GeomapWidgetDefinitionStyle](GeomapWidgetDefinitionStyle.md)
|
@@ -450,6 +464,7 @@ Class | Method | HTTP request | Description
|
|
450
464
|
- [DatadogAPIClient::V1::LogsURLParserType](LogsURLParserType.md)
|
451
465
|
- [DatadogAPIClient::V1::LogsUserAgentParser](LogsUserAgentParser.md)
|
452
466
|
- [DatadogAPIClient::V1::LogsUserAgentParserType](LogsUserAgentParserType.md)
|
467
|
+
- [DatadogAPIClient::V1::MetricContentEncoding](MetricContentEncoding.md)
|
453
468
|
- [DatadogAPIClient::V1::MetricMetadata](MetricMetadata.md)
|
454
469
|
- [DatadogAPIClient::V1::MetricSearchResponse](MetricSearchResponse.md)
|
455
470
|
- [DatadogAPIClient::V1::MetricSearchResponseResults](MetricSearchResponseResults.md)
|
@@ -466,6 +481,7 @@ Class | Method | HTTP request | Description
|
|
466
481
|
- [DatadogAPIClient::V1::MonitorOptions](MonitorOptions.md)
|
467
482
|
- [DatadogAPIClient::V1::MonitorOptionsAggregation](MonitorOptionsAggregation.md)
|
468
483
|
- [DatadogAPIClient::V1::MonitorOverallStates](MonitorOverallStates.md)
|
484
|
+
- [DatadogAPIClient::V1::MonitorRenotifyStatusType](MonitorRenotifyStatusType.md)
|
469
485
|
- [DatadogAPIClient::V1::MonitorSearchResponse](MonitorSearchResponse.md)
|
470
486
|
- [DatadogAPIClient::V1::MonitorSearchResponseCounts](MonitorSearchResponseCounts.md)
|
471
487
|
- [DatadogAPIClient::V1::MonitorSearchResponseMetadata](MonitorSearchResponseMetadata.md)
|
@@ -502,6 +518,8 @@ Class | Method | HTTP request | Description
|
|
502
518
|
- [DatadogAPIClient::V1::NotebookMarkdownCellAttributes](NotebookMarkdownCellAttributes.md)
|
503
519
|
- [DatadogAPIClient::V1::NotebookMarkdownCellDefinition](NotebookMarkdownCellDefinition.md)
|
504
520
|
- [DatadogAPIClient::V1::NotebookMarkdownCellDefinitionType](NotebookMarkdownCellDefinitionType.md)
|
521
|
+
- [DatadogAPIClient::V1::NotebookMetadata](NotebookMetadata.md)
|
522
|
+
- [DatadogAPIClient::V1::NotebookMetadataType](NotebookMetadataType.md)
|
505
523
|
- [DatadogAPIClient::V1::NotebookRelativeTime](NotebookRelativeTime.md)
|
506
524
|
- [DatadogAPIClient::V1::NotebookResourceType](NotebookResourceType.md)
|
507
525
|
- [DatadogAPIClient::V1::NotebookResponse](NotebookResponse.md)
|
@@ -584,7 +602,10 @@ Class | Method | HTTP request | Description
|
|
584
602
|
- [DatadogAPIClient::V1::ScatterPlotWidgetDefinition](ScatterPlotWidgetDefinition.md)
|
585
603
|
- [DatadogAPIClient::V1::ScatterPlotWidgetDefinitionRequests](ScatterPlotWidgetDefinitionRequests.md)
|
586
604
|
- [DatadogAPIClient::V1::ScatterPlotWidgetDefinitionType](ScatterPlotWidgetDefinitionType.md)
|
605
|
+
- [DatadogAPIClient::V1::ScatterplotDimension](ScatterplotDimension.md)
|
606
|
+
- [DatadogAPIClient::V1::ScatterplotTableRequest](ScatterplotTableRequest.md)
|
587
607
|
- [DatadogAPIClient::V1::ScatterplotWidgetAggregator](ScatterplotWidgetAggregator.md)
|
608
|
+
- [DatadogAPIClient::V1::ScatterplotWidgetFormula](ScatterplotWidgetFormula.md)
|
588
609
|
- [DatadogAPIClient::V1::Series](Series.md)
|
589
610
|
- [DatadogAPIClient::V1::ServiceCheck](ServiceCheck.md)
|
590
611
|
- [DatadogAPIClient::V1::ServiceCheckStatus](ServiceCheckStatus.md)
|
@@ -615,6 +636,9 @@ Class | Method | HTTP request | Description
|
|
615
636
|
- [DatadogAPIClient::V1::SyntheticsAssertionTarget](SyntheticsAssertionTarget.md)
|
616
637
|
- [DatadogAPIClient::V1::SyntheticsAssertionType](SyntheticsAssertionType.md)
|
617
638
|
- [DatadogAPIClient::V1::SyntheticsBasicAuth](SyntheticsBasicAuth.md)
|
639
|
+
- [DatadogAPIClient::V1::SyntheticsBatchDetails](SyntheticsBatchDetails.md)
|
640
|
+
- [DatadogAPIClient::V1::SyntheticsBatchDetailsData](SyntheticsBatchDetailsData.md)
|
641
|
+
- [DatadogAPIClient::V1::SyntheticsBatchResult](SyntheticsBatchResult.md)
|
618
642
|
- [DatadogAPIClient::V1::SyntheticsBrowserError](SyntheticsBrowserError.md)
|
619
643
|
- [DatadogAPIClient::V1::SyntheticsBrowserErrorType](SyntheticsBrowserErrorType.md)
|
620
644
|
- [DatadogAPIClient::V1::SyntheticsBrowserTest](SyntheticsBrowserTest.md)
|
@@ -627,11 +651,11 @@ Class | Method | HTTP request | Description
|
|
627
651
|
- [DatadogAPIClient::V1::SyntheticsBrowserTestType](SyntheticsBrowserTestType.md)
|
628
652
|
- [DatadogAPIClient::V1::SyntheticsBrowserVariable](SyntheticsBrowserVariable.md)
|
629
653
|
- [DatadogAPIClient::V1::SyntheticsBrowserVariableType](SyntheticsBrowserVariableType.md)
|
654
|
+
- [DatadogAPIClient::V1::SyntheticsCIBatchMetadata](SyntheticsCIBatchMetadata.md)
|
655
|
+
- [DatadogAPIClient::V1::SyntheticsCIBatchMetadataCI](SyntheticsCIBatchMetadataCI.md)
|
656
|
+
- [DatadogAPIClient::V1::SyntheticsCIBatchMetadataGit](SyntheticsCIBatchMetadataGit.md)
|
630
657
|
- [DatadogAPIClient::V1::SyntheticsCITest](SyntheticsCITest.md)
|
631
658
|
- [DatadogAPIClient::V1::SyntheticsCITestBody](SyntheticsCITestBody.md)
|
632
|
-
- [DatadogAPIClient::V1::SyntheticsCITestMetadata](SyntheticsCITestMetadata.md)
|
633
|
-
- [DatadogAPIClient::V1::SyntheticsCITestMetadataCi](SyntheticsCITestMetadataCi.md)
|
634
|
-
- [DatadogAPIClient::V1::SyntheticsCITestMetadataGit](SyntheticsCITestMetadataGit.md)
|
635
659
|
- [DatadogAPIClient::V1::SyntheticsCheckType](SyntheticsCheckType.md)
|
636
660
|
- [DatadogAPIClient::V1::SyntheticsConfigVariable](SyntheticsConfigVariable.md)
|
637
661
|
- [DatadogAPIClient::V1::SyntheticsConfigVariableType](SyntheticsConfigVariableType.md)
|
@@ -665,6 +689,7 @@ Class | Method | HTTP request | Description
|
|
665
689
|
- [DatadogAPIClient::V1::SyntheticsSSLCertificate](SyntheticsSSLCertificate.md)
|
666
690
|
- [DatadogAPIClient::V1::SyntheticsSSLCertificateIssuer](SyntheticsSSLCertificateIssuer.md)
|
667
691
|
- [DatadogAPIClient::V1::SyntheticsSSLCertificateSubject](SyntheticsSSLCertificateSubject.md)
|
692
|
+
- [DatadogAPIClient::V1::SyntheticsStatus](SyntheticsStatus.md)
|
668
693
|
- [DatadogAPIClient::V1::SyntheticsStep](SyntheticsStep.md)
|
669
694
|
- [DatadogAPIClient::V1::SyntheticsStepDetail](SyntheticsStepDetail.md)
|
670
695
|
- [DatadogAPIClient::V1::SyntheticsStepDetailWarning](SyntheticsStepDetailWarning.md)
|
@@ -673,6 +698,7 @@ Class | Method | HTTP request | Description
|
|
673
698
|
- [DatadogAPIClient::V1::SyntheticsTestDetails](SyntheticsTestDetails.md)
|
674
699
|
- [DatadogAPIClient::V1::SyntheticsTestDetailsSubType](SyntheticsTestDetailsSubType.md)
|
675
700
|
- [DatadogAPIClient::V1::SyntheticsTestDetailsType](SyntheticsTestDetailsType.md)
|
701
|
+
- [DatadogAPIClient::V1::SyntheticsTestExecutionRule](SyntheticsTestExecutionRule.md)
|
676
702
|
- [DatadogAPIClient::V1::SyntheticsTestMonitorStatus](SyntheticsTestMonitorStatus.md)
|
677
703
|
- [DatadogAPIClient::V1::SyntheticsTestOptions](SyntheticsTestOptions.md)
|
678
704
|
- [DatadogAPIClient::V1::SyntheticsTestOptionsMonitorOptions](SyntheticsTestOptionsMonitorOptions.md)
|
@@ -768,6 +794,8 @@ Class | Method | HTTP request | Description
|
|
768
794
|
- [DatadogAPIClient::V1::UsageReportsType](UsageReportsType.md)
|
769
795
|
- [DatadogAPIClient::V1::UsageRumSessionsHour](UsageRumSessionsHour.md)
|
770
796
|
- [DatadogAPIClient::V1::UsageRumSessionsResponse](UsageRumSessionsResponse.md)
|
797
|
+
- [DatadogAPIClient::V1::UsageSDSHour](UsageSDSHour.md)
|
798
|
+
- [DatadogAPIClient::V1::UsageSDSResponse](UsageSDSResponse.md)
|
771
799
|
- [DatadogAPIClient::V1::UsageSNMPHour](UsageSNMPHour.md)
|
772
800
|
- [DatadogAPIClient::V1::UsageSNMPResponse](UsageSNMPResponse.md)
|
773
801
|
- [DatadogAPIClient::V1::UsageSort](UsageSort.md)
|
data/docs/v1/SLOCorrection.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **attributes** | [**SLOCorrectionResponseAttributes**](SLOCorrectionResponseAttributes.md) | | [optional] |
|
8
|
-
| **id** | **String** | The ID of the SLO correction | [optional] |
|
8
|
+
| **id** | **String** | The ID of the SLO correction. | [optional] |
|
9
9
|
| **type** | [**SLOCorrectionType**](SLOCorrectionType.md) | | [optional][default to 'correction'] |
|
10
10
|
|
11
11
|
## Example
|
@@ -5,7 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **attributes** | [**SLOCorrectionCreateRequestAttributes**](SLOCorrectionCreateRequestAttributes.md) | | [optional] |
|
8
|
-
| **type** | [**SLOCorrectionType**](SLOCorrectionType.md) | | [
|
8
|
+
| **type** | [**SLOCorrectionType**](SLOCorrectionType.md) | | [default to 'correction'] |
|
9
9
|
|
10
10
|
## Example
|
11
11
|
|
@@ -6,10 +6,10 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **category** | [**SLOCorrectionCategory**](SLOCorrectionCategory.md) | | |
|
8
8
|
| **description** | **String** | Description of the correction being made. | [optional] |
|
9
|
-
| **_end** | **Integer** | Ending time of the correction in epoch seconds | |
|
10
|
-
| **slo_id** | **String** | ID of the SLO that this correction will be applied to | |
|
11
|
-
| **start** | **Integer** | Starting time of the correction in epoch seconds | |
|
12
|
-
| **timezone** | **String** | The timezone to display in the UI for the correction times (defaults to \"UTC\") | [optional] |
|
9
|
+
| **_end** | **Integer** | Ending time of the correction in epoch seconds. | |
|
10
|
+
| **slo_id** | **String** | ID of the SLO that this correction will be applied to. | |
|
11
|
+
| **start** | **Integer** | Starting time of the correction in epoch seconds. | |
|
12
|
+
| **timezone** | **String** | The timezone to display in the UI for the correction times (defaults to \"UTC\"). | [optional] |
|
13
13
|
|
14
14
|
## Example
|
15
15
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **data** | [**Array<SLOCorrection>**](SLOCorrection.md) | The list of of SLO corrections objects | [optional] |
|
7
|
+
| **data** | [**Array<SLOCorrection>**](SLOCorrection.md) | The list of of SLO corrections objects. | [optional] |
|
8
8
|
| **meta** | [**ResponseMetaAttributes**](ResponseMetaAttributes.md) | | [optional] |
|
9
9
|
|
10
10
|
## Example
|
@@ -7,10 +7,10 @@
|
|
7
7
|
| **category** | [**SLOCorrectionCategory**](SLOCorrectionCategory.md) | | [optional] |
|
8
8
|
| **creator** | [**Creator**](Creator.md) | | [optional] |
|
9
9
|
| **description** | **String** | Description of the correction being made. | [optional] |
|
10
|
-
| **_end** | **Integer** | Ending time of the correction in epoch seconds | [optional] |
|
11
|
-
| **slo_id** | **String** | ID of the SLO that this correction will be applied to | [optional] |
|
12
|
-
| **start** | **Integer** | Starting time of the correction in epoch seconds | [optional] |
|
13
|
-
| **timezone** | **String** | The timezone to display in the UI for the correction times (defaults to \"UTC\") | [optional] |
|
10
|
+
| **_end** | **Integer** | Ending time of the correction in epoch seconds. | [optional] |
|
11
|
+
| **slo_id** | **String** | ID of the SLO that this correction will be applied to. | [optional] |
|
12
|
+
| **start** | **Integer** | Starting time of the correction in epoch seconds. | [optional] |
|
13
|
+
| **timezone** | **String** | The timezone to display in the UI for the correction times (defaults to \"UTC\"). | [optional] |
|
14
14
|
|
15
15
|
## Example
|
16
16
|
|
@@ -6,9 +6,9 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **category** | [**SLOCorrectionCategory**](SLOCorrectionCategory.md) | | [optional] |
|
8
8
|
| **description** | **String** | Description of the correction being made. | [optional] |
|
9
|
-
| **_end** | **Integer** | Ending time of the correction in epoch seconds | [optional] |
|
10
|
-
| **start** | **Integer** | Starting time of the correction in epoch seconds | [optional] |
|
11
|
-
| **timezone** | **String** | The timezone to display in the UI for the correction times (defaults to \"UTC\") | [optional] |
|
9
|
+
| **_end** | **Integer** | Ending time of the correction in epoch seconds. | [optional] |
|
10
|
+
| **start** | **Integer** | Starting time of the correction in epoch seconds. | [optional] |
|
11
|
+
| **timezone** | **String** | The timezone to display in the UI for the correction times (defaults to \"UTC\"). | [optional] |
|
12
12
|
|
13
13
|
## Example
|
14
14
|
|
@@ -4,8 +4,9 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
8
|
-
| **
|
7
|
+
| **table** | [**ScatterplotTableRequest**](ScatterplotTableRequest.md) | | [optional] |
|
8
|
+
| **x** | [**ScatterPlotRequest**](ScatterPlotRequest.md) | | [optional] |
|
9
|
+
| **y** | [**ScatterPlotRequest**](ScatterPlotRequest.md) | | [optional] |
|
9
10
|
|
10
11
|
## Example
|
11
12
|
|
@@ -13,6 +14,7 @@
|
|
13
14
|
require 'datadog_api_client/v1'
|
14
15
|
|
15
16
|
instance = DatadogAPIClient::V1::ScatterPlotWidgetDefinitionRequests.new(
|
17
|
+
table: null,
|
16
18
|
x: null,
|
17
19
|
y: null
|
18
20
|
)
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# DatadogAPIClient::V1::ScatterplotDimension
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
|
8
|
+
## Example
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'datadog_api_client/v1'
|
12
|
+
|
13
|
+
instance = DatadogAPIClient::V1::ScatterplotDimension.new()
|
14
|
+
```
|
15
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# DatadogAPIClient::V1::ScatterplotTableRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **formulas** | [**Array<ScatterplotWidgetFormula>**](ScatterplotWidgetFormula.md) | List of Scatterplot formulas that operate on queries. **This feature is currently in beta.** | [optional] |
|
8
|
+
| **queries** | [**Array<FormulaAndFunctionQueryDefinition>**](FormulaAndFunctionQueryDefinition.md) | List of queries that can be returned directly or used in formulas. **This feature is currently in beta.** | [optional] |
|
9
|
+
| **response_format** | [**FormulaAndFunctionResponseFormat**](FormulaAndFunctionResponseFormat.md) | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'datadog_api_client/v1'
|
15
|
+
|
16
|
+
instance = DatadogAPIClient::V1::ScatterplotTableRequest.new(
|
17
|
+
formulas: null,
|
18
|
+
queries: null,
|
19
|
+
response_format: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|