spring-ai icon indicating copy to clipboard operation
spring-ai copied to clipboard

Allow observation to log errors in tracer's spans for non-web applications

Open tzolov opened this issue 4 months ago • 0 comments

The Micrometer library creates, by default, a parent observation span for Spring Web applications.

But for non-web applications such as simple Boot CommandLineRunner or Vaadin's AppShellConfigurator, it is applications responsibility to create a parent-root span to ensure that errors that happened during observation are logged with a valid trace-id.

tzolov avatar Sep 30 '24 11:09 tzolov