grafana / loki

Like Prometheus, but for logs.
https://grafana.com/loki
GNU Affero General Public License v3.0
24.04k stars 3.47k forks source link

Loki Backend target missing from nomad simple scalable example #14803

Open thoward27 opened 3 weeks ago

thoward27 commented 3 weeks ago

Describe the bug The nomad example for simple scalable mode does not include the backend target. This nomad job fails as written, with errors about not being able to find the compactor service.

To Reproduce Steps to reproduce the behavior:

  1. Deploy loki from the simple scalable example

Expected behavior Loki to start successfully.

Environment:

Screenshots, Promtail config, or terminal output

level=error ts=2024-11-06T21:53:44.159449309Z caller=log.go:216 msg="error running loki" err="query filtering for deletes requires 'compactor_grpc_address' or 'compactor_address' to be configured\nerror initialising module: cache-generation-loader\ngithub.com/grafana/dskit/modules.

I can't tell if the solution here is to add the backend target or update the default config to disable things that require the backend service to be running? Any insights are greatly appreciated.

JStickler commented 2 weeks ago

I can't tell if the solution here is to add the backend target or update the default config to disable things that require the backend service to be running?

The backend target should be added, or you'll be missing several components that were moved to the backend target.