diff --git a/internal/test/e2e/grpc/traces.json b/internal/test/e2e/grpc/traces.json index 1f90a30c5..64b9408c4 100644 --- a/internal/test/e2e/grpc/traces.json +++ b/internal/test/e2e/grpc/traces.json @@ -45,34 +45,40 @@ "scopeSpans": [ { "scope": { - "name": "net/http", + "name": "google.golang.org/grpc", "version": "v0.7.0-alpha" }, "spans": [ { "attributes": [ { - "key": "http.method", + "key": "net.peer.port", "value": { - "stringValue": "GET" + "stringValue": "1701" } }, { - "key": "http.target", + "key": "rpc.system", "value": { - "stringValue": "/hello" + "stringValue": "grpc" } }, { - "key": "http.status_code", + "key": "rpc.service", "value": { - "intValue": "200" + "stringValue": "/helloworld.Greeter/SayHello" + } + }, + { + "key": "net.peer.name", + "value": { + "stringValue": "localhost" } } ], - "kind": 2, - "name": "GET", - "parentSpanId": "xxxxx", + "kind": 3, + "name": "/helloworld.Greeter/SayHello", + "parentSpanId": "", "spanId": "xxxxx", "status": {}, "traceId": "xxxxx" @@ -81,27 +87,27 @@ }, { "scope": { - "name": "net/http/client", + "name": "google.golang.org/grpc/server", "version": "v0.7.0-alpha" }, "spans": [ { "attributes": [ { - "key": "http.method", + "key": "rpc.system", "value": { - "stringValue": "GET" + "stringValue": "grpc" } }, { - "key": "http.target", + "key": "rpc.service", "value": { - "stringValue": "/hello" + "stringValue": "/helloworld.Greeter/SayHello" } } ], - "kind": 3, - "name": "/hello", + "kind": 2, + "name": "/helloworld.Greeter/SayHello", "parentSpanId": "", "spanId": "xxxxx", "status": {},