pulibrary / dpul-collections

An inspiring environment for global communities to engage with diverse digital collections
1 stars 0 forks source link

Add log aggregation #107

Closed hackartisan closed 4 days ago

hackartisan commented 1 month ago

Acceptance Criteria

First Step

Look at https://dev.to/justinepdevasia/docker-log-observability-analyzing-container-logs-in-hashicorp-nomad-with-vector-loki-and-grafana-4dp4

tpendragon commented 1 month ago

So we can't pay for Datadog for our staging boxes, so I think log aggregation here probably means implementing those little experiments I did around Grafana & Loki, like in https://dev.to/justinepdevasia/docker-log-observability-analyzing-container-logs-in-hashicorp-nomad-with-vector-loki-and-grafana-4dp4.

Otherwise we could probably add a console command to tail logs...maybe even all of them somehow.

tpendragon commented 1 month ago

https://github.com/tolitius/entail is a utility that would let us tail all logs for a job