File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
07-distributed-tracing-with-sleuth-and-zipkin Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Distributed Tracing with Sleuth and Zipkin
2
+
3
+ - Start the zipkin
4
+
5
+ ``` sh
6
+ docker run -d -p 9411:9411 openzipkin/zipkin
7
+ ```
8
+ ----------
9
+
10
+ - HTTP GET - ` http://localhost:9090/student-service/api/student/getById/1 `
11
+
12
+ Response:
13
+
14
+ ``` json
15
+ {
16
+ "id" : 1 ,
17
+ "firstName" : " Raj" ,
18
+ "lastName" : " Dave" ,
19
+ "email" : " raj_dave@yahoo.com" ,
20
+ "addressResponse" : {
21
+ "addressId" : 1 ,
22
+ "street" : " Delhi" ,
23
+ "city" : " Happy Street"
24
+ }
25
+ }
26
+ ```
27
+ -------
28
+
29
+ <img width =" 1418 " alt =" Screenshot 2022-12-26 at 3 15 21 PM " src =" https://user-images.githubusercontent.com/54174687/209533850-9d292c88-bec3-4b7f-8b3b-a8fc7e7bec83.png " >
30
+
31
+
32
+ -----
33
+
34
+ - You can also search by TraceId: 6bdc6fe79d0e92b7
35
+
36
+ <img width =" 980 " alt =" Screenshot 2022-12-26 at 3 16 41 PM " src =" https://user-images.githubusercontent.com/54174687/209533952-9967f580-b0f2-4606-96db-ddaa0dfb5192.png " >
37
+
38
+ <img width =" 1418 " alt =" Screenshot 2022-12-26 at 3 17 19 PM " src =" https://user-images.githubusercontent.com/54174687/209534046-8c575d9a-2e4e-4fb7-abad-8af73b73d168.png " >
39
+
You can’t perform that action at this time.
0 commit comments