Open jhirvioja opened 2 months ago
I installed Promtail with these instructions and the logs now show in Grafana.
Loki I installed with these instructions, with the distinction that the values.yaml
required auth_enabled: false
, and after that Save and test worked with the connection url http://loki-gateway.loki-stack.svc.cluster.local
(this url is outputted by loki during the helm install process)
@mluukkai
When trying to add
loki-stack
to Grafana in part 2, it fails with errors. I think it is becauseloki-stack
is deprecated and provides an older version in the charts, which does not work with latest Grafana used.Should be fixed it to use
loki
instead, which is recommended: https://community.grafana.com/t/difference-between-helm-charts-loki-and-loki-stack/87380/2. Then again, it might be possible to bump the version manually and keep the instructions as such, did not try that.I managed to get Grafana to connect to just plain
loki
, but I don't think it provides Promtail out-of-the-box, meaning it does not trail the application logs in Grafana in a trivial manner. The part needs more configuration (and instructions to the material).The Grafana UI has also changed a bit, so f.e.
Open Grafana, go to settings, and choose Connections, Data Sources, and then Add data source.
should be
Open Grafana, open the hamburger menu from top left, under Connections choose Data Sources, and then Add new data source.