Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
trask opened this issue Nov 10, 2024 · 1 comment · Fixed by #6884
Assignees
Labels
contribfest Feature Request Suggest an idea for this project

Comments

@trask
Copy link
Member

trask commented Nov 10, 2024

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);
}

@trask trask added Feature Request Suggest an idea for this project contribfest labels Nov 10, 2024
@Stoyas
Copy link
Contributor

Stoyas commented Nov 15, 2024

trying to work on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribfest Feature Request Suggest an idea for this project
Projects
None yet
2 participants