89 lines
2.2 KiB
YAML
89 lines
2.2 KiB
YAML
auth_enabled: false
|
|
|
|
server:
|
|
http_listen_port: 3100
|
|
|
|
# DISTANT TLS
|
|
grpc_listen_port: 9096
|
|
http_tls_config:
|
|
cert_file: /etc/loki/cert/server.crt
|
|
key_file: /etc/loki/cert/server.key
|
|
client_auth_type: RequireAndVerifyClientCert
|
|
client_ca_file: /etc/loki/cert/ca.crt
|
|
|
|
common:
|
|
path_prefix: /loki
|
|
storage:
|
|
filesystem:
|
|
chunks_directory: /loki/chunks
|
|
rules_directory: /loki/rules
|
|
replication_factor: 1
|
|
ring:
|
|
kvstore:
|
|
store: inmemory
|
|
instance_addr: 127.0.0.1
|
|
|
|
schema_config:
|
|
configs:
|
|
- from: 2020-10-24
|
|
store: boltdb-shipper
|
|
object_store: filesystem
|
|
schema: v11
|
|
index:
|
|
prefix: index_
|
|
period: 24h
|
|
|
|
#limits_config:
|
|
# max_series_per_query: 1000
|
|
|
|
|
|
frontend:
|
|
# Maximum number of outstanding requests per tenant per frontend; requests
|
|
# beyond this error with HTTP 429.
|
|
# CLI flag: -querier.max-outstanding-requests-per-tenant
|
|
max_outstanding_per_tenant: 2048 # default = 100]
|
|
|
|
# query_range:
|
|
# parallelise_shardable_queries: false
|
|
# max_retries: 5
|
|
# split_queries_by_interval: 15m
|
|
# cache_results: true
|
|
# results_cache:
|
|
# cache:
|
|
# enable_fifocache: true
|
|
# fifocache:
|
|
# max_size_items: 1024
|
|
# validity: 24h
|
|
|
|
query_range:
|
|
parallelise_shardable_queries: false
|
|
results_cache:
|
|
cache:
|
|
embedded_cache:
|
|
enabled: true
|
|
max_size_mb: 500
|
|
|
|
chunk_store_config:
|
|
max_look_back_period: 0s
|
|
chunk_cache_config:
|
|
embedded_cache:
|
|
enabled: true
|
|
max_size_mb: 500
|
|
ttl: 24h
|
|
|
|
# analytics:
|
|
# reporting_enabled: false
|
|
|
|
# ruler:
|
|
# alertmanager_url: http://localhost:9093
|
|
|
|
# By default, Loki will send anonymous, but uniquely-identifiable usage and configuration
|
|
# analytics to Grafana Labs. These statistics are sent to https://stats.grafana.org/
|
|
#
|
|
# Statistics help us better understand how Loki is used, and they show us performance
|
|
# levels for most users. This helps us prioritize features and documentation.
|
|
# For more information on what's sent, look at
|
|
# https://github.com/grafana/loki/blob/main/pkg/usagestats/stats.go
|
|
# Refer to the buildReport method to see what goes into a report.
|
|
#
|
|
# If you would like to disable reporting, uncomment the following lines: |