We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The span.setAttribute() API could be improved. It tells null and undefined are not allowed for value but type definition has value optional.
span.setAttribute()
null
undefined
value
opentelemetry-js/packages/opentelemetry-api/src/trace/span.ts
Lines 44 to 53 in 1a3f3f8
Originally posted by @Flarna in #1765 (comment)
The text was updated successfully, but these errors were encountered:
null and undefined is officially undefined behavior according to the spec. We should change the typings to reflect that it is not allowed.
Sorry, something went wrong.
feat: add esnext target for auto-instr-web package (open-telemetry#1848)
3cb2802
* feat: add esnext target for auto-instr-web package * remove unnecessary jsx line from tsconfig * add skipLibCheck to match tsconfig.esm
mwear
Successfully merging a pull request may close this issue.
The
span.setAttribute()
API could be improved. It tellsnull
andundefined
are not allowed for value but type definition hasvalue
optional.opentelemetry-js/packages/opentelemetry-api/src/trace/span.ts
Lines 44 to 53 in 1a3f3f8
Originally posted by @Flarna in #1765 (comment)
The text was updated successfully, but these errors were encountered: