Skip to content

Commit 232d4e0

Browse files
Update README.md
1 parent c45dd1b commit 232d4e0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ go get github.com/codeandcode0x/traceandtrace-go
7979
### HTTP tracing
8080

8181
Create a trace on the http request method side.
82-
![http to grpc client](wiki/imgs/http_client_2.jpg)
82+
<img src="wiki/imgs/http_client_2.jpg" width="80%" alt="http to grpc client"><br>
8383
tags are map[string]string type, you can pass logs k-v, tag and field.
8484

8585

@@ -134,7 +134,7 @@ newRpcServiceReq(tracer)
134134
```
135135

136136
### Http to gRPC tracing
137-
![http to grpc client](wiki/imgs/httptogrpc_client.jpg)
137+
<img src="wiki/imgs/httptogrpc_client.jpg" width="80%" alt="http to grpc client"><br>
138138
**ptx** is parent context, it can create sub-context trace span <br>
139139
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) .
140140

@@ -172,7 +172,7 @@ for {
172172
```
173173

174174
# Jaeger or Zipkin Tracing
175-
<img src="wiki/imgs/zipkin.jpg" width="80%" alt="tracing">
175+
<img src="wiki/imgs/zipkin.jpg" width="100%" alt="tracing">
176176

177177
# Maintainer
178178
<img src="wiki/imgs/wx.jpeg" width="350" >
@@ -181,4 +181,4 @@ for {
181181

182182

183183

184-
184+

0 commit comments

Comments
 (0)