nestjs-otel-prom-grafana-tempo
nestjs-otel-prom-grafana-tempo copied to clipboard
Lookup loki on 127.0.0.11:53: server misbehaving
Hi
Thank you for your work. When I run docker-compose up, I get this error
promtail-1 | level=warn ts=2024-07-15T23:46:34.436089013Z caller=client.go:419 component=client host=loki:3100 msg="error sending batch, will retry" status=-1 tenant=tenant1 error="Post "http://loki:3100/loki/api/v1/push": dial tcp: lookup loki on 127.0.0.11:53: server misbehaving
Any clues?
TIA
For me, Loki is not starting due to a permission issue:
level=error ts=2025-02-08T20:22:24.488673253Z caller=log.go:171 msg="error running loki" err="mkdir /tmp/loki/rules: permission denied\nerror initialising module: ruler-storage\ngithub.com/grafana/dskit/modules.(*Manager).initModule\n\t/src/loki/vendor/github.com/grafana/dskit/modules/modules.go:122\ngithub.com/grafana/dskit/modules.(*Manager).InitModuleServices\n\t/src/loki/vendor/github.com/grafana/dskit/modules/modules.go:92\ngithub.com/grafana/loki/pkg/loki.(*Loki).Run\n\t/src/loki/pkg/loki/loki.go:458\nmain.main\n\t/src/loki/cmd/loki/main.go:110\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:250\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1598"
Hence, Loki is not running, and all communication with it results in an error.
I have create a new fork version of it where i fix all the port problems. also i will grow the observability adding more dimensions in the services.
I will take a look, and PRs are always welcome!
Yes! I will don the right way ! I just fork it so tomorrow I will be available to request a PR :) so far I add new instrumentation.
This should be sorted