Altalogy / tari

The Tari protocol
https://tari.com
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

feat: use grafana as logging backend #290

Closed CjS77 closed 2 years ago

CjS77 commented 2 years ago

We're replacing fronttail with grafana.

This PR adds the ImageType definitions for Loki, Promtail and grafana and removes all traces of frontail. Thank you for your service, but you're fired.

The configuration files for grafana are included in the launchpad assets folder. These will be mounted so that the containers can access them, but will be in the host file system so that advanced users can tweak things.

The front-end should be updated to derive the image list using the image_list command rather than hard-coding the list, so that these changes can be picked up. I've updated the hard-coded image list, but it's not the most elegant solution.

I've also added settings to get grafana containers working

Screenshots

Login. (We use abstract this away if we can) Screenshot 2022-06-17 at 15 39 13

Yay! Logs Screenshot 2022-06-17 at 15 43 44

Containers humming away

Screenshot 2022-06-17 at 15 43 57

Closes #269

CjS77 commented 2 years ago

Shouldn't that be done while tackling #276 or #292 rather than this PR?