You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If anyone try to write code like this above opentelemetry/resources >= 2.0.0,the new Resource({ [ATTR_SERVICE_NAME]: 'next-app', }), won't work,for the developer has changed its api.
Should add some annotation for it.
Is there any context that might help us understand?
What is the documentation issue?
The sample code in https://nextjs.org/docs/app/building-your-application/optimizing/open-telemetry#manual-opentelemetry-configuration:
is not supported for newest
OpentelemetrySDK
. It should be:If anyone try to write code like this above
opentelemetry/resources >= 2.0.0
,thenew Resource({ [ATTR_SERVICE_NAME]: 'next-app', }),
won't work,for the developer has changed its api.Should add some annotation for it.
Is there any context that might help us understand?
See open-telemetry/opentelemetry-js#5421.
Does the docs page already exist? Please link to it.
The text was updated successfully, but these errors were encountered: