Fix Resource constructor examples
We have in comments and in code wrong example of Resource construction. The final resource sent to tracers, meters and loggers should be created with Resource.create and not by instantiating a Resource instance. In tests we may be more lenient since we don't care much what's there but in examples it should be correct.
See https://github.com/open-telemetry/opentelemetry.io/issues/6549
Hi. I'd like to work on this issue. Please assign it to me. Thanks
Hi @xrmx, I’m interested in contributing and noticed this issue hasn’t had recent activity. If the current assignee is no longer working on it, I’d be glad to take it up and open a PR soon. Please let me know. Thanks!
planning to pick this up over the weekend, as there hasn’t been any activity on it for the past month.
planning to pick this up over the weekend, as there hasn’t been any activity on it for the past month.
Hey, pardon me for being inactive over this issue. I have almost fixed the issue, I'll try to close this by tomorrow.
looks like this issue has not been closed yet, I am open to contribute to this issue.
This issue should be closed, if you look at the example it now shows the correct usage: