Create consul_config.yaml

pull/1/head
Ruan Bekker 3 years ago committed by GitHub
parent 03deb1fe42
commit fe7c7a25bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 82
      logging-loki/loki/configs/loki/consul_config.yaml

@ -0,0 +1,82 @@
auth_enabled: false
server:
http_listen_port: 3100
ingester:
lifecycler:
ring:
kvstore:
store: consul
consul:
host: loki-consul:8500
heartbeat_timeout: 1m
replication_factor: 1
num_tokens: 128
heartbeat_period: 5s
join_after: 0s
min_ready_duration: 10s
interface_names:
- "eth0"
final_sleep: 30s
chunk_idle_period: 5m
chunk_retain_period: 30s
schema_config:
configs:
- from: 2020-05-15
store: boltdb-shipper
object_store: s3
schema: v11
index:
prefix: loki_
period: 24h
storage_config:
aws:
bucketnames: loki
endpoint: minio.$DOMAIN
access_key_id: EXAMPLEACCESSKEY
secret_access_key: EXAMPLEACCESSSECRET
insecure: false
s3forcepathstyle: true
#s3: s3://EXAMPLEACCESSKEY:EXAMPLEACCESSSECRET@minio.:3000/loki
#s3forcepathstyle: true
boltdb_shipper:
active_index_directory: /loki/index
cache_location: /loki/index_cache
resync_interval: 5s
shared_store: s3
limits_config:
enforce_metric_name: false
reject_old_samples: true
reject_old_samples_max_age: 168h
chunk_store_config:
chunk_cache_config:
redis:
endpoint: "loki-redis:6379"
timeout: 100ms
expiration: 0s
max_look_back_period: 0s
write_dedupe_cache_config:
redis:
endpoint: "loki-redis:6379"
timeout: 100ms
expiration: 0s
table_manager:
chunk_tables_provisioning:
inactive_read_throughput: 1
inactive_write_throughput: 1
provisioned_read_throughput: 5
provisioned_write_throughput: 5
index_tables_provisioning:
inactive_read_throughput: 1
inactive_write_throughput: 1
provisioned_read_throughput: 5
provisioned_write_throughput: 5
retention_deletes_enabled: false
retention_period: 0s
Loading…
Cancel
Save