github.com/muhammadn/cortex@v1.9.1-0.20220510110439-46bb7000d03d/development/tsdb-blocks-storage-s3-single-binary/config/cortex.yaml (about)

     1  auth_enabled: false
     2  
     3  distributor:
     4    shard_by_all_labels: true
     5    pool:
     6      health_check_ingesters: true
     7  
     8  ingester_client:
     9    grpc_client_config:
    10      # Configure the client to allow messages up to 100MB.
    11      max_recv_msg_size: 104857600
    12      max_send_msg_size: 104857600
    13      grpc_compression: gzip
    14  
    15  ingester:
    16    lifecycler:
    17      # We want to start immediately.
    18      join_after: 0
    19      final_sleep: 0s
    20      num_tokens: 512
    21  
    22      ring:
    23        kvstore:
    24          store: consul
    25          consul:
    26            host: consul:8500
    27        replication_factor: 1
    28  
    29  querier:
    30    query_ingesters_within: 3h
    31  
    32  store_gateway:
    33    sharding_enabled: true
    34    sharding_ring:
    35      replication_factor: 1
    36      kvstore:
    37        store: consul
    38        consul:
    39          host: consul:8500
    40  
    41  blocks_storage:
    42    backend: s3
    43  
    44    tsdb:
    45      dir: /data/cortex-tsdb-ingester
    46      ship_interval: 1m
    47      block_ranges_period: [ 2h ]
    48      retention_period: 3h
    49  
    50    bucket_store:
    51      sync_dir: /data/cortex-tsdb-querier
    52  
    53    s3:
    54      endpoint:          minio:9000
    55      bucket_name:       cortex-tsdb
    56      access_key_id:     cortex
    57      secret_access_key: supersecret
    58      insecure:          true
    59  
    60  storage:
    61    engine: blocks
    62  
    63  ruler:
    64    enable_api: true
    65    enable_sharding: true
    66    poll_interval: 2s
    67    ring:
    68      kvstore:
    69        store: consul
    70        consul:
    71          host: consul:8500
    72  
    73  ruler_storage:
    74    backend: s3
    75    s3:
    76      bucket_name:       cortex-rules
    77      endpoint:          minio:9000
    78      access_key_id:     cortex
    79      secret_access_key: supersecret
    80      insecure: true
    81  
    82  runtime_config:
    83    file: ./config/runtime.yaml