-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Panic using default docker-compose configuration with docker log driver #1988
Comments
Thanks for catching this. Sharing the error as plain text for others.
Please use 1.4.1 for now, This seems to be a master issue. /cc @slim-bean @owen-d |
Fixed by #1987 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Panic using default docker-compose configuration with docker log driver
Loki Runs for a while, logs are visible via grafana, then the loki container exits with Code:2
To Reproduce
Steps to reproduce the behavior:
Enabled logging on influxdb via compose config:
Started Loki (docker-compose up) version=master-b652f0a, branch=master, revision=b652f0a3)
Expected behavior
Loki to continue running
Environment:
Loki config file vanilla from here.
https://github.com/grafana/loki/blob/master/cmd/loki/loki-docker-config.yaml
Pasted below for reference:
auth_enabled: false
server:
http_listen_port: 3100
ingester:
lifecycler:
address: 127.0.0.1
ring:
kvstore:
store: inmemory
replication_factor: 1
final_sleep: 0s
chunk_idle_period: 5m
chunk_retain_period: 30s
max_transfer_retries: 0
schema_config:
configs:
- from: 2018-04-15
store: boltdb
object_store: filesystem
schema: v11
index:
prefix: index_
period: 168h
storage_config:
boltdb:
directory: /loki/index
filesystem:
directory: /loki/chunks
limits_config:
enforce_metric_name: false
reject_old_samples: true
reject_old_samples_max_age: 168h
chunk_store_config:
max_look_back_period: 0s
table_manager:
retention_deletes_enabled: false
retention_period: 0s
Docker Compose Config below:
version: "3.3"
services:
loki:
image: grafana/loki:latest
volumes:
- "loki-config1:/etc/loki"
command:
- --config.file=/etc/loki/loki-docker-config.yaml
- --log.level=debug
ports:
- "3100:3100"
influxdb:
image: influxdb:1.7.10
restart: always
ports:
- 8086:8086
volumes:
- influxdb:/var/lib/influxdb
logging:
driver: loki
options:
loki-url: "http://localhost:3100/loki/api/v1/push"
volumes:
loki-config1:
Screenshots, Promtail config, or terminal output
If applicable, add any output to help explain your problem.
Attached a copy of the debug output from the container log.
loki-errorlog.LOG
The text was updated successfully, but these errors were encountered: