File tree 2 files changed +28
-0
lines changed
2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 41
41
<groupId >com.alibaba.csp</groupId >
42
42
<artifactId >sentinel-spring-cloud-gateway-adapter</artifactId >
43
43
</dependency >
44
+
45
+ <dependency >
46
+ <groupId >io.opentelemetry.javaagent</groupId >
47
+ <artifactId >opentelemetry-javaagent</artifactId >
48
+ <version >1.28.0</version >
49
+ <scope >compile</scope >
50
+ </dependency >
51
+
52
+ <dependency >
53
+ <groupId >io.opentelemetry</groupId >
54
+ <artifactId >opentelemetry-sdk</artifactId >
55
+ <version >1.45.0</version >
56
+ </dependency >
57
+
44
58
</dependencies >
45
59
46
60
<build >
Original file line number Diff line number Diff line change
1
+ package gateway ;
2
+
3
+ import javax .servlet .http .HttpServletResponse ;
4
+ import org .springframework .web .bind .annotation .GetMapping ;
5
+ import org .springframework .web .bind .annotation .RestController ;
6
+
7
+ @ RestController
8
+ public class TestController {
9
+
10
+ @ GetMapping ("/api/v1/gateway/test" )
11
+ public String testEndpoint () {
12
+ return "OK" ;
13
+ }
14
+ }
You can’t perform that action at this time.
0 commit comments