Skip to content

How do I update the resource attributes? #3441

Answered by lzchen
lallaw8809 asked this question in Q&A
Discussion options

You must be logged in to vote

There currently is no way to modify the Resource during runtime, as they are immutable as defined by the spec. You are better off modifying span/metric/log attributes instead if you are keeping track of something like transaction count.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@lallaw8809
Comment options

@angelotessaro
Comment options

Answer selected by lzchen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants