@@ -71,6 +71,7 @@ Feature: Metrics
7171 @generated @skip @team:DataDog/metrics-experience
7272 Scenario : Create a tag indexing rule exemption returns "Bad Request" response
7373 Given a valid "appKeyAuth" key in the system
74+ And operation "CreateTagIndexingRuleExemption" enabled
7475 And new "CreateTagIndexingRuleExemption" request
7576 And request contains "metric_name" parameter from "REPLACE.ME"
7677 And body with value {"data" : {"attributes" : {"reason" : "This metric has a pre-existing tag configuration." }, "type" : "tag_indexing_rule_exemptions" }}
@@ -80,6 +81,7 @@ Feature: Metrics
8081 @generated @skip @team:DataDog/metrics-experience
8182 Scenario : Create a tag indexing rule exemption returns "Created" response
8283 Given a valid "appKeyAuth" key in the system
84+ And operation "CreateTagIndexingRuleExemption" enabled
8385 And new "CreateTagIndexingRuleExemption" request
8486 And request contains "metric_name" parameter from "REPLACE.ME"
8587 And body with value {"data" : {"attributes" : {"reason" : "This metric has a pre-existing tag configuration." }, "type" : "tag_indexing_rule_exemptions" }}
@@ -123,6 +125,7 @@ Feature: Metrics
123125 @generated @skip @team:DataDog/metrics-experience
124126 Scenario : Delete a tag indexing rule exemption returns "Bad Request" response
125127 Given a valid "appKeyAuth" key in the system
128+ And operation "DeleteTagIndexingRuleExemption" enabled
126129 And new "DeleteTagIndexingRuleExemption" request
127130 And request contains "metric_name" parameter from "REPLACE.ME"
128131 When the request is sent
@@ -131,6 +134,7 @@ Feature: Metrics
131134 @generated @skip @team:DataDog/metrics-experience
132135 Scenario : Delete a tag indexing rule exemption returns "No Content" response
133136 Given a valid "appKeyAuth" key in the system
137+ And operation "DeleteTagIndexingRuleExemption" enabled
134138 And new "DeleteTagIndexingRuleExemption" request
135139 And request contains "metric_name" parameter from "REPLACE.ME"
136140 When the request is sent
@@ -222,6 +226,7 @@ Feature: Metrics
222226 @generated @skip @team:DataDog/metrics-experience
223227 Scenario : Get a tag indexing rule exemption returns "Bad Request" response
224228 Given a valid "appKeyAuth" key in the system
229+ And operation "GetTagIndexingRuleExemption" enabled
225230 And new "GetTagIndexingRuleExemption" request
226231 And request contains "metric_name" parameter from "REPLACE.ME"
227232 When the request is sent
@@ -230,6 +235,7 @@ Feature: Metrics
230235 @generated @skip @team:DataDog/metrics-experience
231236 Scenario : Get a tag indexing rule exemption returns "Not Found" response
232237 Given a valid "appKeyAuth" key in the system
238+ And operation "GetTagIndexingRuleExemption" enabled
233239 And new "GetTagIndexingRuleExemption" request
234240 And request contains "metric_name" parameter from "REPLACE.ME"
235241 When the request is sent
@@ -238,6 +244,7 @@ Feature: Metrics
238244 @generated @skip @team:DataDog/metrics-experience
239245 Scenario : Get a tag indexing rule exemption returns "OK" response
240246 Given a valid "appKeyAuth" key in the system
247+ And operation "GetTagIndexingRuleExemption" enabled
241248 And new "GetTagIndexingRuleExemption" request
242249 And request contains "metric_name" parameter from "REPLACE.ME"
243250 When the request is sent
@@ -384,6 +391,7 @@ Feature: Metrics
384391 @generated @skip @team:DataDog/metrics-experience
385392 Scenario : List tag indexing rules returns "Bad Request" response
386393 Given a valid "appKeyAuth" key in the system
394+ And operation "ListTagIndexingRules" enabled
387395 And new "ListTagIndexingRules" request
388396 When the request is sent
389397 Then the response status is 400 Bad Request
@@ -970,6 +978,7 @@ Feature: Metrics
970978 @generated @skip @team:DataDog/metrics-experience
971979 Scenario : Update a tag indexing rule returns "Conflict" response
972980 Given a valid "appKeyAuth" key in the system
981+ And operation "UpdateTagIndexingRule" enabled
973982 And new "UpdateTagIndexingRule" request
974983 And request contains "id" parameter from "REPLACE.ME"
975984 And body with value {"data" : {"attributes" : {"ignored_metric_name_matches" : [], "metric_name_matches" : ["dd.test.*" ], "name" : "my-indexing-rule" , "options" : {"data" : {"dynamic_tags" : {"queried_tags_window_seconds" : 3600, "related_asset_tags" : 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" }}
0 commit comments