Skip to content

Description input in span/setStatus should be optional #20

@duncanpo

Description

@duncanpo

Description is currently required:

>> tp = opentelemetry.sdk.trace.TracerProvider();
>> tr = getTracer(tp, 'ab');
>> sp = startSpan(tr, "abcdefghi");
>> sp.setStatus("ok")
Not enough input arguments.

Error in opentelemetry.trace.Span/setStatus (line 135)
            description = opentelemetry.common.mustBeScalarString(description);

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions