datadog_api_client 2.1.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/poetry.lock +21 -14
  4. data/.generator/pyproject.toml +1 -1
  5. data/.generator/schemas/v1/openapi.yaml +558 -8
  6. data/.generator/schemas/v2/openapi.yaml +973 -253
  7. data/.generator/src/generator/templates/api_client.j2 +5 -1
  8. data/.generator/src/generator/templates/configuration.j2 +17 -0
  9. data/.github/workflows/test.yml +3 -0
  10. data/.pre-commit-config.yaml +1 -1
  11. data/CHANGELOG.md +26 -0
  12. data/README.md +11 -0
  13. data/examples/v1/dashboards/CreateDashboard_1423904722.rb +38 -0
  14. data/examples/v1/dashboards/CreateDashboard_2652180930.rb +43 -0
  15. data/examples/v1/dashboards/CreateDashboard_2850365602.rb +55 -0
  16. data/examples/v1/dashboards/CreateDashboard_3117424216.rb +33 -0
  17. data/examples/v1/dashboards/CreateDashboard_3669695268.rb +50 -0
  18. data/examples/v1/dashboards/CreateDashboard_858397694.rb +41 -0
  19. data/examples/v1/synthetics/CreateGlobalVariable_1068962881.rb +1 -1
  20. data/examples/v2/incidents/ListIncidentAttachments.rb +8 -0
  21. data/examples/v2/incidents/ListIncidentAttachments_2457735435.rb +11 -0
  22. data/examples/v2/incidents/UpdateIncidentAttachments.rb +38 -0
  23. data/examples/v2/incidents/UpdateIncidentAttachments_3881702075.rb +26 -0
  24. data/examples/v2/metrics/ListActiveMetricConfigurations.rb +5 -0
  25. data/examples/v2/metrics/ListTagConfigurations.rb +1 -1
  26. data/examples/v2/metrics/ListTagConfigurations_265033704.rb +8 -0
  27. data/examples/v2/metrics/{ListTagConfigurations_103226315.rb → ListTagConfigurations_2739018321.rb} +1 -1
  28. data/examples/v2/security-monitoring/CreateSecurityMonitoringRule.rb +3 -2
  29. data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_461183901.rb +2 -2
  30. data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_498211763.rb +2 -2
  31. data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_914562040.rb +50 -0
  32. data/examples/v2/security-monitoring/GetSecurityMonitoringSignal.rb +5 -0
  33. data/examples/v2/security-monitoring/UpdateSecurityMonitoringRule.rb +2 -1
  34. data/examples/v2/usage-metering/GetEstimatedCostByOrg.rb +1 -4
  35. data/examples/v2/usage-metering/GetEstimatedCostByOrg_2734954020.rb +2 -4
  36. data/examples/v2/usage-metering/GetEstimatedCostByOrg_3186693804.rb +2 -4
  37. data/examples/v2/usage-metering/GetHistoricalCostByOrg.rb +8 -0
  38. data/generate.sh +30 -0
  39. data/lib/datadog_api_client/api_client.rb +5 -1
  40. data/lib/datadog_api_client/configuration.rb +20 -1
  41. data/lib/datadog_api_client/inflector.rb +51 -1
  42. data/lib/datadog_api_client/v1/api/service_level_objectives_api.rb +3 -1
  43. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +5 -5
  44. data/lib/datadog_api_client/v1/models/dashboard_template_variable.rb +14 -2
  45. data/lib/datadog_api_client/v1/models/dashboard_template_variable_preset_value.rb +28 -5
  46. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition.rb +14 -4
  47. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +1 -0
  48. data/lib/datadog_api_client/v1/models/list_stream_query.rb +14 -4
  49. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +2 -0
  50. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +21 -1
  51. data/lib/datadog_api_client/v1/models/search_service_level_objective.rb +111 -0
  52. data/lib/datadog_api_client/v1/models/search_service_level_objective_attributes.rb +286 -0
  53. data/lib/datadog_api_client/v1/models/search_service_level_objective_data.rb +134 -0
  54. data/lib/datadog_api_client/v1/models/search_slo_query.rb +137 -0
  55. data/lib/datadog_api_client/v1/models/search_slo_response_data_attributes.rb +8 -8
  56. data/lib/datadog_api_client/v1/models/search_slo_response_links.rb +2 -0
  57. data/lib/datadog_api_client/v1/models/search_slo_threshold.rb +184 -0
  58. data/lib/datadog_api_client/v1/models/search_slo_timeframe.rb +28 -0
  59. data/lib/datadog_api_client/v1/models/slo_creator.rb +131 -0
  60. data/lib/datadog_api_client/v1/models/slo_list_widget_definition.rb +185 -0
  61. data/lib/datadog_api_client/v1/models/slo_list_widget_definition_type.rb +26 -0
  62. data/lib/datadog_api_client/v1/models/slo_list_widget_query.rb +149 -0
  63. data/lib/datadog_api_client/v1/models/slo_list_widget_request.rb +143 -0
  64. data/lib/datadog_api_client/v1/models/slo_list_widget_request_type.rb +26 -0
  65. data/lib/datadog_api_client/v1/models/slo_overall_statuses.rb +174 -0
  66. data/lib/datadog_api_client/v1/models/slo_raw_error_budget_remaining.rb +121 -0
  67. data/lib/datadog_api_client/v1/models/synthetics_assertion_operator.rb +1 -0
  68. data/lib/datadog_api_client/v1/models/topology_map_widget_definition.rb +193 -0
  69. data/lib/datadog_api_client/v1/models/topology_map_widget_definition_type.rb +26 -0
  70. data/lib/datadog_api_client/v1/models/topology_query.rb +144 -0
  71. data/lib/datadog_api_client/v1/models/topology_query_data_source.rb +27 -0
  72. data/lib/datadog_api_client/v1/models/topology_request.rb +121 -0
  73. data/lib/datadog_api_client/v1/models/topology_request_type.rb +26 -0
  74. data/lib/datadog_api_client/v1/models/usage_attribution_sort.rb +2 -0
  75. data/lib/datadog_api_client/v1/models/usage_attribution_supported_metrics.rb +2 -0
  76. data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +21 -1
  77. data/lib/datadog_api_client/v1/models/usage_fargate_hour.rb +11 -1
  78. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +11 -1
  79. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +11 -1
  80. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +11 -1
  81. data/lib/datadog_api_client/v1/models/widget_definition.rb +3 -1
  82. data/lib/datadog_api_client/v2/api/incident_services_api.rb +2 -2
  83. data/lib/datadog_api_client/v2/api/incident_teams_api.rb +2 -2
  84. data/lib/datadog_api_client/v2/api/incidents_api.rb +155 -0
  85. data/lib/datadog_api_client/v2/api/metrics_api.rb +76 -8
  86. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +65 -0
  87. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +83 -17
  88. data/lib/datadog_api_client/v2/models/incident_attachment_attachment_type.rb +27 -0
  89. data/lib/datadog_api_client/v2/models/incident_attachment_attributes.rb +63 -0
  90. data/lib/datadog_api_client/v2/models/incident_attachment_data.rb +187 -0
  91. data/lib/datadog_api_client/v2/models/incident_attachment_link_attachment_type.rb +26 -0
  92. data/lib/datadog_api_client/v2/models/incident_attachment_link_attributes.rb +145 -0
  93. data/lib/datadog_api_client/v2/models/incident_attachment_link_attributes_attachment_object.rb +143 -0
  94. data/lib/datadog_api_client/v2/models/incident_attachment_postmortem_attachment_type.rb +26 -0
  95. data/lib/datadog_api_client/v2/models/incident_attachment_postmortem_attributes.rb +145 -0
  96. data/lib/datadog_api_client/v2/models/incident_attachment_related_object.rb +26 -0
  97. data/lib/datadog_api_client/v2/models/incident_attachment_relationships.rb +111 -0
  98. data/lib/datadog_api_client/v2/models/incident_attachment_type.rb +26 -0
  99. data/lib/datadog_api_client/v2/models/incident_attachment_update_attributes.rb +63 -0
  100. data/lib/datadog_api_client/v2/models/incident_attachment_update_data.rb +144 -0
  101. data/lib/datadog_api_client/v2/models/incident_attachment_update_request.rb +127 -0
  102. data/lib/datadog_api_client/v2/models/incident_attachment_update_response.rb +137 -0
  103. data/lib/datadog_api_client/v2/models/incident_attachments_postmortem_attributes_attachment_object.rb +143 -0
  104. data/lib/datadog_api_client/v2/models/incident_attachments_response.rb +136 -0
  105. data/lib/datadog_api_client/v2/models/incident_attachments_response_included_item.rb +62 -0
  106. data/lib/datadog_api_client/v2/models/incident_related_object.rb +1 -0
  107. data/lib/datadog_api_client/v2/models/incident_response_attributes.rb +1 -11
  108. data/lib/datadog_api_client/v2/models/incident_response_included_item.rb +2 -1
  109. data/lib/datadog_api_client/v2/models/incident_response_relationships.rb +14 -14
  110. data/lib/datadog_api_client/v2/models/metric_active_configuration_type.rb +26 -0
  111. data/lib/datadog_api_client/v2/models/metric_suggested_tags_and_aggregations.rb +133 -0
  112. data/lib/datadog_api_client/v2/models/metric_suggested_tags_and_aggregations_response.rb +111 -0
  113. data/lib/datadog_api_client/v2/models/metric_suggested_tags_attributes.rb +125 -0
  114. data/lib/datadog_api_client/v2/models/relationship_to_incident_attachment.rb +124 -0
  115. data/lib/datadog_api_client/v2/models/relationship_to_incident_attachment_data.rb +145 -0
  116. data/lib/datadog_api_client/v2/models/security_monitoring_rule_create_payload.rb +36 -248
  117. data/lib/datadog_api_client/v2/models/security_monitoring_rule_query.rb +36 -151
  118. data/lib/datadog_api_client/v2/models/security_monitoring_rule_query_aggregation.rb +1 -0
  119. data/lib/datadog_api_client/v2/models/security_monitoring_rule_response.rb +37 -253
  120. data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_create_payload.rb +275 -0
  121. data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_query.rb +187 -0
  122. data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_response.rb +279 -0
  123. data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_type.rb +26 -0
  124. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_create_payload.rb +275 -0
  125. data/lib/datadog_api_client/v2/models/{security_monitoring_rule_query_create.rb → security_monitoring_standard_rule_query.rb} +3 -3
  126. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_response.rb +279 -0
  127. data/lib/datadog_api_client/version.rb +1 -1
  128. metadata +70 -6
  129. data/Makefile +0 -7
  130. data/examples/v2/metrics/ListTagConfigurations_1799362914.rb +0 -8
@@ -1250,10 +1250,25 @@ components:
1250
1250
  nullable: true
1251
1251
  type: array
1252
1252
  default:
1253
- description: The default value for the template variable on dashboard load.
1253
+ deprecated: true
1254
+ description: (deprecated) The default value for the template variable on
1255
+ dashboard load. Cannot be used in conjunction with `defaults`.
1254
1256
  example: my-host
1255
1257
  nullable: true
1256
1258
  type: string
1259
+ defaults:
1260
+ description: One or many default values for template variables on load.
1261
+ If more than one default is specified, they will be unioned together with
1262
+ `OR`. Cannot be used in conjunction with `default`.
1263
+ example:
1264
+ - my-host-1
1265
+ - my-host-2
1266
+ items:
1267
+ description: One of many default values for the template variable on dashboard
1268
+ load.
1269
+ minLength: 1
1270
+ type: string
1271
+ type: array
1257
1272
  name:
1258
1273
  description: The name of the variable.
1259
1274
  example: host1
@@ -1286,8 +1301,21 @@ components:
1286
1301
  description: The name of the variable.
1287
1302
  type: string
1288
1303
  value:
1289
- description: The value of the template variable within the saved view.
1304
+ deprecated: true
1305
+ description: (deprecated) The value of the template variable within the
1306
+ saved view. Cannot be used in conjunction with `values`.
1290
1307
  type: string
1308
+ values:
1309
+ description: One or many template variable values within the saved view,
1310
+ which will be unioned together using `OR` if more than one is specified.
1311
+ Cannot be used in conjunction with `value`.
1312
+ items:
1313
+ description: One or many values of the template variable within the saved
1314
+ view.
1315
+ minLength: 1
1316
+ type: string
1317
+ minItems: 1
1318
+ type: array
1291
1319
  type: object
1292
1320
  DeletedMonitor:
1293
1321
  description: Response from the delete monitor call.
@@ -2412,6 +2440,10 @@ components:
2412
2440
  type: string
2413
2441
  search:
2414
2442
  $ref: '#/components/schemas/FormulaAndFunctionEventQueryDefinitionSearch'
2443
+ storage:
2444
+ description: Option for storage location. Feature in Private Beta.
2445
+ example: indexes
2446
+ type: string
2415
2447
  required:
2416
2448
  - data_source
2417
2449
  - compute
@@ -3627,6 +3659,7 @@ components:
3627
3659
  description: Supported products for hourly usage attribution requests.
3628
3660
  enum:
3629
3661
  - api_usage
3662
+ - apm_fargate_usage
3630
3663
  - apm_host_usage
3631
3664
  - appsec_usage
3632
3665
  - browser_usage
@@ -3654,6 +3687,7 @@ components:
3654
3687
  type: string
3655
3688
  x-enum-varnames:
3656
3689
  - API_USAGE
3690
+ - APM_FARGATE_USAGE
3657
3691
  - APM_HOST_USAGE
3658
3692
  - APPSEC_USAGE
3659
3693
  - BROWSER_USAGE
@@ -3995,6 +4029,10 @@ components:
3995
4029
  description: Widget query.
3996
4030
  example: '@service:app'
3997
4031
  type: string
4032
+ storage:
4033
+ description: Option for storage location. Feature in Private Beta.
4034
+ example: indexes
4035
+ type: string
3998
4036
  required:
3999
4037
  - query_string
4000
4038
  - data_source
@@ -5646,6 +5684,9 @@ components:
5646
5684
  type: string
5647
5685
  pointlist:
5648
5686
  description: List of points of the time series.
5687
+ example:
5688
+ - - 1575317847.0
5689
+ - 0.5
5649
5690
  items:
5650
5691
  $ref: '#/components/schemas/Point'
5651
5692
  readOnly: true
@@ -6872,6 +6913,8 @@ components:
6872
6913
  enum:
6873
6914
  - api_usage
6874
6915
  - api_percentage
6916
+ - apm_fargate_usage
6917
+ - apm_fargate_percentage
6875
6918
  - apm_host_usage
6876
6919
  - apm_host_percentage
6877
6920
  - appsec_usage
@@ -6925,6 +6968,8 @@ components:
6925
6968
  x-enum-varnames:
6926
6969
  - API_USAGE
6927
6970
  - API_PERCENTAGE
6971
+ - APM_FARGATE_USAGE
6972
+ - APM_FARGATE_PERCENTAGE
6928
6973
  - APM_HOST_USAGE
6929
6974
  - APM_HOST_PERCENTAGE
6930
6975
  - APPSEC_USAGE
@@ -6985,6 +7030,14 @@ components:
6985
7030
  description: The synthetic API test usage by tag(s).
6986
7031
  format: double
6987
7032
  type: number
7033
+ apm_fargate_percentage:
7034
+ description: The percentage of APM ECS Fargate task usage by tag(s).
7035
+ format: double
7036
+ type: number
7037
+ apm_fargate_usage:
7038
+ description: The APM ECS Fargate task usage by tag(s).
7039
+ format: double
7040
+ type: number
6988
7041
  apm_host_percentage:
6989
7042
  description: The percentage of APM host usage by tag(s).
6990
7043
  format: double
@@ -8693,6 +8746,21 @@ components:
8693
8746
  example: UTC
8694
8747
  type: string
8695
8748
  type: object
8749
+ SLOCreator:
8750
+ description: The creator of the SLO
8751
+ nullable: true
8752
+ properties:
8753
+ email:
8754
+ description: Email of the creator.
8755
+ type: string
8756
+ id:
8757
+ description: User ID of the creator.
8758
+ format: int64
8759
+ type: integer
8760
+ name:
8761
+ description: Name of the creator.
8762
+ type: string
8763
+ type: object
8696
8764
  SLODeleteResponse:
8697
8765
  description: A response list of all service level objective deleted.
8698
8766
  properties:
@@ -9203,6 +9271,124 @@ components:
9203
9271
  format: int64
9204
9272
  type: integer
9205
9273
  type: object
9274
+ SLOListWidgetDefinition:
9275
+ description: Use the SLO List widget to track your SLOs (Service Level Objectives)
9276
+ on dashboards.
9277
+ properties:
9278
+ requests:
9279
+ description: Array of one request object to display in the widget.
9280
+ items:
9281
+ $ref: '#/components/schemas/SLOListWidgetRequest'
9282
+ maxItems: 1
9283
+ minItems: 1
9284
+ type: array
9285
+ title:
9286
+ description: Title of the widget.
9287
+ type: string
9288
+ title_align:
9289
+ $ref: '#/components/schemas/WidgetTextAlign'
9290
+ title_size:
9291
+ description: Size of the title.
9292
+ type: string
9293
+ type:
9294
+ $ref: '#/components/schemas/SLOListWidgetDefinitionType'
9295
+ required:
9296
+ - type
9297
+ - requests
9298
+ type: object
9299
+ SLOListWidgetDefinitionType:
9300
+ default: slo_list
9301
+ description: Type of the SLO List widget.
9302
+ enum:
9303
+ - slo_list
9304
+ example: slo_list
9305
+ type: string
9306
+ x-enum-varnames:
9307
+ - SLO_LIST
9308
+ SLOListWidgetQuery:
9309
+ description: Updated SLO List widget.
9310
+ properties:
9311
+ limit:
9312
+ default: 100
9313
+ description: Maximum number of results to display in the table.
9314
+ format: int64
9315
+ maximum: 100
9316
+ minimum: 1
9317
+ type: integer
9318
+ query_string:
9319
+ description: Widget query.
9320
+ example: env:prod AND service:my-app
9321
+ type: string
9322
+ required:
9323
+ - query_string
9324
+ type: object
9325
+ SLOListWidgetRequest:
9326
+ description: Updated SLO List widget.
9327
+ properties:
9328
+ query:
9329
+ $ref: '#/components/schemas/SLOListWidgetQuery'
9330
+ request_type:
9331
+ $ref: '#/components/schemas/SLOListWidgetRequestType'
9332
+ required:
9333
+ - query
9334
+ - request_type
9335
+ type: object
9336
+ SLOListWidgetRequestType:
9337
+ description: Widget request type.
9338
+ enum:
9339
+ - slo_list
9340
+ type: string
9341
+ x-enum-varnames:
9342
+ - SLO_LIST
9343
+ SLOOverallStatuses:
9344
+ description: Overall status of the SLO by timeframes.
9345
+ properties:
9346
+ error:
9347
+ description: Error message if SLO status or error budget could not be calculated.
9348
+ nullable: true
9349
+ type: string
9350
+ indexed_at:
9351
+ description: 'timestamp (UNIX time in seconds) of when the SLO status and
9352
+ error budget
9353
+
9354
+ were calculated.'
9355
+ example: 1662496260
9356
+ format: int64
9357
+ type: integer
9358
+ raw_error_budget_remaining:
9359
+ $ref: '#/components/schemas/SLORawErrorBudgetRemaining'
9360
+ span_precision:
9361
+ description: The amount of decimal places the SLI value is accurate to.
9362
+ example: 2
9363
+ format: int64
9364
+ type: integer
9365
+ status:
9366
+ description: The status of the SLO.
9367
+ example: 100
9368
+ format: double
9369
+ nullable: true
9370
+ type: number
9371
+ target:
9372
+ description: The target of the SLO.
9373
+ example: 99
9374
+ format: double
9375
+ type: number
9376
+ timeframe:
9377
+ $ref: '#/components/schemas/SLOTimeframe'
9378
+ type: object
9379
+ SLORawErrorBudgetRemaining:
9380
+ description: Error budget remaining for an SLO.
9381
+ properties:
9382
+ unit:
9383
+ description: Error budget remaining unit.
9384
+ example: requests
9385
+ type: string
9386
+ value:
9387
+ description: Error budget remaining value.
9388
+ example: 60
9389
+ format: double
9390
+ type: number
9391
+ type: object
9206
9392
  SLOResponse:
9207
9393
  description: A service level objective response containing a single service
9208
9394
  level objective.
@@ -9640,6 +9826,38 @@ components:
9640
9826
  - formula
9641
9827
  - dimension
9642
9828
  type: object
9829
+ SearchSLOQuery:
9830
+ description: 'A metric-based SLO. **Required if type is `metric`**. Note that
9831
+ Datadog only allows the sum by aggregator
9832
+
9833
+ to be used because this will sum up all request counts instead of averaging
9834
+ them, or taking the max or
9835
+
9836
+ min of all of those requests.'
9837
+ nullable: true
9838
+ properties:
9839
+ denominator:
9840
+ description: A Datadog metric query for total (valid) events.
9841
+ example: sum:my.custom.metric{*}.as_count()
9842
+ type: string
9843
+ metrics:
9844
+ description: 'Metric names used in the query''s numerator and denominator.
9845
+
9846
+ This field will return null and will be implemented in the next version
9847
+ of this endpoint.'
9848
+ example:
9849
+ - my.custom.metric
9850
+ - my.other.custom.metric
9851
+ items:
9852
+ description: Metric name.
9853
+ type: string
9854
+ nullable: true
9855
+ type: array
9856
+ numerator:
9857
+ description: A Datadog metric query for good events.
9858
+ example: sum:my.custom.metric{type:good}.as_count()
9859
+ type: string
9860
+ type: object
9643
9861
  SearchSLOResponse:
9644
9862
  description: A search SLO response containing results from the search query.
9645
9863
  properties:
@@ -9665,10 +9883,10 @@ components:
9665
9883
  properties:
9666
9884
  facets:
9667
9885
  $ref: '#/components/schemas/SearchSLOResponseDataAttributesFacets'
9668
- slo:
9886
+ slos:
9669
9887
  description: SLOs
9670
9888
  items:
9671
- $ref: '#/components/schemas/ServiceLevelObjective'
9889
+ $ref: '#/components/schemas/SearchServiceLevelObjective'
9672
9890
  type: array
9673
9891
  type: object
9674
9892
  SearchSLOResponseDataAttributesFacets:
@@ -9746,12 +9964,14 @@ components:
9746
9964
  type: string
9747
9965
  last:
9748
9966
  description: Link to first page.
9967
+ nullable: true
9749
9968
  type: string
9750
9969
  next:
9751
9970
  description: Link to the next page.
9752
9971
  type: string
9753
9972
  prev:
9754
9973
  description: Link to previous page.
9974
+ nullable: true
9755
9975
  type: string
9756
9976
  self:
9757
9977
  description: Link to current page.
@@ -9798,6 +10018,202 @@ components:
9798
10018
  description: Type of pagination.
9799
10019
  type: string
9800
10020
  type: object
10021
+ SearchSLOThreshold:
10022
+ description: SLO thresholds (target and optionally warning) for a single time
10023
+ window.
10024
+ properties:
10025
+ target:
10026
+ description: 'The target value for the service level indicator within the
10027
+ corresponding
10028
+
10029
+ timeframe.'
10030
+ example: 99.9
10031
+ format: double
10032
+ type: number
10033
+ target_display:
10034
+ description: 'A string representation of the target that indicates its precision.
10035
+
10036
+ It uses trailing zeros to show significant decimal places (for example
10037
+ `98.00`).
10038
+
10039
+
10040
+ Always included in service level objective responses. Ignored in
10041
+
10042
+ create/update requests.'
10043
+ example: '99.9'
10044
+ type: string
10045
+ timeframe:
10046
+ $ref: '#/components/schemas/SearchSLOTimeframe'
10047
+ warning:
10048
+ description: The warning value for the service level objective.
10049
+ example: 90.0
10050
+ format: double
10051
+ nullable: true
10052
+ type: number
10053
+ warning_display:
10054
+ description: 'A string representation of the warning target (see the description
10055
+ of
10056
+
10057
+ the `target_display` field for details).
10058
+
10059
+
10060
+ Included in service level objective responses if a warning target exists.
10061
+
10062
+ Ignored in create/update requests.'
10063
+ example: '90.0'
10064
+ nullable: true
10065
+ type: string
10066
+ required:
10067
+ - timeframe
10068
+ - target
10069
+ type: object
10070
+ SearchSLOTimeframe:
10071
+ description: The SLO time window options.
10072
+ enum:
10073
+ - 7d
10074
+ - 30d
10075
+ - 90d
10076
+ example: 30d
10077
+ type: string
10078
+ x-enum-varnames:
10079
+ - SEVEN_DAYS
10080
+ - THIRTY_DAYS
10081
+ - NINETY_DAYS
10082
+ SearchServiceLevelObjective:
10083
+ description: A service level objective data container.
10084
+ properties:
10085
+ data:
10086
+ $ref: '#/components/schemas/SearchServiceLevelObjectiveData'
10087
+ type: object
10088
+ SearchServiceLevelObjectiveAttributes:
10089
+ description: 'A service level objective object includes a service level indicator,
10090
+ thresholds
10091
+
10092
+ for one or more timeframes, and metadata (`name`, `description`, and `tags`).'
10093
+ properties:
10094
+ all_tags:
10095
+ description: 'A list of tags associated with this service level objective.
10096
+
10097
+ Always included in service level objective responses (but may be empty).'
10098
+ example:
10099
+ - env:prod
10100
+ - app:core
10101
+ items:
10102
+ type: string
10103
+ type: array
10104
+ created_at:
10105
+ description: 'Creation timestamp (UNIX time in seconds)
10106
+
10107
+
10108
+ Always included in service level objective responses.'
10109
+ format: int64
10110
+ readOnly: true
10111
+ type: integer
10112
+ creator:
10113
+ $ref: '#/components/schemas/SLOCreator'
10114
+ description:
10115
+ description: 'A user-defined description of the service level objective.
10116
+
10117
+
10118
+ Always included in service level objective responses (but may be `null`).
10119
+
10120
+ Optional in create/update requests.'
10121
+ nullable: true
10122
+ type: string
10123
+ env_tags:
10124
+ description: Tags with the `env` tag key.
10125
+ items:
10126
+ type: string
10127
+ type: array
10128
+ groups:
10129
+ description: 'A list of (up to 100) monitor groups that narrow the scope
10130
+ of a monitor service level objective.
10131
+
10132
+ Included in service level objective responses if it is not empty.'
10133
+ example:
10134
+ - env:prod
10135
+ - role:mysql
10136
+ items:
10137
+ description: A group name, for instance `env:prod`.
10138
+ type: string
10139
+ nullable: true
10140
+ type: array
10141
+ modified_at:
10142
+ description: 'Modification timestamp (UNIX time in seconds)
10143
+
10144
+
10145
+ Always included in service level objective responses.'
10146
+ format: int64
10147
+ readOnly: true
10148
+ type: integer
10149
+ monitor_ids:
10150
+ description: 'A list of monitor ids that defines the scope of a monitor
10151
+ service level
10152
+
10153
+ objective.'
10154
+ items:
10155
+ description: A monitor ID.
10156
+ format: int64
10157
+ type: integer
10158
+ nullable: true
10159
+ type: array
10160
+ name:
10161
+ description: The name of the service level objective object.
10162
+ example: Custom Metric SLO
10163
+ type: string
10164
+ overall_status:
10165
+ description: calculated status and error budget remaining.
10166
+ items:
10167
+ $ref: '#/components/schemas/SLOOverallStatuses'
10168
+ type: array
10169
+ query:
10170
+ $ref: '#/components/schemas/SearchSLOQuery'
10171
+ service_tags:
10172
+ description: Tags with the `service` tag key.
10173
+ items:
10174
+ type: string
10175
+ type: array
10176
+ slo_type:
10177
+ $ref: '#/components/schemas/SLOType'
10178
+ team_tags:
10179
+ description: Tags with the `team` tag key.
10180
+ items:
10181
+ type: string
10182
+ type: array
10183
+ thresholds:
10184
+ description: 'The thresholds (timeframes and associated targets) for this
10185
+ service level
10186
+
10187
+ objective object.'
10188
+ example:
10189
+ - target: 95
10190
+ target_display: '95'
10191
+ timeframe: 7d
10192
+ - target: 95
10193
+ target_display: '95'
10194
+ timeframe: 30d
10195
+ warning: 97
10196
+ warning_display: '97'
10197
+ items:
10198
+ $ref: '#/components/schemas/SearchSLOThreshold'
10199
+ type: array
10200
+ type: object
10201
+ SearchServiceLevelObjectiveData:
10202
+ description: A service level objective ID and attributes.
10203
+ properties:
10204
+ attributes:
10205
+ $ref: '#/components/schemas/SearchServiceLevelObjectiveAttributes'
10206
+ id:
10207
+ description: 'A unique identifier for the service level objective object.
10208
+
10209
+
10210
+ Always included in service level objective responses.'
10211
+ readOnly: true
10212
+ type: string
10213
+ type:
10214
+ description: The type of the object, must be `slo`.
10215
+ type: string
10216
+ type: object
9801
10217
  Series:
9802
10218
  description: 'A metric to submit to Datadog.
9803
10219
 
@@ -10855,6 +11271,7 @@ components:
10855
11271
  - validates
10856
11272
  - isInMoreThan
10857
11273
  - isInLessThan
11274
+ - doesNotExist
10858
11275
  example: contains
10859
11276
  type: string
10860
11277
  x-enum-varnames:
@@ -10871,6 +11288,7 @@ components:
10871
11288
  - VALIDATES
10872
11289
  - IS_IN_MORE_DAYS_THAN
10873
11290
  - IS_IN_LESS_DAYS_THAN
11291
+ - DOES_NOT_EXIST
10874
11292
  SyntheticsAssertionTarget:
10875
11293
  description: An assertion which uses a simple target.
10876
11294
  properties:
@@ -13375,6 +13793,91 @@ components:
13375
13793
  style:
13376
13794
  $ref: '#/components/schemas/WidgetRequestStyle'
13377
13795
  type: object
13796
+ TopologyMapWidgetDefinition:
13797
+ description: This widget displays a topology of nodes and edges for different
13798
+ data sources. It replaces the service map widget.
13799
+ properties:
13800
+ custom_links:
13801
+ description: List of custom links.
13802
+ items:
13803
+ $ref: '#/components/schemas/WidgetCustomLink'
13804
+ type: array
13805
+ requests:
13806
+ description: One or more Topology requests.
13807
+ items:
13808
+ $ref: '#/components/schemas/TopologyRequest'
13809
+ minItems: 1
13810
+ type: array
13811
+ title:
13812
+ description: Title of your widget.
13813
+ type: string
13814
+ title_align:
13815
+ $ref: '#/components/schemas/WidgetTextAlign'
13816
+ title_size:
13817
+ description: Size of the title.
13818
+ type: string
13819
+ type:
13820
+ $ref: '#/components/schemas/TopologyMapWidgetDefinitionType'
13821
+ required:
13822
+ - type
13823
+ - requests
13824
+ type: object
13825
+ TopologyMapWidgetDefinitionType:
13826
+ default: topology_map
13827
+ description: Type of the topology map widget.
13828
+ enum:
13829
+ - topology_map
13830
+ example: topology_map
13831
+ type: string
13832
+ x-enum-varnames:
13833
+ - TOPOLOGY_MAP
13834
+ TopologyQuery:
13835
+ description: Query to service-based topology data sources like the service map
13836
+ or data streams.
13837
+ properties:
13838
+ data_source:
13839
+ $ref: '#/components/schemas/TopologyQueryDataSource'
13840
+ filters:
13841
+ description: Your environment and primary tag (or * if enabled for your
13842
+ account).
13843
+ example:
13844
+ - env:prod
13845
+ - az:us-east
13846
+ items:
13847
+ description: Environment or primary tag, generally in a key:value format
13848
+ type: string
13849
+ minItems: 1
13850
+ type: array
13851
+ service:
13852
+ description: Name of the service
13853
+ example: myService
13854
+ type: string
13855
+ type: object
13856
+ TopologyQueryDataSource:
13857
+ description: Name of the data source
13858
+ enum:
13859
+ - data_streams
13860
+ - service_map
13861
+ type: string
13862
+ x-enum-varnames:
13863
+ - DATA_STREAMS
13864
+ - SERVICE_MAP
13865
+ TopologyRequest:
13866
+ description: Request that will return nodes and edges to be used by topology
13867
+ map.
13868
+ properties:
13869
+ query:
13870
+ $ref: '#/components/schemas/TopologyQuery'
13871
+ request_type:
13872
+ $ref: '#/components/schemas/TopologyRequestType'
13873
+ type: object
13874
+ TopologyRequestType:
13875
+ description: Widget request type.
13876
+ enum:
13877
+ - topology
13878
+ type: string
13879
+ x-enum-varnames:
13880
+ - TOPOLOGY
13378
13881
  TreeMapColorBy:
13379
13882
  default: user
13380
13883
  deprecated: true
@@ -13640,6 +14143,8 @@ components:
13640
14143
  - estimated_indexed_spans_percentage
13641
14144
  - estimated_ingested_spans_usage
13642
14145
  - estimated_ingested_spans_percentage
14146
+ - apm_fargate_usage
14147
+ - apm_fargate_percentage
13643
14148
  type: string
13644
14149
  x-enum-varnames:
13645
14150
  - API_PERCENTAGE
@@ -13672,6 +14177,8 @@ components:
13672
14177
  - ESTIMATED_INDEXED_SPANS_PERCENTAGE
13673
14178
  - ESTIMATED_INGESTED_SPANS_USAGE
13674
14179
  - ESTIMATED_INGESTED_SPANS_PERCENTAGE
14180
+ - APM_FARGATE_USAGE
14181
+ - APM_FARGATE_PERCENTAGE
13675
14182
  UsageAttributionSupportedMetrics:
13676
14183
  description: Supported fields for usage attribution requests (valid requests
13677
14184
  contain one or more metrics, or `*` for all).
@@ -13716,6 +14223,8 @@ components:
13716
14223
  - estimated_indexed_spans_percentage
13717
14224
  - estimated_ingested_spans_usage
13718
14225
  - estimated_ingested_spans_percentage
14226
+ - apm_fargate_usage
14227
+ - apm_fargate_percentage
13719
14228
  - '*'
13720
14229
  type: string
13721
14230
  x-enum-varnames:
@@ -13759,6 +14268,8 @@ components:
13759
14268
  - ESTIMATED_INDEXED_SPANS_PERCENTAGE
13760
14269
  - ESTIMATED_INGESTED_SPANS_USAGE
13761
14270
  - ESTIMATED_INGESTED_SPANS_PERCENTAGE
14271
+ - APM_FARGATE_USAGE
14272
+ - APM_FARGATE_PERCENTAGE
13762
14273
  - ALL
13763
14274
  UsageAttributionTagNames:
13764
14275
  additionalProperties:
@@ -13799,6 +14310,14 @@ components:
13799
14310
  description: The synthetic API test usage by tag(s).
13800
14311
  format: double
13801
14312
  type: number
14313
+ apm_fargate_percentage:
14314
+ description: The percentage of APM ECS Fargate task usage by tag(s).
14315
+ format: double
14316
+ type: number
14317
+ apm_fargate_usage:
14318
+ description: The APM ECS Fargate task usage by tag(s).
14319
+ format: double
14320
+ type: number
13802
14321
  apm_host_percentage:
13803
14322
  description: The percentage of APM host usage by tag(s).
13804
14323
  format: double
@@ -14483,6 +15002,11 @@ components:
14483
15002
  UsageFargateHour:
14484
15003
  description: Number of Fargate tasks run and hourly usage.
14485
15004
  properties:
15005
+ apm_fargate_count:
15006
+ description: The high-water mark of APM ECS Fargate tasks during the given
15007
+ hour.
15008
+ format: int64
15009
+ type: integer
14486
15010
  avg_profiled_fargate_tasks:
14487
15011
  description: The average profiled task count for Fargate Profiling.
14488
15012
  format: int64
@@ -15285,6 +15809,11 @@ components:
15285
15809
  over all hours in the current date all organizations.
15286
15810
  format: int64
15287
15811
  type: integer
15812
+ apm_fargate_count_avg:
15813
+ description: Shows the average of all APM ECS Fargate tasks over all hours
15814
+ in the current date for all organizations.
15815
+ format: int64
15816
+ type: integer
15288
15817
  apm_host_top99p:
15289
15818
  description: Shows the 99th percentile of all distinct APM hosts over all
15290
15819
  hours in the current date for all organizations.
@@ -15615,6 +16144,11 @@ components:
15615
16144
  over all hours in the current date for the given org.
15616
16145
  format: int64
15617
16146
  type: integer
16147
+ apm_fargate_count_avg:
16148
+ description: Shows the average of all APM ECS Fargate tasks over all hours
16149
+ in the current months for the given org.
16150
+ format: int64
16151
+ type: integer
15618
16152
  apm_host_top99p:
15619
16153
  description: Shows the 99th percentile of all distinct APM hosts over all
15620
16154
  hours in the current date for the given org.
@@ -15948,6 +16482,11 @@ components:
15948
16482
  over all hours in the current months all organizations.
15949
16483
  format: int64
15950
16484
  type: integer
16485
+ apm_fargate_count_avg_sum:
16486
+ description: Shows the average of all APM ECS Fargate tasks over all hours
16487
+ in the current months for all organizations.
16488
+ format: int64
16489
+ type: integer
15951
16490
  apm_host_top99p_sum:
15952
16491
  description: Shows the 99th percentile of all distinct APM hosts over all
15953
16492
  hours in the current months for all organizations.
@@ -16902,6 +17441,7 @@ components:
16902
17441
  - $ref: '#/components/schemas/QueryValueWidgetDefinition'
16903
17442
  - $ref: '#/components/schemas/ScatterPlotWidgetDefinition'
16904
17443
  - $ref: '#/components/schemas/SLOWidgetDefinition'
17444
+ - $ref: '#/components/schemas/SLOListWidgetDefinition'
16905
17445
  - $ref: '#/components/schemas/ServiceMapWidgetDefinition'
16906
17446
  - $ref: '#/components/schemas/ServiceSummaryWidgetDefinition'
16907
17447
  - $ref: '#/components/schemas/SunburstWidgetDefinition'
@@ -16911,6 +17451,7 @@ components:
16911
17451
  - $ref: '#/components/schemas/TreeMapWidgetDefinition'
16912
17452
  - $ref: '#/components/schemas/ListStreamWidgetDefinition'
16913
17453
  - $ref: '#/components/schemas/FunnelWidgetDefinition'
17454
+ - $ref: '#/components/schemas/TopologyMapWidgetDefinition'
16914
17455
  type: object
16915
17456
  WidgetDisplayType:
16916
17457
  description: Type of display to use for the request.
@@ -24287,7 +24828,11 @@ paths:
24287
24828
  description: Get a list of service level objective objects for your organization.
24288
24829
  operationId: SearchSLO
24289
24830
  parameters:
24290
- - description: The query string to filter results based on SLO names.
24831
+ - description: 'The query string to filter results based on SLO names.
24832
+
24833
+ Some examples of queries include `service:<service-name>`
24834
+
24835
+ and `<slo-name>`.'
24291
24836
  in: query
24292
24837
  name: query
24293
24838
  required: false
@@ -24308,6 +24853,12 @@ paths:
24308
24853
  schema:
24309
24854
  format: int64
24310
24855
  type: integer
24856
+ - description: Whether or not to return facet information in the response `[default=false]`.
24857
+ in: query
24858
+ name: include_facets
24859
+ required: false
24860
+ schema:
24861
+ type: boolean
24311
24862
  responses:
24312
24863
  '200':
24313
24864
  content:
@@ -24337,6 +24888,7 @@ paths:
24337
24888
  description: The regional site for Datadog customers.
24338
24889
  enum:
24339
24890
  - datadoghq.com
24891
+ - datadoghq.eu
24340
24892
  - us3.datadoghq.com
24341
24893
  - us5.datadoghq.com
24342
24894
  - ddog-gov.com
@@ -24362,9 +24914,7 @@ paths:
24362
24914
  summary: Search for SLOs
24363
24915
  tags:
24364
24916
  - Service Level Objectives
24365
- x-unstable: '**Note**: Note: This endpoint is in public beta for US regions.
24366
-
24367
- It is not currently supported in the EU region.
24917
+ x-unstable: '**Note**: This endpoint is in public beta.
24368
24918
 
24369
24919
  If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
24370
24920
  /api/v1/slo/{slo_id}: