datadog_api_client 2.7.0 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/schemas/v1/openapi.yaml +195 -46
  4. data/.generator/schemas/v2/openapi.yaml +877 -96
  5. data/.generator/src/generator/formatter.py +1 -0
  6. data/.generator/src/generator/templates/model_base.j2 +8 -4
  7. data/CHANGELOG.md +39 -0
  8. data/examples/v1/dashboards/CreateDashboard_109450134.rb +44 -0
  9. data/examples/v1/dashboards/CreateDashboard_2800096921.rb +62 -0
  10. data/examples/v1/dashboards/CreateDashboard_3195475781.rb +32 -0
  11. data/examples/v1/service-level-objectives/SearchSLO.rb +0 -3
  12. data/examples/v2/incidents/CreateIncidentIntegration.rb +31 -0
  13. data/examples/v2/incidents/DeleteIncidentIntegration.rb +14 -0
  14. data/examples/v2/incidents/GetIncidentIntegration.rb +14 -0
  15. data/examples/v2/incidents/ListIncidentIntegrations.rb +11 -0
  16. data/examples/v2/incidents/UpdateIncidentIntegration.rb +34 -0
  17. data/examples/v2/ip-allowlist/GetIPAllowlist.rb +5 -0
  18. data/examples/v2/ip-allowlist/UpdateIPAllowlist.rb +25 -0
  19. data/examples/v2/logs-metrics/CreateLogsMetric.rb +1 -1
  20. data/examples/v2/restriction-policies/DeleteRestrictionPolicy.rb +5 -0
  21. data/examples/v2/restriction-policies/GetRestrictionPolicy.rb +5 -0
  22. data/examples/v2/restriction-policies/UpdateRestrictionPolicy.rb +25 -0
  23. data/examples/v2/synthetics/GetOnDemandConcurrencyCap.rb +5 -0
  24. data/examples/v2/synthetics/GetOnDemandConcurrencyCap_2633566918.rb +5 -0
  25. data/examples/v2/synthetics/SetOnDemandConcurrencyCap.rb +7 -0
  26. data/examples/v2/synthetics/SetOnDemandConcurrencyCap_2850884405.rb +9 -0
  27. data/lib/datadog_api_client/configuration.rb +5 -1
  28. data/lib/datadog_api_client/inflector.rb +38 -0
  29. data/lib/datadog_api_client/v1/api/service_level_objectives_api.rb +0 -6
  30. data/lib/datadog_api_client/v1/api/snapshots_api.rb +2 -2
  31. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +3 -3
  32. data/lib/datadog_api_client/v1/model_base.rb +7 -3
  33. data/lib/datadog_api_client/v1/models/application_key.rb +16 -16
  34. data/lib/datadog_api_client/v1/models/cancel_downtimes_by_scope_request.rb +1 -1
  35. data/lib/datadog_api_client/v1/models/downtime.rb +1 -1
  36. data/lib/datadog_api_client/v1/models/downtime_child.rb +1 -1
  37. data/lib/datadog_api_client/v1/models/formula_and_function_events_data_source.rb +1 -0
  38. data/lib/datadog_api_client/v1/models/host_meta.rb +3 -3
  39. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +1 -0
  40. data/lib/datadog_api_client/v1/models/ip_prefixes_orchestrator.rb +105 -0
  41. data/lib/datadog_api_client/v1/models/ip_ranges.rb +11 -1
  42. data/lib/datadog_api_client/v1/models/list_stream_source.rb +3 -0
  43. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +2 -0
  44. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +31 -11
  45. data/lib/datadog_api_client/v1/models/search_service_level_objective_attributes.rb +11 -1
  46. data/lib/datadog_api_client/v1/models/slo_list_widget_query.rb +16 -4
  47. data/lib/datadog_api_client/v1/models/slo_overall_statuses.rb +24 -1
  48. data/lib/datadog_api_client/v1/models/slo_state.rb +29 -0
  49. data/lib/datadog_api_client/v1/models/slo_status.rb +164 -0
  50. data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +10 -10
  51. data/lib/datadog_api_client/v1/models/usage_rum_sessions_hour.rb +12 -1
  52. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +41 -1
  53. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +41 -1
  54. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +41 -1
  55. data/lib/datadog_api_client/v2/api/ci_visibility_pipelines_api.rb +3 -3
  56. data/lib/datadog_api_client/v2/api/ci_visibility_tests_api.rb +3 -3
  57. data/lib/datadog_api_client/v2/api/incidents_api.rb +384 -0
  58. data/lib/datadog_api_client/v2/api/ip_allowlist_api.rb +153 -0
  59. data/lib/datadog_api_client/v2/api/logs_api.rb +1 -0
  60. data/lib/datadog_api_client/v2/api/metrics_api.rb +2 -2
  61. data/lib/datadog_api_client/v2/api/monitors_api.rb +3 -3
  62. data/lib/datadog_api_client/v2/api/restriction_policies_api.rb +236 -0
  63. data/lib/datadog_api_client/v2/api/synthetics_api.rb +153 -0
  64. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +1 -1
  65. data/lib/datadog_api_client/v2/model_base.rb +7 -3
  66. data/lib/datadog_api_client/v2/models/events_data_source.rb +1 -0
  67. data/lib/datadog_api_client/v2/models/incident_integration_metadata_attributes.rb +161 -0
  68. data/lib/datadog_api_client/v2/models/incident_integration_metadata_create_data.rb +123 -0
  69. data/lib/datadog_api_client/v2/models/incident_integration_metadata_create_request.rb +102 -0
  70. data/lib/datadog_api_client/v2/models/incident_integration_metadata_list_response.rb +126 -0
  71. data/lib/datadog_api_client/v2/models/incident_integration_metadata_metadata.rb +63 -0
  72. data/lib/datadog_api_client/v2/models/incident_integration_metadata_patch_data.rb +123 -0
  73. data/lib/datadog_api_client/v2/models/incident_integration_metadata_patch_request.rb +102 -0
  74. data/lib/datadog_api_client/v2/models/incident_integration_metadata_response.rb +114 -0
  75. data/lib/datadog_api_client/v2/models/incident_integration_metadata_response_data.rb +133 -0
  76. data/lib/datadog_api_client/v2/models/incident_integration_metadata_response_included_item.rb +62 -0
  77. data/lib/datadog_api_client/v2/models/incident_update_data.rb +1 -1
  78. data/lib/datadog_api_client/v2/models/ip_allowlist_attributes.rb +103 -0
  79. data/lib/datadog_api_client/v2/models/ip_allowlist_data.rb +122 -0
  80. data/lib/datadog_api_client/v2/models/ip_allowlist_entry.rb +102 -0
  81. data/lib/datadog_api_client/v2/models/ip_allowlist_entry_attributes.rb +121 -0
  82. data/lib/datadog_api_client/v2/models/ip_allowlist_entry_data.rb +122 -0
  83. data/lib/datadog_api_client/v2/models/ip_allowlist_entry_type.rb +26 -0
  84. data/lib/datadog_api_client/v2/models/ip_allowlist_response.rb +91 -0
  85. data/lib/datadog_api_client/v2/models/ip_allowlist_type.rb +26 -0
  86. data/lib/datadog_api_client/v2/models/ip_allowlist_update_request.rb +102 -0
  87. data/lib/datadog_api_client/v2/models/jira_integration_metadata.rb +104 -0
  88. data/lib/datadog_api_client/v2/models/jira_integration_metadata_issues_item.rb +153 -0
  89. data/lib/datadog_api_client/v2/models/metrics_aggregator.rb +4 -0
  90. data/lib/datadog_api_client/v2/models/metrics_data_source.rb +2 -1
  91. data/lib/datadog_api_client/v2/models/metrics_scalar_query.rb +1 -1
  92. data/lib/datadog_api_client/v2/models/metrics_timeseries_query.rb +1 -1
  93. data/lib/datadog_api_client/v2/models/on_demand_concurrency_cap.rb +91 -0
  94. data/lib/datadog_api_client/v2/models/on_demand_concurrency_cap_attributes.rb +91 -0
  95. data/lib/datadog_api_client/v2/models/on_demand_concurrency_cap_response.rb +91 -0
  96. data/lib/datadog_api_client/v2/models/relationship_to_incident_integration_metadatas.rb +1 -1
  97. data/lib/datadog_api_client/v2/models/restriction_policy.rb +144 -0
  98. data/lib/datadog_api_client/v2/models/restriction_policy_attributes.rb +104 -0
  99. data/lib/datadog_api_client/v2/models/restriction_policy_binding.rb +127 -0
  100. data/lib/datadog_api_client/v2/models/restriction_policy_response.rb +102 -0
  101. data/lib/datadog_api_client/v2/models/restriction_policy_type.rb +26 -0
  102. data/lib/datadog_api_client/v2/models/restriction_policy_update_request.rb +102 -0
  103. data/lib/datadog_api_client/v2/models/rum_application_attributes.rb +7 -7
  104. data/lib/datadog_api_client/v2/models/rum_application_list_attributes.rb +7 -7
  105. data/lib/datadog_api_client/v2/models/security_monitoring_rule_type_read.rb +1 -0
  106. data/lib/datadog_api_client/v2/models/slack_integration_metadata.rb +104 -0
  107. data/lib/datadog_api_client/v2/models/slack_integration_metadata_channel_item.rb +154 -0
  108. data/lib/datadog_api_client/version.rb +1 -1
  109. metadata +57 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 51e5e16ca6bfef7998f07b014a76e4dd7094d0df48adb23611f48a0d0473c8b0
4
- data.tar.gz: 86266b38280b894c9af29edc4428429a6d9dd56e56f681371d05849c05e4db97
3
+ metadata.gz: f9c8454cff1256c1d83b93a839e8090f28028a23b5f40aa72c911bdd2cd233b1
4
+ data.tar.gz: 5e1d1b1b8cd0b0636b390db66807be0c18f81dd5d057a67193611e62813e18c7
5
5
  SHA512:
6
- metadata.gz: add86b5cf7128ad5fdccd90eba761c544e41fbaa3a937e8bc09febb3543078e5ac7ab3d0768e137e8c57e20358890e8d94f968e8d3483fdedda9035e9432d1ad
7
- data.tar.gz: '08eeb4d325a6ba1e97f6e009f2ceed062de7f3396a727b2934e0017d3bb8f70a45fc834d86e23ee1ace47f4ea91f8047dbb698aa842c0a0876f99d5e15579dd2'
6
+ metadata.gz: 0e1aef92d09652ca8fa486c699cff1486443eddafe1d565cf7cca2ffbcea189c5f0de7bd76ccd484069770db3fe23fa7d2754956e74ea7b36c8fc1b4a269cd14
7
+ data.tar.gz: 3738e0b902435368bc2eab6151a9e9d0bee206de9e27865e64aa72e8a57c564560270a9356b9bcceb767d517b28bfcd7c36fadd709b5b9e67a96194632058602
data/.apigentools-info CHANGED
@@ -4,13 +4,13 @@
4
4
  "spec_versions": {
5
5
  "v1": {
6
6
  "apigentools_version": "1.6.4",
7
- "regenerated": "2023-02-08 16:22:44.829792",
8
- "spec_repo_commit": "c826f5c2"
7
+ "regenerated": "2023-03-13 16:14:01.974205",
8
+ "spec_repo_commit": "13001c30"
9
9
  },
10
10
  "v2": {
11
11
  "apigentools_version": "1.6.4",
12
- "regenerated": "2023-02-08 16:22:44.841610",
13
- "spec_repo_commit": "c826f5c2"
12
+ "regenerated": "2023-03-13 16:14:01.986760",
13
+ "spec_repo_commit": "13001c30"
14
14
  }
15
15
  }
16
16
  }
@@ -697,7 +697,8 @@ components:
697
697
  description: Cancel downtimes according to scope.
698
698
  properties:
699
699
  scope:
700
- description: 'The scope(s) to which the downtime applies. For example, `host:app2`.
700
+ description: 'The scope(s) to which the downtime applies and must be in
701
+ `key:value` format. For example, `host:app2`.
701
702
 
702
703
  Provide multiple scopes as a comma-separated list like `env:dev,env:prod`.
703
704
 
@@ -1678,7 +1679,8 @@ components:
1678
1679
  recurrence:
1679
1680
  $ref: '#/components/schemas/DowntimeRecurrence'
1680
1681
  scope:
1681
- description: 'The scope(s) to which the downtime applies. For example, `host:app2`.
1682
+ description: 'The scope(s) to which the downtime applies and must be in
1683
+ `key:value` format. For example, `host:app2`.
1682
1684
 
1683
1685
  Provide multiple scopes as a comma-separated list like `env:dev,env:prod`.
1684
1686
 
@@ -1812,7 +1814,8 @@ components:
1812
1814
  recurrence:
1813
1815
  $ref: '#/components/schemas/DowntimeRecurrence'
1814
1816
  scope:
1815
- description: 'The scope(s) to which the downtime applies. For example, `host:app2`.
1817
+ description: 'The scope(s) to which the downtime applies and must be in
1818
+ `key:value` format. For example, `host:app2`.
1816
1819
 
1817
1820
  Provide multiple scopes as a comma-separated list like `env:dev,env:prod`.
1818
1821
 
@@ -2518,6 +2521,7 @@ components:
2518
2521
  - audit
2519
2522
  - events
2520
2523
  - ci_tests
2524
+ - ci_pipelines
2521
2525
  example: logs
2522
2526
  type: string
2523
2527
  x-enum-varnames:
@@ -2530,6 +2534,7 @@ components:
2530
2534
  - AUDIT
2531
2535
  - EVENTS
2532
2536
  - CI_TESTS
2537
+ - CI_PIPELINES
2533
2538
  FormulaAndFunctionMetricAggregation:
2534
2539
  description: The aggregation methods available for metrics queries.
2535
2540
  enum:
@@ -3425,8 +3430,6 @@ components:
3425
3430
  items:
3426
3431
  description: The version name.
3427
3432
  example: FreeBSD
3428
- nullable: true
3429
- type: string
3430
3433
  type: array
3431
3434
  gohai:
3432
3435
  description: JSON string containing system information.
@@ -3451,8 +3454,6 @@ components:
3451
3454
  items:
3452
3455
  description: Version name.
3453
3456
  example: Ubuntu
3454
- nullable: true
3455
- type: string
3456
3457
  type: array
3457
3458
  platform:
3458
3459
  description: The OS platform.
@@ -3479,8 +3480,6 @@ components:
3479
3480
  items:
3480
3481
  description: Version name.
3481
3482
  example: Windows
3482
- nullable: true
3483
- type: string
3484
3483
  type: array
3485
3484
  type: object
3486
3485
  HostMetaInstallMethod:
@@ -3671,6 +3670,7 @@ components:
3671
3670
  - invocations_usage
3672
3671
  - npm_host_usage
3673
3672
  - profiled_container_usage
3673
+ - profiled_fargate_usage
3674
3674
  - profiled_host_usage
3675
3675
  - snmp_usage
3676
3676
  - estimated_rum_sessions_usage
@@ -3701,6 +3701,7 @@ components:
3701
3701
  - INVOCATIONS_USAGE
3702
3702
  - NPM_HOST_USAGE
3703
3703
  - PROFILED_CONTAINER_USAGE
3704
+ - PROFILED_FARGATE_USAGE
3704
3705
  - PROFILED_HOST_USAGE
3705
3706
  - SNMP_USAGE
3706
3707
  - ESTIMATED_RUM_SESSIONS_USAGE
@@ -3791,6 +3792,22 @@ components:
3791
3792
  type: string
3792
3793
  type: array
3793
3794
  type: object
3795
+ IPPrefixesOrchestrator:
3796
+ description: Available prefix information for the Orchestrator endpoints.
3797
+ properties:
3798
+ prefixes_ipv4:
3799
+ description: List of IPv4 prefixes.
3800
+ items:
3801
+ description: IPv4 prefix
3802
+ type: string
3803
+ type: array
3804
+ prefixes_ipv6:
3805
+ description: List of IPv6 prefixes.
3806
+ items:
3807
+ description: IPv6 prefix
3808
+ type: string
3809
+ type: array
3810
+ type: object
3794
3811
  IPPrefixesProcess:
3795
3812
  description: Available prefix information for the Process endpoints.
3796
3813
  properties:
@@ -3889,6 +3906,8 @@ components:
3889
3906
  description: Date when last updated, in the form `YYYY-MM-DD-hh-mm-ss`.
3890
3907
  example: 2019-10-31-20-00-00
3891
3908
  type: string
3909
+ orchestrator:
3910
+ $ref: '#/components/schemas/IPPrefixesOrchestrator'
3892
3911
  process:
3893
3912
  $ref: '#/components/schemas/IPPrefixesProcess'
3894
3913
  synthetics:
@@ -4120,8 +4139,11 @@ components:
4120
4139
  enum:
4121
4140
  - logs_stream
4122
4141
  - audit_stream
4142
+ - ci_pipeline_stream
4143
+ - ci_test_stream
4123
4144
  - rum_issue_stream
4124
4145
  - apm_issue_stream
4146
+ - logs_issue_stream
4125
4147
  - logs_pattern_stream
4126
4148
  - logs_transaction_stream
4127
4149
  - event_stream
@@ -4130,8 +4152,11 @@ components:
4130
4152
  x-enum-varnames:
4131
4153
  - LOGS_STREAM
4132
4154
  - AUDIT_STREAM
4155
+ - CI_PIPELINE_STREAM
4156
+ - CI_TEST_STREAM
4133
4157
  - RUM_ISSUE_STREAM
4134
4158
  - APM_ISSUE_STREAM
4159
+ - LOGS_ISSUE_STREAM
4135
4160
  - LOGS_PATTERN_STREAM
4136
4161
  - LOGS_TRANSACTION_STREAM
4137
4162
  - EVENT_STREAM
@@ -7126,6 +7151,8 @@ components:
7126
7151
  - npm_host_percentage
7127
7152
  - profiled_container_usage
7128
7153
  - profiled_container_percentage
7154
+ - profiled_fargate_usage
7155
+ - profiled_fargate_percentage
7129
7156
  - profiled_host_usage
7130
7157
  - profiled_host_percentage
7131
7158
  - snmp_usage
@@ -7185,6 +7212,8 @@ components:
7185
7212
  - NPM_HOST_PERCENTAGE
7186
7213
  - PROFILED_CONTAINER_USAGE
7187
7214
  - PROFILED_CONTAINER_PERCENTAGE
7215
+ - PROFILED_FARGATE_USAGE
7216
+ - PROFILED_FARGATE_PERCENTAGE
7188
7217
  - PROFILED_HOST_USAGE
7189
7218
  - PROFILED_HOST_PERCENTAGE
7190
7219
  - SNMP_USAGE
@@ -7322,52 +7351,42 @@ components:
7322
7351
  type: number
7323
7352
  estimated_indexed_logs_percentage:
7324
7353
  description: The percentage of estimated live indexed logs usage by tag(s).
7325
- This field is in private beta.
7326
7354
  format: double
7327
7355
  type: number
7328
7356
  estimated_indexed_logs_usage:
7329
- description: The estimated live indexed logs usage by tag(s). This field
7330
- is in private beta.
7357
+ description: The estimated live indexed logs usage by tag(s).
7331
7358
  format: double
7332
7359
  type: number
7333
7360
  estimated_indexed_spans_percentage:
7334
7361
  description: The percentage of estimated indexed spans usage by tag(s).
7335
- This field is in private beta.
7336
7362
  format: double
7337
7363
  type: number
7338
7364
  estimated_indexed_spans_usage:
7339
- description: The estimated indexed spans usage by tag(s). This field is
7340
- in private beta.
7365
+ description: The estimated indexed spans usage by tag(s).
7341
7366
  format: double
7342
7367
  type: number
7343
7368
  estimated_ingested_logs_percentage:
7344
7369
  description: The percentage of estimated live ingested logs usage by tag(s).
7345
- This field is in private beta.
7346
7370
  format: double
7347
7371
  type: number
7348
7372
  estimated_ingested_logs_usage:
7349
- description: The estimated live ingested logs usage by tag(s). This field
7350
- is in private beta.
7373
+ description: The estimated live ingested logs usage by tag(s).
7351
7374
  format: double
7352
7375
  type: number
7353
7376
  estimated_ingested_spans_percentage:
7354
7377
  description: The percentage of estimated ingested spans usage by tag(s).
7355
- This field is in private beta.
7356
7378
  format: double
7357
7379
  type: number
7358
7380
  estimated_ingested_spans_usage:
7359
- description: The estimated ingested spans usage by tag(s). This field is
7360
- in private beta.
7381
+ description: The estimated ingested spans usage by tag(s).
7361
7382
  format: double
7362
7383
  type: number
7363
7384
  estimated_rum_sessions_percentage:
7364
- description: The percentage of estimated rum sessions usage by tag(s). This
7365
- field is in private beta.
7385
+ description: The percentage of estimated rum sessions usage by tag(s).
7366
7386
  format: double
7367
7387
  type: number
7368
7388
  estimated_rum_sessions_usage:
7369
- description: The estimated rum sessions usage by tag(s). This field is in
7370
- private beta.
7389
+ description: The estimated rum sessions usage by tag(s).
7371
7390
  format: double
7372
7391
  type: number
7373
7392
  fargate_percentage:
@@ -7418,6 +7437,14 @@ components:
7418
7437
  description: The profiled container usage by tag(s).
7419
7438
  format: double
7420
7439
  type: number
7440
+ profiled_fargate_percentage:
7441
+ description: The percentage of profiled Fargate task usage by tag(s).
7442
+ format: double
7443
+ type: number
7444
+ profiled_fargate_usage:
7445
+ description: The profiled Fargate task usage by tag(s).
7446
+ format: double
7447
+ type: number
7421
7448
  profiled_host_percentage:
7422
7449
  description: The percentage of profiled hosts usage by tag(s).
7423
7450
  format: double
@@ -9666,6 +9693,11 @@ components:
9666
9693
  description: Widget query.
9667
9694
  example: env:prod AND service:my-app
9668
9695
  type: string
9696
+ sort:
9697
+ description: Options for sorting results.
9698
+ items:
9699
+ $ref: '#/components/schemas/WidgetFieldSort'
9700
+ type: array
9669
9701
  required:
9670
9702
  - query_string
9671
9703
  type: object
@@ -9695,6 +9727,12 @@ components:
9695
9727
  description: Error message if SLO status or error budget could not be calculated.
9696
9728
  nullable: true
9697
9729
  type: string
9730
+ error_budget_remaining:
9731
+ description: Remaining error budget of the SLO in percentage.
9732
+ example: 100
9733
+ format: double
9734
+ nullable: true
9735
+ type: number
9698
9736
  indexed_at:
9699
9737
  description: 'timestamp (UNIX time in seconds) of when the SLO status and
9700
9738
  error budget
@@ -9709,7 +9747,10 @@ components:
9709
9747
  description: The amount of decimal places the SLI value is accurate to.
9710
9748
  example: 2
9711
9749
  format: int64
9750
+ nullable: true
9712
9751
  type: integer
9752
+ state:
9753
+ $ref: '#/components/schemas/SLOState'
9713
9754
  status:
9714
9755
  description: The status of the SLO.
9715
9756
  example: 100
@@ -9726,6 +9767,7 @@ components:
9726
9767
  type: object
9727
9768
  SLORawErrorBudgetRemaining:
9728
9769
  description: Error budget remaining for an SLO.
9770
+ nullable: true
9729
9771
  properties:
9730
9772
  unit:
9731
9773
  description: Error budget remaining unit.
@@ -9915,6 +9957,59 @@ components:
9915
9957
  format: double
9916
9958
  type: number
9917
9959
  type: object
9960
+ SLOState:
9961
+ description: State of the SLO.
9962
+ enum:
9963
+ - breached
9964
+ - warning
9965
+ - ok
9966
+ - no_data
9967
+ example: ok
9968
+ type: string
9969
+ x-enum-varnames:
9970
+ - BREACHED
9971
+ - WARNING
9972
+ - OK
9973
+ - NO_DATA
9974
+ SLOStatus:
9975
+ description: Status of the SLO's primary timeframe.
9976
+ properties:
9977
+ calculation_error:
9978
+ description: Error message if SLO status or error budget could not be calculated.
9979
+ nullable: true
9980
+ type: string
9981
+ error_budget_remaining:
9982
+ description: Remaining error budget of the SLO in percentage.
9983
+ example: 100
9984
+ format: double
9985
+ nullable: true
9986
+ type: number
9987
+ indexed_at:
9988
+ description: 'timestamp (UNIX time in seconds) of when the SLO status and
9989
+ error budget
9990
+
9991
+ were calculated.'
9992
+ example: 1662496260
9993
+ format: int64
9994
+ type: integer
9995
+ raw_error_budget_remaining:
9996
+ $ref: '#/components/schemas/SLORawErrorBudgetRemaining'
9997
+ sli:
9998
+ description: The current service level indicator (SLI) of the SLO, also
9999
+ known as 'status'. This is a percentage value from 0-100 (inclusive).
10000
+ example: 100
10001
+ format: double
10002
+ nullable: true
10003
+ type: number
10004
+ span_precision:
10005
+ description: The number of decimal places the SLI value is accurate to.
10006
+ example: 2
10007
+ format: int64
10008
+ nullable: true
10009
+ type: integer
10010
+ state:
10011
+ $ref: '#/components/schemas/SLOState'
10012
+ type: object
9918
10013
  SLOThreshold:
9919
10014
  description: SLO thresholds (target and optionally warning) for a single time
9920
10015
  window.
@@ -10547,6 +10642,8 @@ components:
10547
10642
  type: array
10548
10643
  slo_type:
10549
10644
  $ref: '#/components/schemas/SLOType'
10645
+ status:
10646
+ $ref: '#/components/schemas/SLOStatus'
10550
10647
  team_tags:
10551
10648
  description: Tags with the `team` tag key.
10552
10649
  items:
@@ -15138,52 +15235,42 @@ components:
15138
15235
  type: number
15139
15236
  estimated_indexed_logs_percentage:
15140
15237
  description: The percentage of estimated live indexed logs usage by tag(s).
15141
- Note this field is in private beta.
15142
15238
  format: double
15143
15239
  type: number
15144
15240
  estimated_indexed_logs_usage:
15145
- description: The estimated live indexed logs usage by tag(s). Note this
15146
- field is in private beta.
15241
+ description: The estimated live indexed logs usage by tag(s).
15147
15242
  format: double
15148
15243
  type: number
15149
15244
  estimated_indexed_spans_percentage:
15150
15245
  description: The percentage of estimated indexed spans usage by tag(s).
15151
- Note this field is in private beta.
15152
15246
  format: double
15153
15247
  type: number
15154
15248
  estimated_indexed_spans_usage:
15155
- description: The estimated indexed spans usage by tag(s). Note this field
15156
- is in private beta.
15249
+ description: The estimated indexed spans usage by tag(s).
15157
15250
  format: double
15158
15251
  type: number
15159
15252
  estimated_ingested_logs_percentage:
15160
15253
  description: The percentage of estimated live ingested logs usage by tag(s).
15161
- Note this field is in private beta.
15162
15254
  format: double
15163
15255
  type: number
15164
15256
  estimated_ingested_logs_usage:
15165
- description: The estimated live ingested logs usage by tag(s). Note this
15166
- field is in private beta.
15257
+ description: The estimated live ingested logs usage by tag(s).
15167
15258
  format: double
15168
15259
  type: number
15169
15260
  estimated_ingested_spans_percentage:
15170
15261
  description: The percentage of estimated ingested spans usage by tag(s).
15171
- Note this field is in private beta.
15172
15262
  format: double
15173
15263
  type: number
15174
15264
  estimated_ingested_spans_usage:
15175
- description: The estimated ingested spans usage by tag(s). Note this field
15176
- is in private beta.
15265
+ description: The estimated ingested spans usage by tag(s).
15177
15266
  format: double
15178
15267
  type: number
15179
15268
  estimated_rum_sessions_percentage:
15180
- description: The percentage of estimated rum sessions usage by tag(s). This
15181
- field is in private beta.
15269
+ description: The percentage of estimated rum sessions usage by tag(s).
15182
15270
  format: double
15183
15271
  type: number
15184
15272
  estimated_rum_sessions_usage:
15185
- description: The estimated rum sessions usage by tag(s). This field is in
15186
- private beta.
15273
+ description: The estimated rum sessions usage by tag(s).
15187
15274
  format: double
15188
15275
  type: number
15189
15276
  infra_host_percentage:
@@ -16363,6 +16450,12 @@ components:
16363
16450
  format: int64
16364
16451
  nullable: true
16365
16452
  type: integer
16453
+ session_count_flutter:
16454
+ description: Contains the number of mobile RUM Sessions on Flutter (data
16455
+ available beginning March 1, 2023).
16456
+ format: int64
16457
+ nullable: true
16458
+ type: integer
16366
16459
  session_count_ios:
16367
16460
  description: Contains the number of mobile RUM Sessions on iOS (data available
16368
16461
  beginning December 1, 2020).
@@ -16621,6 +16714,11 @@ components:
16621
16714
  the current date for all organizations.
16622
16715
  format: int64
16623
16716
  type: integer
16717
+ audit_trail_enabled_hwm:
16718
+ description: Shows the number of organizations that had Audit Trail enabled
16719
+ in the current date.
16720
+ format: int64
16721
+ type: integer
16624
16722
  avg_profiled_fargate_tasks:
16625
16723
  description: The average profiled task count for Fargate Profiling.
16626
16724
  format: int64
@@ -16685,11 +16783,21 @@ components:
16685
16783
  over all hours in the current month for all organizations.
16686
16784
  format: int64
16687
16785
  type: integer
16786
+ cloud_cost_management_host_count_avg:
16787
+ description: Host count average of Cloud Cost Management for the given date
16788
+ and given organization.
16789
+ format: int64
16790
+ type: integer
16688
16791
  container_avg:
16689
16792
  description: Shows the average of all distinct containers over all hours
16690
16793
  in the current date for all organizations.
16691
16794
  format: int64
16692
16795
  type: integer
16796
+ container_excl_agent_avg:
16797
+ description: Shows the average of containers without the Datadog Agent over
16798
+ all hours in the current date for all organizations.
16799
+ format: int64
16800
+ type: integer
16693
16801
  container_hwm:
16694
16802
  description: Shows the high-water mark of all distinct containers over all
16695
16803
  hours in the current date for all organizations.
@@ -16819,6 +16927,11 @@ components:
16819
16927
  hours in the current date for all organizations.
16820
16928
  format: int64
16821
16929
  type: integer
16930
+ mobile_rum_session_count_flutter_sum:
16931
+ description: Shows the sum of all mobile RUM Sessions on Flutter over all
16932
+ hours in the current date for all organizations.
16933
+ format: int64
16934
+ type: integer
16822
16935
  mobile_rum_session_count_ios_sum:
16823
16936
  description: Shows the sum of all mobile RUM Sessions on iOS over all hours
16824
16937
  in the current date for all organizations.
@@ -16992,6 +17105,11 @@ components:
16992
17105
  in the current date for the given org.
16993
17106
  format: int64
16994
17107
  type: integer
17108
+ audit_trail_enabled_hwm:
17109
+ description: Shows whether Audit Trail is enabled for the current date for
17110
+ the given org.
17111
+ format: int64
17112
+ type: integer
16995
17113
  avg_profiled_fargate_tasks:
16996
17114
  description: The average profiled task count for Fargate Profiling.
16997
17115
  format: int64
@@ -17056,11 +17174,21 @@ components:
17056
17174
  over all hours in the current date for the given org.
17057
17175
  format: int64
17058
17176
  type: integer
17177
+ cloud_cost_management_host_count_avg:
17178
+ description: Host count average of Cloud Cost Management for the given date
17179
+ and given org.
17180
+ format: int64
17181
+ type: integer
17059
17182
  container_avg:
17060
17183
  description: Shows the average of all distinct containers over all hours
17061
17184
  in the current date for the given org.
17062
17185
  format: int64
17063
17186
  type: integer
17187
+ container_excl_agent_avg:
17188
+ description: Shows the average of containers without the Datadog Agent over
17189
+ all hours in the current date for the given organization.
17190
+ format: int64
17191
+ type: integer
17064
17192
  container_hwm:
17065
17193
  description: Shows the high-water mark of all distinct containers over all
17066
17194
  hours in the current date for the given org.
@@ -17189,6 +17317,11 @@ components:
17189
17317
  hours in the current date for the given org.
17190
17318
  format: int64
17191
17319
  type: integer
17320
+ mobile_rum_session_count_flutter_sum:
17321
+ description: Shows the sum of all mobile RUM Sessions on Flutter over all
17322
+ hours in the current date for the given org.
17323
+ format: int64
17324
+ type: integer
17192
17325
  mobile_rum_session_count_ios_sum:
17193
17326
  description: Shows the sum of all mobile RUM Sessions on iOS over all hours
17194
17327
  in the current date for the given org.
@@ -17366,6 +17499,11 @@ components:
17366
17499
  in the current months for all organizations.
17367
17500
  format: int64
17368
17501
  type: integer
17502
+ audit_trail_enabled_hwm_sum:
17503
+ description: Shows the total number of organizations that had Audit Trail
17504
+ enabled over a specific number of months.
17505
+ format: int64
17506
+ type: integer
17369
17507
  avg_profiled_fargate_tasks_sum:
17370
17508
  description: Shows the average of all profiled Fargate tasks over all hours
17371
17509
  in the current months for all organizations.
@@ -17436,11 +17574,20 @@ components:
17436
17574
  over all hours in the current months for all organizations.
17437
17575
  format: int64
17438
17576
  type: integer
17577
+ cloud_cost_management_host_count_avg_sum:
17578
+ description: Sum of the host count average for Cloud Cost Management.
17579
+ format: int64
17580
+ type: integer
17439
17581
  container_avg_sum:
17440
17582
  description: Shows the average of all distinct containers over all hours
17441
17583
  in the current months for all organizations.
17442
17584
  format: int64
17443
17585
  type: integer
17586
+ container_excl_agent_avg_sum:
17587
+ description: Shows the average of the containers without the Datadog Agent
17588
+ over all hours in the current month for all organizations.
17589
+ format: int64
17590
+ type: integer
17444
17591
  container_hwm_sum:
17445
17592
  description: Shows the sum of the high-water marks of all distinct containers
17446
17593
  over all hours in the current months for all organizations.
@@ -17597,6 +17744,11 @@ components:
17597
17744
  hours in the current months for all organizations.
17598
17745
  format: int64
17599
17746
  type: integer
17747
+ mobile_rum_session_count_flutter_agg_sum:
17748
+ description: Shows the sum of all mobile RUM Sessions on Flutter over all
17749
+ hours in the current months for all organizations.
17750
+ format: int64
17751
+ type: integer
17600
17752
  mobile_rum_session_count_ios_agg_sum:
17601
17753
  description: Shows the sum of all mobile RUM Sessions on iOS over all hours
17602
17754
  in the current months for all organizations.
@@ -20627,14 +20779,14 @@ paths:
20627
20779
  name: metric_query
20628
20780
  schema:
20629
20781
  type: string
20630
- - description: The POSIX timestamp of the start of the query.
20782
+ - description: The POSIX timestamp of the start of the query in seconds.
20631
20783
  in: query
20632
20784
  name: start
20633
20785
  required: true
20634
20786
  schema:
20635
20787
  format: int64
20636
20788
  type: integer
20637
- - description: The POSIX timestamp of the end of the query.
20789
+ - description: The POSIX timestamp of the end of the query in seconds.
20638
20790
  in: query
20639
20791
  name: end
20640
20792
  required: true
@@ -25853,9 +26005,6 @@ paths:
25853
26005
  summary: Search for SLOs
25854
26006
  tags:
25855
26007
  - Service Level Objectives
25856
- x-unstable: '**Note**: This endpoint is in public beta.
25857
-
25858
- If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
25859
26008
  /api/v1/slo/{slo_id}:
25860
26009
  delete:
25861
26010
  description: 'Permanently delete the specified service level objective object.