Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(docs): update opentelemetry docs (#70271)
### What? https://nextjs.org/docs/app/building-your-application/optimizing/open-telemetry is partially outdated. ### Why? - As mentioned [here](https://github.com/open-telemetry/opentelemetry-js/blob/cdfefb829441f0c2765756d61078c39531c04d05/semantic-conventions/src/resource/SemanticResourceAttributes.ts#L649-L656), SEMRESATTRS_SERVICE_NAME has been deprecated. - Also, the default ESLint configuration generated by create-next-app triggers warnings about the import order. ### How? - so it has been changed to ATTR_SERVICE_NAME. - Also, fixed the import order. Co-authored-by: JJ Kasper <[email protected]>
- Loading branch information