ServiceWeaver / weaver-kube

Run Service Weaver applications on vanilla Kubernetes.
Apache License 2.0
61 stars 19 forks source link

Export logs to grafana #42

Closed rgrandl closed 1 year ago

rgrandl commented 1 year ago

grafana_logs_new.webm

Exporting logs to grafana is not trivial. In order to do that we need a datasource that exports logs. Grafana relies on Grafana Loki [1] to do that. Loki is a system that aggregates, index, stores and serves logs.

However, to retrieve the logs, Loki relies on Grafana Promtail [2] that is an agent that runs on each node.

This PR:

After this PR, Grafana should be the ultimate place to inspect logs, metrics, and traces.