Skip to content

Instantly share code, notes, and snippets.

@jakubgs
Created October 30, 2020 12:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jakubgs/7e79e718541691ddc69aee844ca3393d to your computer and use it in GitHub Desktop.
Save jakubgs/7e79e718541691ddc69aee844ca3393d to your computer and use it in GitHub Desktop.
---
auth_enabled: false
# ---------------------- Limits ---------------------------
limits:
ingestion_rate: 100000
ingestion_burst_size: 200000
# ---------------------- MemberList -----------------------
memberlist:
node_name: 'master-01.cortex'
# ---------------------- Server ---------------------------
server:
http_listen_address: '0.0.0.0'
http_listen_port: 9092
grpc_listen_address: '10.1.31.155'
grpc_listen_port: 9095
log_level: 'error'
# ---------------------- Storage --------------------------
storage:
engine: 'chunks'
cassandra:
addresses: '10.1.32.253,10.1.32.252,10.1.32.254'
port: 9042
SSL: false
auth: false
keyspace: 'cortex_metrics'
consistency: 'QUORUM'
replication_factor: 3
index_queries_cache_config:
redis:
endpoint: '127.0.0.1:6379'
db: 1
# ---------------------- Querier --------------------------
query_range:
split_queries_by_interval: '168h'
cache_results: true
results_cache:
cache:
redis:
endpoint: '127.0.0.1:6379'
db: 0
# ---------------------- Table Manager --------------------
table_manager:
retention_deletes_enabled: true
retention_period: '100w'
# ---------------------- Configs --------------------------
configs:
database:
# TODO use postgres
uri: 'memory://'
# ---------------------- Ingester -------------------------
ingester:
lifecycler:
interface_names: [tun0]
walconfig:
wal_enabled: false
checkpoint_enabled: true
checkpoint_duration: '30m'
# ---------------------- Frontend Worker -------------------
frontend_worker:
frontend_address: '10.1.31.155:9095'
# ---------------------- Querier ---------------------------
querier:
max_concurrent: 20
timeout: '2m'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment