Skip to content

Commit

Permalink
chore: add TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vmarchaud committed May 2, 2020
1 parent a502ac3 commit cb1e933
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/opentelemetry-plugin-http/src/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,8 @@ export class HttpPlugin extends BasePlugin<Http> {
if (hasParent === false && requireParent === true) {
const spanContext =
getExtractedSpanContext(context.active()) ?? plugin._emptySpanContext;
// TODO: Refactor this when a solution is found in
// https://github.com/open-telemetry/opentelemetry-specification/issues/530
span = new NoRecordingSpan(spanContext);
} else {
span = this._tracer
Expand Down

0 comments on commit cb1e933

Please sign in to comment.