Skip to content
Discussion options

You must be logged in to vote

you can use both. 🙂
The explicit resource you passed will take precedence over the one from the detectors.

If you need to change the precedence, please use detectResources() from @opentelemetry/resources and Resource#merge() on resulting resource to merge them according to your preferred precedence :)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ikigai-chiawen-c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants