Skip to content

Conversation

@trask
Copy link
Member

@trask trask commented Oct 9, 2024

Improving smoke tests and testing the fix in Azure/azure-sdk-for-java#42241

@trask trask force-pushed the exception-type-name-missing branch 2 times, most recently from f196945 to 8e28cd8 Compare October 9, 2024 18:23
Comment on lines +26 to +29
@Scheduled(fixedRate = 100)
public void exceptional() {
throw new RuntimeException("exceptional");
}
Copy link
Member Author

@trask trask Oct 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we were missing a non-Servlet test that captures an exception on a "request" telemetry

while Servlets do capture an exception in OTel, we suppress the exception if it is identical to the logged exception that is also captured (see #3555)

@trask trask force-pushed the exception-type-name-missing branch 2 times, most recently from d46999e to 3826be6 Compare October 9, 2024 18:52
@trask trask marked this pull request as ready for review October 9, 2024 19:04
@trask trask changed the title Exception type name missing Improve smoke tests around exceptions Oct 9, 2024
@heyams
Copy link
Contributor

heyams commented Oct 9, 2024

need to wait for the new exporter release.

@trask trask force-pushed the exception-type-name-missing branch from 3826be6 to a056a2c Compare October 9, 2024 22:30
@trask
Copy link
Member Author

trask commented Oct 9, 2024

smoke tests should pass once new azure sdk release is out and this repo is updated to use it

@trask trask force-pushed the exception-type-name-missing branch from a056a2c to 23b2b65 Compare October 10, 2024 02:38
@trask trask force-pushed the exception-type-name-missing branch from 23b2b65 to 62110d3 Compare October 10, 2024 02:45
@trask trask enabled auto-merge (squash) October 10, 2024 02:55
@trask trask merged commit d428e7e into main Oct 10, 2024
88 checks passed
@trask trask deleted the exception-type-name-missing branch October 10, 2024 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants