OpenElements / BenchScape

Collect and analyze JMH benchmark results for continuous integration
https://app.benchscape.cloud
Apache License 2.0
3 stars 3 forks source link

Provide logging for our backends in Grafana #81

Open hendrikebbers opened 1 year ago

hendrikebbers commented 1 year ago

We have a running Loki instance at https://open-elements-loki.azurewebsites.net (no frontend) and a running Grafana at https://open-elements-grafana.azurewebsites.net. As a next step we need to forward the logging of our backends to Loki to make it viewable in Grafana. That has already been done for the Spring-Boot-Admin server at https://github.com/OpenElements/Azure-Infrastructure by using the https://github.com/loki4j/loki-logback-appender (see dependency in POM). Article for read: https://piotrminkowski.com/2023/07/05/logging-in-spring-boot-with-loki/

Next to that we need to define views for the logging in Grafana

hendrikebbers commented 1 year ago

Publishing logs to Loki is done: https://github.com/OpenElements/BenchScape/commit/35bb8a14e6b186f2d4efb0cf68ff7c091165ad64