You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: features/v2/metrics.feature
-14Lines changed: 0 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,6 @@ Feature: Metrics
41
41
@generated@skip@team:DataDog/points-aggregation
42
42
Scenario: Create a tag configuration returns "Bad Request" response
43
43
Given a valid "appKeyAuth" key in the system
44
-
And operation "CreateTagConfiguration" enabled
45
44
And new "CreateTagConfiguration" request
46
45
And request contains "metric_name" parameter from "REPLACE.ME"
47
46
And body with value {"data": {"attributes": {"include_percentiles": false, "metric_type": "distribution", "tags": ["app", "datacenter"]}, "id": "http.endpoint.request", "type": "manage_tags"}}
@@ -51,7 +50,6 @@ Feature: Metrics
51
50
@generated@skip@team:DataDog/points-aggregation
52
51
Scenario: Create a tag configuration returns "Conflict" response
53
52
Given a valid "appKeyAuth" key in the system
54
-
And operation "CreateTagConfiguration" enabled
55
53
And new "CreateTagConfiguration" request
56
54
And request contains "metric_name" parameter from "REPLACE.ME"
57
55
And body with value {"data": {"attributes": {"include_percentiles": false, "metric_type": "distribution", "tags": ["app", "datacenter"]}, "id": "http.endpoint.request", "type": "manage_tags"}}
@@ -61,7 +59,6 @@ Feature: Metrics
61
59
@replay-only@team:DataDog/points-aggregation
62
60
Scenario: Create a tag configuration returns "Created" response
63
61
Given a valid "appKeyAuth" key in the system
64
-
And operation "CreateTagConfiguration" enabled
65
62
And new "CreateTagConfiguration" request
66
63
And there is a valid "metric" in the system
67
64
And request contains "metric_name" parameter with value "{{ unique_alnum }}"
@@ -74,7 +71,6 @@ Feature: Metrics
74
71
Given there is a valid "metric" in the system
75
72
And there is a valid "metric_tag_configuration" in the system
76
73
And a valid "appKeyAuth" key in the system
77
-
And operation "DeleteTagConfiguration" enabled
78
74
And new "DeleteTagConfiguration" request
79
75
And request contains "metric_name" parameter with value "{{ unique_alnum }}"
80
76
When the request is sent
@@ -83,7 +79,6 @@ Feature: Metrics
83
79
@generated@skip@team:DataDog/points-aggregation
84
80
Scenario: Delete a tag configuration returns "Not found" response
85
81
Given a valid "appKeyAuth" key in the system
86
-
And operation "DeleteTagConfiguration" enabled
87
82
And new "DeleteTagConfiguration" request
88
83
And request contains "metric_name" parameter from "REPLACE.ME"
89
84
When the request is sent
@@ -119,7 +114,6 @@ Feature: Metrics
119
114
@generated@skip@team:DataDog/points-aggregation
120
115
Scenario: List tag configuration by name returns "Not Found" response
121
116
Given a valid "appKeyAuth" key in the system
122
-
And operation "ListTagConfigurationByName" enabled
123
117
And new "ListTagConfigurationByName" request
124
118
And request contains "metric_name" parameter from "REPLACE.ME"
125
119
When the request is sent
@@ -130,7 +124,6 @@ Feature: Metrics
130
124
Given a valid "appKeyAuth" key in the system
131
125
And there is a valid "metric" in the system
132
126
And there is a valid "metric_tag_configuration" in the system
133
-
And operation "ListTagConfigurationByName" enabled
134
127
And new "ListTagConfigurationByName" request
135
128
And request contains "metric_name" parameter from "metric_tag_configuration.data.id"
136
129
When the request is sent
@@ -140,7 +133,6 @@ Feature: Metrics
140
133
@generated@skip@team:DataDog/points-aggregation
141
134
Scenario: List tag configurations returns "Bad Request" response
142
135
Given a valid "appKeyAuth" key in the system
143
-
And operation "ListTagConfigurations" enabled
144
136
And new "ListTagConfigurations" request
145
137
When the request is sent
146
138
Then the response status is 400 Bad Request
@@ -149,15 +141,13 @@ Feature: Metrics
149
141
Scenario: List tag configurations returns "Success" response
150
142
Given a valid "appKeyAuth" key in the system
151
143
And there is a valid "metric_tag_configuration" in the system
152
-
And operation "ListTagConfigurations" enabled
153
144
And new "ListTagConfigurations" request
154
145
When the request is sent
155
146
Then the response status is 200 Success
156
147
157
148
@team:DataDog/points-aggregation
158
149
Scenario: List tag configurations with a tag filter returns "Success" response
159
150
Given a valid "appKeyAuth" key in the system
160
-
And operation "ListTagConfigurations" enabled
161
151
And new "ListTagConfigurations" request
162
152
And request contains "filter[tags]" parameter with value "{{ unique_alnum }}"
163
153
When the request is sent
@@ -166,7 +156,6 @@ Feature: Metrics
166
156
@team:DataDog/points-aggregation
167
157
Scenario: List tag configurations with configured filter returns "Success" response
168
158
Given a valid "appKeyAuth" key in the system
169
-
And operation "ListTagConfigurations" enabled
170
159
And new "ListTagConfigurations" request
171
160
And request contains "filter[configured]" parameter with value true
172
161
When the request is sent
@@ -247,7 +236,6 @@ Feature: Metrics
247
236
@generated@skip@team:DataDog/points-aggregation
248
237
Scenario: Update a tag configuration returns "Bad Request" response
249
238
Given a valid "appKeyAuth" key in the system
250
-
And operation "UpdateTagConfiguration" enabled
251
239
And new "UpdateTagConfiguration" request
252
240
And request contains "metric_name" parameter from "REPLACE.ME"
253
241
And body with value {"data": {"attributes": {"group_by": ["app", "datacenter"], "include_percentiles": false}, "id": "http.endpoint.request", "type": "manage_tags"}}
@@ -257,7 +245,6 @@ Feature: Metrics
257
245
@replay-only@team:DataDog/points-aggregation
258
246
Scenario: Update a tag configuration returns "OK" response
259
247
Given a valid "appKeyAuth" key in the system
260
-
And operation "UpdateTagConfiguration" enabled
261
248
And there is a valid "metric" in the system
262
249
And there is a valid "metric_tag_configuration" in the system
263
250
And new "UpdateTagConfiguration" request
@@ -270,7 +257,6 @@ Feature: Metrics
270
257
@generated@skip@team:DataDog/points-aggregation
271
258
Scenario: Update a tag configuration returns "Unprocessable Entity" response
272
259
Given a valid "appKeyAuth" key in the system
273
-
And operation "UpdateTagConfiguration" enabled
274
260
And new "UpdateTagConfiguration" request
275
261
And request contains "metric_name" parameter from "REPLACE.ME"
276
262
And body with value {"data": {"attributes": {"group_by": ["app", "datacenter"], "include_percentiles": false}, "id": "http.endpoint.request", "type": "manage_tags"}}
0 commit comments