Skip to content

Commit 3e2fdaa

Browse files
committed
final
1 parent 3e59d31 commit 3e2fdaa

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

api-gateway/src/main/resources/application.properties

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ spring.application.name=api-gateway
22
server.port=9000
33
spring.security.oauth2.resourceserver.jwt.issuer-uri=http://localhost:8181/realms/spring-microservices-security-realm
44

5+
#Swagger config
56
springdoc.swagger-ui.path=/swagger-ui.html
67
springdoc.api-docs.path=/api-docs
78
springdoc.swagger-ui.urls[0].name=Product Service
@@ -17,7 +18,6 @@ management.endpoints.web.exposure.include=*
1718
management.endpoint.health.show-details=always
1819

1920
#Resilience4j Properties
20-
2121
resilience4j.circuitbreaker.configs.default.registerHealthIndicator=true
2222
resilience4j.circuitbreaker.configs.default.slidingWindowType=COUNT_BASED
2323
resilience4j.circuitbreaker.configs.default.slidingWindowSize=10
@@ -37,14 +37,13 @@ resilience4j.retry.configs.default.wait-duration=2s
3737
# if retry also doesn't work, then timeout-duration will kick-in, and open the circuit breaker
3838

3939

40-
40+
#Grafana metrics
4141
management.metrics.distribution.percentiles-histogram.http.server.requests=true
4242
management.observations.key-values.application=product-service
43-
4443
management.tracing.sampling.probability=1.0
4544

4645

47-
46+
#Loki
4847
loki.url=http://localhost:3100/loki/api/v1/push
4948

5049

0 commit comments

Comments
 (0)