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: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ go get github.com/codeandcode0x/traceandtrace-go
79
79
### HTTP tracing
80
80
81
81
Create a trace on the http request method side.
82
-
<imgsrc="wiki/imgs/http_client_2.jpg"width="80%"alt="http to grpc client"><br>
82
+
<imgsrc="wiki/imgs/http_client_2.jpg"width="90%"alt="http to grpc client"><br>
83
83
tags are map[string]string type, you can pass logs k-v, tag and field.
84
84
85
85
@@ -134,7 +134,7 @@ newRpcServiceReq(tracer)
134
134
```
135
135
136
136
### Http to gRPC tracing
137
-
<imgsrc="wiki/imgs/httptogrpc_client.jpg"width="80%"alt="http to grpc client"><br>
137
+
<imgsrc="wiki/imgs/httptogrpc_client.jpg"width="90%"alt="http to grpc client"><br>
138
138
**ptx** is parent context, it can create sub-context trace span <br>
139
139
To call gRPC on the http server side, you need to add the parent context to the gRPC client. For details, you can see the [example](example/http/httpServer.go) .
0 commit comments