We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb760ff commit 2668696Copy full SHA for 2668696
integration/integration_test.go
@@ -156,6 +156,7 @@ func TestSMK6(t *testing.T) {
156
"error": {"probe_http_info"},
157
"expected_response": {"probe_http_got_expected_response"},
158
"group": {},
159
+ "__raw_url__": {},
160
}
161
162
for _, mf := range mfs {
@@ -319,6 +320,12 @@ func TestSMK6(t *testing.T) {
319
320
metricLabels: map[string]string{"tls_version": "1.3", "url": "https://test-api.k6.io/public/crocodiles/"},
321
assertValue: any, // Just fail if not present.
322
},
323
+ {
324
+ name: "__raw_url__ overrides url",
325
+ metricName: "probe_http_requests_total",
326
+ metricLabels: map[string]string{"url": "foobar"},
327
+ assertValue: equals(1),
328
+ },
329
} {
330
tc := tc
331
t.Run(tc.name, func(t *testing.T) {
0 commit comments