Skip to content

Add convenience method setAttribute(Attribute<Long>, int) to SpanBuilder (matching the existing convenience method in Span) #6870

@trask

Description

@trask

It would be nice if SpanBuilder had the same setAttribute(AttributeKey<Long> key, int value) convenience method as Span:

default Span setAttribute(AttributeKey<Long> key, int value) {
return setAttribute(key, (long) value);
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions