Skip to content

Data source connected, but no labels received. Verify that Loki and Promtail is configured properly. #17126

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
elifbozalp opened this issue Apr 11, 2025 · 1 comment

Comments

@elifbozalp
Copy link

Loki is ready, and I can connect, but I cannot list logs in Loki Grafana. The Promtail target readiness is also 'False'.
What should I change ?

Image

docker-compose.yml

promtail:
image: grafana/promtail:2.6.1
ports:
- "9080:9080"
volumes:
- ./promtail-config.yaml:/etc/promtail/config.yaml
- /var/log:/var/log
- /var/lib/docker/containers:/var/lib/docker/containers
- /var/run/docker.sock:/var/run/docker.sock


promtail-config.yaml

server:
http_listen_port: 9080
grpc_listen_port: 0

positions:
filename: /tmp/positions.yaml

clients:

scrape_configs:

  • job_name: system
    static_configs:
    • targets:
      • localhost
        labels:
        job: varlogs
        path: /var/log/*log
@JStickler
Copy link
Contributor

Questions have a better chance of being answered if you ask them on the community forums.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants