This task is to improve on how we manage Logging and metrics in the application itself. Right now, as part of the deployment and infrastructure of the bot there's no dedicated place to manage logs across the application itself to bug out different events that might be happening in the bot itself, like INFO or ERROR logs. This task is to implement and investigate how to implement Prometheus into the existing application code so we can use it to create a Grafana Dashboard for the bot to store graphics, metrics and logs.
As a result of this spike/investigation task, additional tasks should be created on what steps to take for implementing/solving the task at hand.
Notes:
As an update, another solution we can have is to run Loki locally in the cloud as part of the running Docker Compose as well as Grafana, that way the dashboard will be served locally instead of using the SaaS version of Grafana.
This task is to improve on how we manage Logging and metrics in the application itself. Right now, as part of the deployment and infrastructure of the bot there's no dedicated place to manage logs across the application itself to bug out different events that might be happening in the bot itself, like INFO or ERROR logs. This task is to implement and investigate how to implement Prometheus into the existing application code so we can use it to create a Grafana Dashboard for the bot to store graphics, metrics and logs.
As a result of this spike/investigation task, additional tasks should be created on what steps to take for implementing/solving the task at hand.
Notes: As an update, another solution we can have is to run Loki locally in the cloud as part of the running Docker Compose as well as Grafana, that way the dashboard will be served locally instead of using the SaaS version of Grafana.