diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 692ab25bd41d..42276a3346a0 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -204222,7 +204222,7 @@ paths: permissions: - metrics_read x-unstable: |- - **Note**: The Tag Indexing Rules feature is currently in Preview. + **Note**: This endpoint is in preview and is subject to change. If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/metrics/tag-indexing-rules: get: @@ -204300,9 +204300,6 @@ paths: operator: OR permissions: - metrics_read - x-unstable: |- - **Note**: The Tag Indexing Rules feature is currently in Preview. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: description: |- Create a tag indexing rule for the org. `rule_order` is assigned server-side as max+1 @@ -204381,9 +204378,6 @@ paths: operator: OR permissions: - metric_tags_write - x-unstable: |- - **Note**: The Tag Indexing Rules feature is currently in Preview. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/metrics/tag-indexing-rules/order: post: description: |- @@ -204447,9 +204441,6 @@ paths: operator: OR permissions: - metric_tags_write - x-unstable: |- - **Note**: The Tag Indexing Rules feature is currently in Preview. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/metrics/tag-indexing-rules/{id}: delete: description: |- @@ -204492,9 +204483,6 @@ paths: operator: OR permissions: - metric_tags_write - x-unstable: |- - **Note**: The Tag Indexing Rules feature is currently in Preview. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). get: description: Get a single tag indexing rule by its UUID. operationId: GetTagIndexingRule @@ -204559,9 +204547,6 @@ paths: operator: OR permissions: - metrics_read - x-unstable: |- - **Note**: The Tag Indexing Rules feature is currently in Preview. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). put: description: |- Partially update a tag indexing rule. Fields omitted from the request body are left unchanged. @@ -204653,9 +204638,6 @@ paths: operator: OR permissions: - metric_tags_write - x-unstable: |- - **Note**: The Tag Indexing Rules feature is currently in Preview. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/metrics/{metric_name}/active-configurations: get: description: |- @@ -205121,7 +205103,7 @@ paths: permissions: - metric_tags_write x-unstable: |- - **Note**: The Tag Indexing Rules feature is currently in Preview. + **Note**: This endpoint is in preview and is subject to change. If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). get: description: |- @@ -205191,7 +205173,7 @@ paths: permissions: - metrics_read x-unstable: |- - **Note**: The Tag Indexing Rules feature is currently in Preview. + **Note**: This endpoint is in preview and is subject to change. If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: description: |- @@ -205266,7 +205248,7 @@ paths: permissions: - metric_tags_write x-unstable: |- - **Note**: The Tag Indexing Rules feature is currently in Preview. + **Note**: This endpoint is in preview and is subject to change. If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). put: description: |- @@ -205348,7 +205330,7 @@ paths: permissions: - metric_tags_write x-unstable: |- - **Note**: The Tag Indexing Rules feature is currently in Preview. + **Note**: This endpoint is in preview and is subject to change. If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/metrics/{metric_name}/tag-indexing-rules: get: @@ -205401,9 +205383,6 @@ paths: operator: OR permissions: - metrics_read - x-unstable: |- - **Note**: The Tag Indexing Rules feature is currently in Preview. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/metrics/{metric_name}/tags: delete: description: |- diff --git a/examples/v2/metrics/CreateTagIndexingRule.rb b/examples/v2/metrics/CreateTagIndexingRule.rb index 710e7f168d11..1d699a62e7d3 100644 --- a/examples/v2/metrics/CreateTagIndexingRule.rb +++ b/examples/v2/metrics/CreateTagIndexingRule.rb @@ -3,7 +3,6 @@ require "datadog_api_client" DatadogAPIClient.configure do |config| config.access_token = ENV["DD_BEARER_TOKEN"] - config.unstable_operations["v2.create_tag_indexing_rule".to_sym] = true end api_instance = DatadogAPIClient::V2::MetricsAPI.new diff --git a/examples/v2/metrics/CreateTagIndexingRule_2435129406.rb b/examples/v2/metrics/CreateTagIndexingRule_2435129406.rb index a7d953730af4..91d401dacf07 100644 --- a/examples/v2/metrics/CreateTagIndexingRule_2435129406.rb +++ b/examples/v2/metrics/CreateTagIndexingRule_2435129406.rb @@ -3,7 +3,6 @@ require "datadog_api_client" DatadogAPIClient.configure do |config| config.access_token = ENV["DD_BEARER_TOKEN"] - config.unstable_operations["v2.create_tag_indexing_rule".to_sym] = true end api_instance = DatadogAPIClient::V2::MetricsAPI.new diff --git a/examples/v2/metrics/DeleteTagIndexingRule.rb b/examples/v2/metrics/DeleteTagIndexingRule.rb index 2b882484a579..50fc9d68c1a4 100644 --- a/examples/v2/metrics/DeleteTagIndexingRule.rb +++ b/examples/v2/metrics/DeleteTagIndexingRule.rb @@ -3,7 +3,6 @@ require "datadog_api_client" DatadogAPIClient.configure do |config| config.access_token = ENV["DD_BEARER_TOKEN"] - config.unstable_operations["v2.delete_tag_indexing_rule".to_sym] = true end api_instance = DatadogAPIClient::V2::MetricsAPI.new diff --git a/examples/v2/metrics/GetTagIndexingRule.rb b/examples/v2/metrics/GetTagIndexingRule.rb index e0968190b10b..5eef47499c4f 100644 --- a/examples/v2/metrics/GetTagIndexingRule.rb +++ b/examples/v2/metrics/GetTagIndexingRule.rb @@ -3,7 +3,6 @@ require "datadog_api_client" DatadogAPIClient.configure do |config| config.access_token = ENV["DD_BEARER_TOKEN"] - config.unstable_operations["v2.get_tag_indexing_rule".to_sym] = true end api_instance = DatadogAPIClient::V2::MetricsAPI.new diff --git a/examples/v2/metrics/ListTagIndexingRules.rb b/examples/v2/metrics/ListTagIndexingRules.rb index 8b38ef7ffb31..06e2d5b8ad5c 100644 --- a/examples/v2/metrics/ListTagIndexingRules.rb +++ b/examples/v2/metrics/ListTagIndexingRules.rb @@ -3,7 +3,6 @@ require "datadog_api_client" DatadogAPIClient.configure do |config| config.access_token = ENV["DD_BEARER_TOKEN"] - config.unstable_operations["v2.list_tag_indexing_rules".to_sym] = true end api_instance = DatadogAPIClient::V2::MetricsAPI.new p api_instance.list_tag_indexing_rules() diff --git a/examples/v2/metrics/ListTagIndexingRulesForMetric.rb b/examples/v2/metrics/ListTagIndexingRulesForMetric.rb index 61fbea7468f4..038f1b3642ad 100644 --- a/examples/v2/metrics/ListTagIndexingRulesForMetric.rb +++ b/examples/v2/metrics/ListTagIndexingRulesForMetric.rb @@ -3,7 +3,6 @@ require "datadog_api_client" DatadogAPIClient.configure do |config| config.access_token = ENV["DD_BEARER_TOKEN"] - config.unstable_operations["v2.list_tag_indexing_rules_for_metric".to_sym] = true end api_instance = DatadogAPIClient::V2::MetricsAPI.new p api_instance.list_tag_indexing_rules_for_metric("ExampleMetric") diff --git a/examples/v2/metrics/ReorderTagIndexingRules.rb b/examples/v2/metrics/ReorderTagIndexingRules.rb index 03868665ff3e..394c4a7edcbf 100644 --- a/examples/v2/metrics/ReorderTagIndexingRules.rb +++ b/examples/v2/metrics/ReorderTagIndexingRules.rb @@ -3,7 +3,6 @@ require "datadog_api_client" DatadogAPIClient.configure do |config| config.access_token = ENV["DD_BEARER_TOKEN"] - config.unstable_operations["v2.reorder_tag_indexing_rules".to_sym] = true end api_instance = DatadogAPIClient::V2::MetricsAPI.new diff --git a/examples/v2/metrics/UpdateTagIndexingRule.rb b/examples/v2/metrics/UpdateTagIndexingRule.rb index 31e8e104a96a..5db8f0e938ba 100644 --- a/examples/v2/metrics/UpdateTagIndexingRule.rb +++ b/examples/v2/metrics/UpdateTagIndexingRule.rb @@ -3,7 +3,6 @@ require "datadog_api_client" DatadogAPIClient.configure do |config| config.access_token = ENV["DD_BEARER_TOKEN"] - config.unstable_operations["v2.update_tag_indexing_rule".to_sym] = true end api_instance = DatadogAPIClient::V2::MetricsAPI.new diff --git a/examples/v2/metrics/UpdateTagIndexingRule_4127399471.rb b/examples/v2/metrics/UpdateTagIndexingRule_4127399471.rb index 5266ed41fc46..59aa4e2f11af 100644 --- a/examples/v2/metrics/UpdateTagIndexingRule_4127399471.rb +++ b/examples/v2/metrics/UpdateTagIndexingRule_4127399471.rb @@ -3,7 +3,6 @@ require "datadog_api_client" DatadogAPIClient.configure do |config| config.access_token = ENV["DD_BEARER_TOKEN"] - config.unstable_operations["v2.update_tag_indexing_rule".to_sym] = true end api_instance = DatadogAPIClient::V2::MetricsAPI.new diff --git a/features/v2/metrics.feature b/features/v2/metrics.feature index c8810c750a04..2350a4b1c450 100644 --- a/features/v2/metrics.feature +++ b/features/v2/metrics.feature @@ -96,7 +96,6 @@ Feature: Metrics @team:ddoghq/metrics-experience Scenario: Create a tag indexing rule returns "Bad Request" response Given a valid "appKeyAuth" key in the system - And operation "CreateTagIndexingRule" enabled And new "CreateTagIndexingRule" request And body with value {"data": {"type": "tag_indexing_rules", "attributes": {"name": "test", "metric_name_matches": ["dd.test.*"], "options": {"version": 99, "data": {"override_previous_rules": false, "manage_preexisting_metrics": true}}}}} When the request is sent @@ -105,7 +104,6 @@ Feature: Metrics @team:ddoghq/metrics-experience Scenario: Create a tag indexing rule returns "Created" response Given a valid "appKeyAuth" key in the system - And operation "CreateTagIndexingRule" enabled And new "CreateTagIndexingRule" request And body with value {"data": {"attributes": {"exclude_tags_mode": false, "ignored_metric_name_matches": [], "metric_name_matches": ["dd.test.*"], "name": "my-indexing-rule", "options": {"data": {"dynamic_tags": {}, "manage_preexisting_metrics": true, "metric_match": {"queried_window_seconds": 3600}, "override_previous_rules": false}, "version": 1}, "tags": ["env", "service"]}, "type": "tag_indexing_rules"}} When the request is sent @@ -114,7 +112,6 @@ Feature: Metrics @team:ddoghq/metrics-experience Scenario: Create a tag indexing rule with exclude-mode tag usage fields returns "Created" response Given a valid "appKeyAuth" key in the system - And operation "CreateTagIndexingRule" enabled And new "CreateTagIndexingRule" request And body with value {"data": {"attributes": {"exclude_tags_mode": true, "ignored_metric_name_matches": [], "metric_name_matches": ["dd.test.*"], "name": "my-indexing-rule", "options": {"data": {"dynamic_tags": {"exclude_not_queried_window_seconds": 3600, "exclude_not_used_in_assets": true}, "manage_preexisting_metrics": true, "override_previous_rules": false}, "version": 1}, "tags": ["env", "service"]}, "type": "tag_indexing_rules"}} When the request is sent @@ -123,7 +120,6 @@ Feature: Metrics @team:ddoghq/metrics-experience Scenario: Create a tag indexing rule with exclude_not_queried_window_seconds and exclude_tags_mode false returns "Bad Request" response Given a valid "appKeyAuth" key in the system - And operation "CreateTagIndexingRule" enabled And new "CreateTagIndexingRule" request And body with value {"data": {"attributes": {"exclude_tags_mode": false, "ignored_metric_name_matches": [], "metric_name_matches": ["dd.test.*"], "name": "my-indexing-rule", "options": {"data": {"dynamic_tags": {"exclude_not_queried_window_seconds": 3600}, "manage_preexisting_metrics": true, "override_previous_rules": false}, "version": 1}, "tags": ["env", "service"]}, "type": "tag_indexing_rules"}} When the request is sent @@ -132,7 +128,6 @@ Feature: Metrics @skip @team:ddoghq/metrics-experience Scenario: Create a tag indexing rule with exclude_not_queried_window_seconds over the maximum returns "Bad Request" response Given a valid "appKeyAuth" key in the system - And operation "CreateTagIndexingRule" enabled And new "CreateTagIndexingRule" request And body with value {"data": {"attributes": {"exclude_tags_mode": true, "ignored_metric_name_matches": [], "metric_name_matches": ["dd.test.*"], "name": "my-indexing-rule", "options": {"data": {"dynamic_tags": {"exclude_not_queried_window_seconds": 7776001}, "manage_preexisting_metrics": true, "override_previous_rules": false}, "version": 1}, "tags": ["env", "service"]}, "type": "tag_indexing_rules"}} When the request is sent @@ -141,7 +136,6 @@ Feature: Metrics @team:ddoghq/metrics-experience Scenario: Create a tag indexing rule with exclude_not_used_in_assets and exclude_tags_mode false returns "Bad Request" response Given a valid "appKeyAuth" key in the system - And operation "CreateTagIndexingRule" enabled And new "CreateTagIndexingRule" request And body with value {"data": {"attributes": {"exclude_tags_mode": false, "ignored_metric_name_matches": [], "metric_name_matches": ["dd.test.*"], "name": "my-indexing-rule", "options": {"data": {"dynamic_tags": {"exclude_not_used_in_assets": true}, "manage_preexisting_metrics": true, "override_previous_rules": false}, "version": 1}, "tags": ["env", "service"]}, "type": "tag_indexing_rules"}} When the request is sent @@ -222,7 +216,6 @@ Feature: Metrics @team:ddoghq/metrics-experience Scenario: Delete a tag indexing rule returns "Bad Request" response Given a valid "appKeyAuth" key in the system - And operation "DeleteTagIndexingRule" enabled And new "DeleteTagIndexingRule" request And request contains "id" parameter with value "not-a-valid-uuid" When the request is sent @@ -231,7 +224,6 @@ Feature: Metrics @team:ddoghq/metrics-experience Scenario: Delete a tag indexing rule returns "No Content" response Given a valid "appKeyAuth" key in the system - And operation "DeleteTagIndexingRule" enabled And there is a valid "tag_indexing_rule" in the system And new "DeleteTagIndexingRule" request And request contains "id" parameter from "tag_indexing_rule.data.id" @@ -412,7 +404,6 @@ Feature: Metrics @team:ddoghq/metrics-experience Scenario: Get a tag indexing rule returns "Bad Request" response Given a valid "appKeyAuth" key in the system - And operation "GetTagIndexingRule" enabled And new "GetTagIndexingRule" request And request contains "id" parameter with value "not-a-valid-uuid" When the request is sent @@ -421,7 +412,6 @@ Feature: Metrics @team:ddoghq/metrics-experience Scenario: Get a tag indexing rule returns "Not Found" response Given a valid "appKeyAuth" key in the system - And operation "GetTagIndexingRule" enabled And new "GetTagIndexingRule" request And request contains "id" parameter with value "00000000-0000-0000-0000-000000000000" When the request is sent @@ -430,7 +420,6 @@ Feature: Metrics @team:ddoghq/metrics-experience Scenario: Get a tag indexing rule returns "OK" response Given a valid "appKeyAuth" key in the system - And operation "GetTagIndexingRule" enabled And there is a valid "tag_indexing_rule" in the system And new "GetTagIndexingRule" request And request contains "id" parameter from "tag_indexing_rule.data.id" @@ -561,7 +550,6 @@ Feature: Metrics @team:ddoghq/metrics-experience Scenario: List tag indexing rules for a metric returns "Bad Request" response Given a valid "appKeyAuth" key in the system - And operation "ListTagIndexingRulesForMetric" enabled And new "ListTagIndexingRulesForMetric" request And request contains "metric_name" parameter with value "1invalid" When the request is sent @@ -570,7 +558,6 @@ Feature: Metrics @team:ddoghq/metrics-experience Scenario: List tag indexing rules for a metric returns "OK" response Given a valid "appKeyAuth" key in the system - And operation "ListTagIndexingRulesForMetric" enabled And new "ListTagIndexingRulesForMetric" request And request contains "metric_name" parameter with value "{{ unique_alnum }}" When the request is sent @@ -579,7 +566,6 @@ Feature: Metrics @generated @skip @team:ddoghq/metrics-experience Scenario: List tag indexing rules returns "Bad Request" response Given a valid "appKeyAuth" key in the system - And operation "ListTagIndexingRules" enabled And new "ListTagIndexingRules" request When the request is sent Then the response status is 400 Bad Request @@ -587,7 +573,6 @@ Feature: Metrics @team:ddoghq/metrics-experience Scenario: List tag indexing rules returns "OK" response Given a valid "appKeyAuth" key in the system - And operation "ListTagIndexingRules" enabled And new "ListTagIndexingRules" request When the request is sent Then the response status is 200 OK @@ -672,7 +657,6 @@ Feature: Metrics @team:ddoghq/metrics-experience Scenario: Reorder tag indexing rules returns "Bad Request" response Given a valid "appKeyAuth" key in the system - And operation "ReorderTagIndexingRules" enabled And new "ReorderTagIndexingRules" request And body with value {"data": {"attributes": {"rule_ids": []}, "type": "tag_indexing_rules"}} When the request is sent @@ -681,7 +665,6 @@ Feature: Metrics @skip-terraform-config @team:ddoghq/metrics-experience Scenario: Reorder tag indexing rules returns "No Content" response Given a valid "appKeyAuth" key in the system - And operation "ReorderTagIndexingRules" enabled And there is a valid "tag_indexing_rule" in the system And new "ReorderTagIndexingRules" request And body with value {"data": {"attributes": {"rule_ids": ["{{ tag_indexing_rule.data.id }}"]}, "type": "tag_indexing_rules"}} @@ -691,7 +674,6 @@ Feature: Metrics @team:ddoghq/metrics-experience Scenario: Reorder tag indexing rules returns "Not Found" response Given a valid "appKeyAuth" key in the system - And operation "ReorderTagIndexingRules" enabled And new "ReorderTagIndexingRules" request And body with value {"data": {"attributes": {"rule_ids": ["00000000-0000-0000-0000-000000000001", "00000000-0000-0000-0000-000000000002"]}, "type": "tag_indexing_rules"}} When the request is sent @@ -1236,7 +1218,6 @@ Feature: Metrics @team:ddoghq/metrics-experience Scenario: Update a tag indexing rule returns "Bad Request" response Given a valid "appKeyAuth" key in the system - And operation "UpdateTagIndexingRule" enabled And new "UpdateTagIndexingRule" request And request contains "id" parameter with value "not-a-valid-uuid" And body with value {"data": {"attributes": {"ignored_metric_name_matches": [], "metric_name_matches": ["dd.test.*"], "name": "my-indexing-rule", "options": {"data": {"dynamic_tags": {}, "manage_preexisting_metrics": true, "metric_match": {"queried_window_seconds": 3600}, "override_previous_rules": false}, "version": 1}, "rule_order": 2, "tags": ["env", "service"]}, "type": "tag_indexing_rules"}} @@ -1246,7 +1227,6 @@ Feature: Metrics @generated @skip @team:ddoghq/metrics-experience Scenario: Update a tag indexing rule returns "Conflict" response Given a valid "appKeyAuth" key in the system - And operation "UpdateTagIndexingRule" enabled And new "UpdateTagIndexingRule" request And request contains "id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"ignored_metric_name_matches": [], "metric_name_matches": ["dd.test.*"], "name": "my-indexing-rule", "options": {"data": {"dynamic_tags": {"exclude_not_queried_window_seconds": 3600, "exclude_not_used_in_assets": false}, "manage_preexisting_metrics": true, "metric_match": {"queried_window_seconds": 3600}, "override_previous_rules": false}, "version": 1}, "rule_order": 2, "tags": ["env", "service"]}, "type": "tag_indexing_rules"}} @@ -1256,7 +1236,6 @@ Feature: Metrics @team:ddoghq/metrics-experience Scenario: Update a tag indexing rule returns "Not Found" response Given a valid "appKeyAuth" key in the system - And operation "UpdateTagIndexingRule" enabled And new "UpdateTagIndexingRule" request And request contains "id" parameter with value "00000000-0000-0000-0000-000000000000" And body with value {"data": {"attributes": {"ignored_metric_name_matches": [], "metric_name_matches": ["dd.test.*"], "name": "my-indexing-rule", "options": {"data": {"dynamic_tags": {}, "manage_preexisting_metrics": true, "metric_match": {"queried_window_seconds": 3600}, "override_previous_rules": false}, "version": 1}, "rule_order": 2, "tags": ["env", "service"]}, "type": "tag_indexing_rules"}} @@ -1266,7 +1245,6 @@ Feature: Metrics @team:ddoghq/metrics-experience Scenario: Update a tag indexing rule returns "OK" response Given a valid "appKeyAuth" key in the system - And operation "UpdateTagIndexingRule" enabled And there is a valid "tag_indexing_rule" in the system And new "UpdateTagIndexingRule" request And request contains "id" parameter from "tag_indexing_rule.data.id" @@ -1277,7 +1255,6 @@ Feature: Metrics @team:ddoghq/metrics-experience Scenario: Update a tag indexing rule with exclude-mode tag usage fields returns "OK" response Given a valid "appKeyAuth" key in the system - And operation "UpdateTagIndexingRule" enabled And there is a valid "tag_indexing_rule_exclude_mode" in the system And new "UpdateTagIndexingRule" request And request contains "id" parameter from "tag_indexing_rule_exclude_mode.data.id" diff --git a/lib/datadog_api_client/configuration.rb b/lib/datadog_api_client/configuration.rb index b125524e4118..fb3c7246805b 100644 --- a/lib/datadog_api_client/configuration.rb +++ b/lib/datadog_api_client/configuration.rb @@ -665,19 +665,12 @@ def initialize "v2.replace_restriction_query": false, "v2.update_restriction_query": false, "v2.create_historical_metrics_configuration": false, - "v2.create_tag_indexing_rule": false, "v2.create_tag_indexing_rule_exemption": false, "v2.delete_historical_metrics_configuration": false, - "v2.delete_tag_indexing_rule": false, "v2.delete_tag_indexing_rule_exemption": false, "v2.get_historical_metrics_configuration": false, - "v2.get_tag_indexing_rule": false, "v2.get_tag_indexing_rule_exemption": false, "v2.list_tag_indexing_rule_exemptions": false, - "v2.list_tag_indexing_rules": false, - "v2.list_tag_indexing_rules_for_metric": false, - "v2.reorder_tag_indexing_rules": false, - "v2.update_tag_indexing_rule": false, "v2.update_tag_indexing_rule_exemption": false, "v2.delete_model_lab_run": false, "v2.get_model_lab_artifact_content": false, diff --git a/lib/datadog_api_client/v2/api/metrics_api.rb b/lib/datadog_api_client/v2/api/metrics_api.rb index 8b5d88105f3d..5e472fc57806 100644 --- a/lib/datadog_api_client/v2/api/metrics_api.rb +++ b/lib/datadog_api_client/v2/api/metrics_api.rb @@ -262,12 +262,6 @@ def create_tag_indexing_rule(body, opts = {}) # @param opts [Hash] the optional parameters # @return [Array<(TagIndexingRuleResponse, Integer, Hash)>] TagIndexingRuleResponse data, response status code and response headers def create_tag_indexing_rule_with_http_info(body, opts = {}) - unstable_enabled = @api_client.config.unstable_operations["v2.create_tag_indexing_rule".to_sym] - if unstable_enabled - @api_client.config.logger.warn format("Using unstable operation '%s'", "v2.create_tag_indexing_rule") - else - raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.create_tag_indexing_rule")) - end if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: MetricsAPI.create_tag_indexing_rule ...' @@ -622,12 +616,6 @@ def delete_tag_indexing_rule(id, opts = {}) # @param opts [Hash] the optional parameters # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers def delete_tag_indexing_rule_with_http_info(id, opts = {}) - unstable_enabled = @api_client.config.unstable_operations["v2.delete_tag_indexing_rule".to_sym] - if unstable_enabled - @api_client.config.logger.warn format("Using unstable operation '%s'", "v2.delete_tag_indexing_rule") - else - raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.delete_tag_indexing_rule")) - end if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: MetricsAPI.delete_tag_indexing_rule ...' @@ -1058,12 +1046,6 @@ def get_tag_indexing_rule(id, opts = {}) # @param opts [Hash] the optional parameters # @return [Array<(TagIndexingRuleResponse, Integer, Hash)>] TagIndexingRuleResponse data, response status code and response headers def get_tag_indexing_rule_with_http_info(id, opts = {}) - unstable_enabled = @api_client.config.unstable_operations["v2.get_tag_indexing_rule".to_sym] - if unstable_enabled - @api_client.config.logger.warn format("Using unstable operation '%s'", "v2.get_tag_indexing_rule") - else - raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.get_tag_indexing_rule")) - end if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: MetricsAPI.get_tag_indexing_rule ...' @@ -1650,12 +1632,6 @@ def list_tag_indexing_rules(opts = {}) # @option opts [String] :search Substring filter on rule name. # @return [Array<(TagIndexingRulesResponse, Integer, Hash)>] TagIndexingRulesResponse data, response status code and response headers def list_tag_indexing_rules_with_http_info(opts = {}) - unstable_enabled = @api_client.config.unstable_operations["v2.list_tag_indexing_rules".to_sym] - if unstable_enabled - @api_client.config.logger.warn format("Using unstable operation '%s'", "v2.list_tag_indexing_rules") - else - raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.list_tag_indexing_rules")) - end if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: MetricsAPI.list_tag_indexing_rules ...' @@ -1721,12 +1697,6 @@ def list_tag_indexing_rules_for_metric(metric_name, opts = {}) # @param opts [Hash] the optional parameters # @return [Array<(TagIndexingRulesResponse, Integer, Hash)>] TagIndexingRulesResponse data, response status code and response headers def list_tag_indexing_rules_for_metric_with_http_info(metric_name, opts = {}) - unstable_enabled = @api_client.config.unstable_operations["v2.list_tag_indexing_rules_for_metric".to_sym] - if unstable_enabled - @api_client.config.logger.warn format("Using unstable operation '%s'", "v2.list_tag_indexing_rules_for_metric") - else - raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.list_tag_indexing_rules_for_metric")) - end if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: MetricsAPI.list_tag_indexing_rules_for_metric ...' @@ -2087,12 +2057,6 @@ def reorder_tag_indexing_rules(body, opts = {}) # @param opts [Hash] the optional parameters # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers def reorder_tag_indexing_rules_with_http_info(body, opts = {}) - unstable_enabled = @api_client.config.unstable_operations["v2.reorder_tag_indexing_rules".to_sym] - if unstable_enabled - @api_client.config.logger.warn format("Using unstable operation '%s'", "v2.reorder_tag_indexing_rules") - else - raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.reorder_tag_indexing_rules")) - end if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: MetricsAPI.reorder_tag_indexing_rules ...' @@ -2396,12 +2360,6 @@ def update_tag_indexing_rule(id, body, opts = {}) # @param opts [Hash] the optional parameters # @return [Array<(TagIndexingRuleResponse, Integer, Hash)>] TagIndexingRuleResponse data, response status code and response headers def update_tag_indexing_rule_with_http_info(id, body, opts = {}) - unstable_enabled = @api_client.config.unstable_operations["v2.update_tag_indexing_rule".to_sym] - if unstable_enabled - @api_client.config.logger.warn format("Using unstable operation '%s'", "v2.update_tag_indexing_rule") - else - raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.update_tag_indexing_rule")) - end if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: MetricsAPI.update_tag_indexing_rule ...'