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 the ability to set resource attributes #24

Open
jordanbertasso opened this issue Mar 18, 2024 · 0 comments
Open

Add the ability to set resource attributes #24

jordanbertasso opened this issue Mar 18, 2024 · 0 comments

Comments

@jordanbertasso
Copy link

I'd like to be able to set the deployment.environment resource attribute on my spans.

It would be nice if we could set any arbitrary resource attributes. At the moment we can only set service name as seen here:

resSpans.Resource().Attributes().PutStr("service.name", tmpl.service)

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant