-
Notifications
You must be signed in to change notification settings - Fork 208
Fix request exception not captured when INSTRUMENTATION_LOGGING_LEVEL=OFF #4130
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
afb77f5 to
31abb63
Compare
31abb63 to
90f4ece
Compare
1791dff to
bd68b98
Compare
a6b7463 to
76e64e6
Compare
...c/main/java/com/microsoft/applicationinsights/agent/internal/exporter/AgentSpanExporter.java
Outdated
Show resolved
Hide resolved
76e64e6 to
13e58d9
Compare
...ng/src/main/java/com/microsoft/applicationinsights/agent/internal/init/SecondEntryPoint.java
Show resolved
Hide resolved
...ng/src/main/java/com/microsoft/applicationinsights/agent/internal/init/SecondEntryPoint.java
Outdated
Show resolved
Hide resolved
...ng/src/main/java/com/microsoft/applicationinsights/agent/internal/init/SecondEntryPoint.java
Outdated
Show resolved
Hide resolved
jeanbisutti
left a comment
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.
Approved with comments.
...ain/java/com/microsoft/applicationinsights/agent/internal/init/AzureMonitorLogProcessor.java
Show resolved
Hide resolved
| return props; | ||
| }) | ||
| .addPropertiesCustomizer(new AiConfigCustomizer()) | ||
| .addLogRecordProcessorCustomizer( |
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.
Suggestion: an extract method could be applied to this customizer, and addLogRecordProcessorCustomizer could be used next to .addLogRecordExporterCustomizer. In this way it would be easier to notice the whole picture for logging.
…ights/agent/internal/init/AzureMonitorLogProcessor.java Co-authored-by: Jean Bisutti <jean.bisutti@gmail.com>
Resolves #4095