@@ -3,7 +3,6 @@ server.port=8082
3
3
spring.application.name =SoftenoJpaPostgresApp
4
4
5
5
# ## custom: external services
6
-
7
6
com.softeno.external.url =http://localhost:4500/sample
8
7
# com.softeno.external.url=http://localhost:8080/sample
9
8
# com.softeno.external.url=http://localhost:8080/sample-secured
@@ -14,7 +13,6 @@ com.softeno.kafka.rx=sample_topic_2
14
13
com.softeno.kafka.keycloak =keycloak-events
15
14
16
15
# ## jpa, hibernate & liquibase
17
-
18
16
spring.datasource.url =jdbc:postgresql://localhost:5432/application
19
17
spring.datasource.username =admin
20
18
spring.datasource.password =admin
@@ -44,7 +42,6 @@ logging.level.org.springframework.jdbc.core.JdbcTemplate=DEBUG
44
42
logging.level.org.springframework.jdbc.core.StatementCreatorUtils =TRACE
45
43
46
44
# ## keycloak realm config: http://localhost:8090/realms/master/.well-known/openid-configuration
47
-
48
45
spring.security.oauth2.resourceserver.jwt.issuer-uri =http://localhost:8090/realms/master
49
46
spring.security.oauth2.resourceserver.jwt.jwk-set-uri =http://localhost:8090/realms/master/protocol/openid-connect/certs
50
47
@@ -58,27 +55,38 @@ spring.security.oauth2.client.provider.keycloak.user-info-uri=http://localhost:8
58
55
spring.security.oauth2.client.provider.keycloak.jwk-set-uri =http://localhost:8090/realms/master/protocol/openid-connect/certs
59
56
60
57
# kafka
61
-
62
58
spring.kafka.consumer.properties.spring.json.use.type.headers =false
63
59
spring.kafka.consumer.properties.spring.json.value.default.type =com.fasterxml.jackson.databind.JsonNode
64
60
65
61
# metrics, prometheus & actuator
66
-
67
62
management.endpoints.web.base-path =/actuator
68
63
management.endpoints.web.exposure.include =*
69
64
management.endpoint.health.show-details =always
70
65
management.endpoint.metrics.enabled =true
71
66
management.endpoint.prometheus.enabled =true
72
67
73
68
# swagger
74
-
75
69
springdoc.api-docs.enabled =true
76
70
springdoc.api-docs.path =/v3/api-docs
77
71
springdoc.swagger-ui.path =/swagger-ui.html
78
72
79
73
# resilience4j
80
-
81
74
resilience4j.circuitbreaker.metrics.enabled =true
82
75
resilience4j.retry.metrics.enabled =true
83
76
resilience4j.ratelimiter.metrics.enabled =true
84
77
78
+ # # observation & zipkin
79
+ management.tracing.enabled =true
80
+ management.zipkin.tracing.endpoint =http://localhost:9411/api/v2/spans
81
+ management.tracing.sampling.probability =1.0
82
+ management.tracing.propagation.consume =b3
83
+ management.tracing.propagation.produce =b3
84
+ management.tracing.propagation.type =b3
85
+
86
+ spring.kafka.template.observation-enabled =true
87
+ spring.kafka.listener.observation-enabled =true
88
+ management.tracing.baggage.correlation.enabled =true
89
+ management.tracing.baggage.enabled =true
90
+ management.tracing.baggage.correlation.fields =spanId,traceId
91
+
92
+ management.otlp.metrics.export.enabled =true
0 commit comments