Ensure global interceptors are added to Servlet

Builds on #42 and #1.
This commit is contained in:
Dave Syer
2024-11-11 11:34:31 +00:00
parent c6cbfe1f17
commit b16ec9cf24
3 changed files with 16 additions and 3 deletions

View File

@@ -61,6 +61,14 @@
<groupId>io.grpc</groupId>
<artifactId>grpc-servlet-jakarta</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing-bridge-otel</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>

View File

@@ -1,3 +1,5 @@
spring.application.name=grpc-tomcat
server.port=9090
server.http2.enabled=true
server.http2.enabled=true
logging.pattern.level=%5p [${spring.application.name:},%X{traceId:-},%X{spanId:-}]
management.endpoints.web.exposure.include=*