Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.
This repository was archived by the owner on May 23, 2023. It is now read-only.

Consider marking Span.constructor protected #142

@lcapaldo

Description

@lcapaldo

Creating a span via new Span will almost never do what folks intend, especially if they have a non noop tracer. I appreciate that doing this would make the noop tracer implementation for javascript somewhat more complex, but I have seen folks using new Span for "default" parent spans (when using an actual tracer implementation), so it may be worth it to help consumers fall into the "pit of success."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions