File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
api-gateway/src/main/resources Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ spring.application.name=api-gateway
2
2
server.port =9000
3
3
spring.security.oauth2.resourceserver.jwt.issuer-uri =http://localhost:8181/realms/spring-microservices-security-realm
4
4
5
+ # Swagger config
5
6
springdoc.swagger-ui.path =/swagger-ui.html
6
7
springdoc.api-docs.path =/api-docs
7
8
springdoc.swagger-ui.urls[0].name =Product Service
@@ -17,7 +18,6 @@ management.endpoints.web.exposure.include=*
17
18
management.endpoint.health.show-details =always
18
19
19
20
# Resilience4j Properties
20
-
21
21
resilience4j.circuitbreaker.configs.default.registerHealthIndicator =true
22
22
resilience4j.circuitbreaker.configs.default.slidingWindowType =COUNT_BASED
23
23
resilience4j.circuitbreaker.configs.default.slidingWindowSize =10
@@ -37,14 +37,13 @@ resilience4j.retry.configs.default.wait-duration=2s
37
37
# if retry also doesn't work, then timeout-duration will kick-in, and open the circuit breaker
38
38
39
39
40
-
40
+ # Grafana metrics
41
41
management.metrics.distribution.percentiles-histogram.http.server.requests =true
42
42
management.observations.key-values.application =product-service
43
-
44
43
management.tracing.sampling.probability =1.0
45
44
46
45
47
-
46
+ # Loki
48
47
loki.url =http://localhost:3100/loki/api/v1/push
49
48
50
49
You can’t perform that action at this time.
0 commit comments