Skip to content

Commit

Permalink
Remove console messages
Browse files Browse the repository at this point in the history
  • Loading branch information
McSick committed Feb 28, 2024
1 parent 21bf544 commit 875e987
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions plugins/node/instrumentation-amqplib/src/amqplib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -413,16 +413,13 @@ export class AmqplibInstrumentation extends InstrumentationBase {
let span: Span;
if (self._config.useLinksForConsume) {
const parentSpanContext = trace.getSpan(parentContext)?.spanContext();
console.log('parentContext', parentContext);
console.log('parentSpanContext', parentSpanContext);
let links: Link[] | undefined;
if (parentSpanContext) {
links = [
{
context: parentSpanContext,
},
];
console.log('links', links);
}
span = self.tracer.startSpan(`${queue} process`, {
kind: SpanKind.CONSUMER,
Expand Down

0 comments on commit 875e987

Please sign in to comment.