Use the spring petclinic project to showcase some of the grafana stack and observaibility things in general.
The github action builds a modified version of the spring petclinic project. It will check out the spring petclinic sample project and use open rewrite to add the necessary maven dependencies for tracing and metrics and then add corresponding logback and application config.
(Everything automatically becomes obsolete and outdated the moment you stop looking so we explicitly do fresh petclinic clones instead of forking it here. And the docker compose file uses latest
for all the images. Hopefully all of this will raise failures early. The GH action tests the docker compose file and does some simple checks to see if the different pieces start up ok.)
If you want to try this out, run docker compose up
and look at the petclinic sample app and grafana