Skip to content

Commit

Permalink
Update traces.json for grpc
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlias committed Nov 4, 2023
1 parent aed0b63 commit c3097bf
Showing 1 changed file with 23 additions and 17 deletions.
40 changes: 23 additions & 17 deletions internal/test/e2e/grpc/traces.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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": {},
Expand Down

0 comments on commit c3097bf

Please sign in to comment.