NickPriv / FryRankBackend

A back-end Java application allowing users to create and view reviews for french fries at restaurants
https://fryrank.oxyserver.com
0 stars 0 forks source link

Metrics & dashboard #74

Open NickPriv opened 1 month ago

NickPriv commented 1 month ago

Metrics and dashboard set up to visualize:

NickPriv commented 1 month ago

Here's an idea: https://grafana.com/blog/2022/04/26/set-up-and-observe-a-spring-boot-application-with-grafana-cloud-prometheus-and-opentelemetry/

NickPriv commented 1 month ago

It's also possible to build our own monitoring solution:

It's probably overengineering, but an alternative to keep in mind.

NickPriv commented 1 month ago

Update: configured Librato. Will evaluate if there are more metrics we want to see which are missing (e.g. customer traffic, errors, or latency metrics)

NickPriv commented 1 month ago

Another update, Librato only shows the last hour of data for a free plan. Good for a feature release but not for long-term data analysis. Will evaluate other options.

NickPriv commented 1 month ago

Enabled Sentry as another add-on to the pure-monk app. Will look into the features we can leverage from it.

Next step: https://docs.sentry.io/platforms/java/guides/spring-boot/tracing/ and https://docs.sentry.io/platforms/java/guides/spring-boot/