@yolo-croket-dev/core 1.7.4-datadog.15 → 1.7.4-datadog.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -106,7 +106,9 @@ let LoggingServiceInterceptor = class LoggingServiceInterceptor {
|
|
|
106
106
|
froms: pastFroms,
|
|
107
107
|
},
|
|
108
108
|
});
|
|
109
|
+
console.log('currentSpan : ', dd_trace_1.default.scope().active());
|
|
109
110
|
const loggingSpan = dd_trace_1.default.startSpan(`logging-service-interceptor-${content.pattern}`);
|
|
111
|
+
console.log('loggingSpan : ', loggingSpan);
|
|
110
112
|
if (loggingSpan) {
|
|
111
113
|
loggingSpan.setTag('traceId', traceId);
|
|
112
114
|
loggingSpan.setTag('messagePattern', content.pattern);
|