File tree 3 files changed +17
-3
lines changed
java/org/example/kafkapost/common/annotation/trace
3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 10
10
import org .aspectj .lang .ProceedingJoinPoint ;
11
11
import org .aspectj .lang .annotation .Around ;
12
12
import org .aspectj .lang .annotation .Aspect ;
13
- import org .example .kafkapost .common .annotation .trace .TraceUtil ;
13
+ import org .example .kafkapost .common .annotation .trace .util . TraceUtil ;
14
14
import org .springframework .kafka .support .Acknowledgment ;
15
15
import org .springframework .stereotype .Component ;
16
16
import io .opentelemetry .api .GlobalOpenTelemetry ;
Original file line number Diff line number Diff line change 1
- package org .example .kafkapost .common .annotation .trace ;
1
+ package org .example .kafkapost .common .annotation .trace . util ;
2
2
3
3
import io .opentelemetry .api .trace .Span ;
4
4
import io .opentelemetry .api .trace .SpanContext ;
Original file line number Diff line number Diff line change 38
38
client :
39
39
kafka-user-service :
40
40
address : ${GRPC_ADDRESS}
41
- negotiationType : ${GRPC_TYPE}
41
+ negotiationType : ${GRPC_TYPE}
42
+
43
+ # msa 로깅 설정 Jaeger
44
+ otel :
45
+ resource :
46
+ attributes :
47
+ service.name : ${SERVICE_NAME}
48
+
49
+
50
+ opentelemetry :
51
+ tracer :
52
+ exporter :
53
+ otlp :
54
+ endpoint : ${OTEL_ENDPOINT}
55
+ protocol : ${OTEL_PROTOCOL}
You can’t perform that action at this time.
0 commit comments