Update loki
This commit is contained in:
parent
c5d5ab42b8
commit
6fe1b200f2
@ -3,31 +3,27 @@ auth_enabled: false
|
|||||||
server:
|
server:
|
||||||
http_listen_port: 3100
|
http_listen_port: 3100
|
||||||
|
|
||||||
ingester:
|
common:
|
||||||
lifecycler:
|
|
||||||
address: 127.0.0.1
|
|
||||||
ring:
|
ring:
|
||||||
|
instance_addr: 127.0.0.1
|
||||||
kvstore:
|
kvstore:
|
||||||
store: inmemory
|
store: inmemory
|
||||||
replication_factor: 1
|
replication_factor: 1
|
||||||
final_sleep: 0s
|
path_prefix: /tmp/loki
|
||||||
chunk_idle_period: 5m
|
|
||||||
chunk_retain_period: 30s
|
|
||||||
max_transfer_retries: 0
|
|
||||||
|
|
||||||
schema_config:
|
schema_config:
|
||||||
configs:
|
configs:
|
||||||
- from: 2018-04-15
|
- from: 2020-05-15
|
||||||
store: boltdb
|
store: boltdb-shipper
|
||||||
object_store: filesystem
|
object_store: filesystem
|
||||||
schema: v11
|
schema: v11
|
||||||
index:
|
index:
|
||||||
prefix: index_
|
prefix: index_
|
||||||
period: 168h
|
period: 24h
|
||||||
|
|
||||||
storage_config:
|
storage_config:
|
||||||
boltdb:
|
boltdb_shipper:
|
||||||
directory: {{ env "NOMAD_TASK_DIR" }}/index
|
active_index_directory: {{ env "NOMAD_TASK_DIR" }}/index
|
||||||
|
|
||||||
filesystem:
|
filesystem:
|
||||||
directory: {{ env "NOMAD_TASK_DIR" }}/chunks
|
directory: {{ env "NOMAD_TASK_DIR" }}/chunks
|
||||||
@ -38,8 +34,8 @@ limits_config:
|
|||||||
reject_old_samples_max_age: 168h
|
reject_old_samples_max_age: 168h
|
||||||
|
|
||||||
chunk_store_config:
|
chunk_store_config:
|
||||||
max_look_back_period: 0s
|
max_look_back_period: 168h
|
||||||
|
|
||||||
table_manager:
|
table_manager:
|
||||||
retention_deletes_enabled: false
|
retention_deletes_enabled: true
|
||||||
retention_period: 0s
|
retention_period: 168h
|
||||||
|
@ -3,7 +3,7 @@ module "loki" {
|
|||||||
detach = false
|
detach = false
|
||||||
|
|
||||||
name = "loki"
|
name = "loki"
|
||||||
image = "grafana/loki:2.2.1"
|
image = "grafana/loki:2.8.7"
|
||||||
args = ["--config.file=$${NOMAD_TASK_DIR}/loki-config.yml"]
|
args = ["--config.file=$${NOMAD_TASK_DIR}/loki-config.yml"]
|
||||||
|
|
||||||
service_port = 3100
|
service_port = 3100
|
||||||
|
Loading…
Reference in New Issue
Block a user