-
-
Notifications
You must be signed in to change notification settings - Fork 465
[Logs 7] Add System tests for Logs #4386
New issue
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
Conversation
|
Performance metrics 🚀
|
...-boot-jakarta-opentelemetry-noagent/src/test/kotlin/io/sentry/systemtest/PersonSystemTest.kt
Show resolved
Hide resolved
| for (Object arg : args) { | ||
| final @NotNull String type = getType(arg); | ||
| attributes.put( | ||
| "sentry.message.parameter." + i, new SentryLogEventAttributeValue(type, arg)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This constructor of SentryLogEventAttributeValue expects a @NotNull as second parameter, while here arg is nullable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. Does seem to allow me to send in null but asked internally what we want to do here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated in #4392
#skip-changelog
📜 Description
Some basic e2e tests for Logs
Also:
sentry.properties, ENV vars) toexperimental, e.g.experimental.logs.enabledsentry.message.templateif >0 args are presentNULLwhen resolving arg type💡 Motivation and Context
Automated tests
💚 How did you test it?
📝 Checklist
sendDefaultPIIis enabled.🔮 Next steps