@@ -39,7 +39,7 @@ void main() {
3939 expect (span.status, SpanStatus .ok ());
4040 expect (span.context.operation, 'serialize.http.client' );
4141 expect (span.context.description, 'GET https://example.com' );
42- expect (span.data['http.method' ], 'GET' );
42+ expect (span.data['http.request. method' ], 'GET' );
4343 expect (span.data['url' ], 'https://example.com' );
4444 expect (span.data['http.query' ], 'foo=bar' );
4545 expect (span.data['http.fragment' ], 'baz' );
@@ -67,7 +67,7 @@ void main() {
6767 expect (span.status, SpanStatus .internalError ());
6868 expect (span.context.operation, 'serialize.http.client' );
6969 expect (span.context.description, 'GET https://example.com' );
70- expect (span.data['http.method' ], 'GET' );
70+ expect (span.data['http.request. method' ], 'GET' );
7171 expect (span.data['url' ], 'https://example.com' );
7272 expect (span.data['http.query' ], 'foo=bar' );
7373 expect (span.data['http.fragment' ], 'baz' );
@@ -96,7 +96,7 @@ void main() {
9696 expect (span.status, SpanStatus .ok ());
9797 expect (span.context.operation, 'serialize.http.client' );
9898 expect (span.context.description, 'GET https://example.com' );
99- expect (span.data['http.method' ], 'GET' );
99+ expect (span.data['http.request. method' ], 'GET' );
100100 expect (span.data['url' ], 'https://example.com' );
101101 expect (span.data['http.query' ], 'foo=bar' );
102102 expect (span.data['http.fragment' ], 'baz' );
@@ -126,7 +126,7 @@ void main() {
126126 expect (span.status, SpanStatus .internalError ());
127127 expect (span.context.operation, 'serialize.http.client' );
128128 expect (span.context.description, 'GET https://example.com' );
129- expect (span.data['http.method' ], 'GET' );
129+ expect (span.data['http.request. method' ], 'GET' );
130130 expect (span.data['url' ], 'https://example.com' );
131131 expect (span.data['http.query' ], 'foo=bar' );
132132 expect (span.data['http.fragment' ], 'baz' );
0 commit comments