Skip to content

Repo containing sample code to understand Spring Boot 3's observability frameworks

Notifications You must be signed in to change notification settings

FWinkler79/spring3-observability

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot 3 Observability with OpenTelemetry

This project provides a sample setup of two Spring Boot 3.x applications that use Spring Boot 3's new observability features in combination with OpenTelemetry. Since Spring Boot 3 observability only covers exposure of metrics and traces using OTLP, but not logs, this project also shows how to easily code a custom Logback Appender to intercept logs and export them as OTLP traffic. This appender is inspired by OpenTelemetry's Logback Appender and reuses some of its code, yet removes the lifecycle issues that it comes with.

References

About

Repo containing sample code to understand Spring Boot 3's observability frameworks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages