github.com/muhammadn/cortex@v1.9.1-0.20220510110439-46bb7000d03d/development/tsdb-blocks-storage-swift-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: localhost: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: localhost:8500
    40  
    41  blocks_storage:
    42    backend: swift
    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    swift:
    54      auth_url:          http://localhost:5000/v2.0
    55      username:          admin
    56      password:          s3cr3t
    57      project_name:      admin
    58      region_name:       RegionOne
    59      container_name:    cortex-tsdb
    60  
    61  storage:
    62    engine: blocks
    63  
    64  ruler:
    65    enable_api: true
    66    enable_sharding: true
    67    poll_interval: 2s
    68    ring:
    69      kvstore:
    70        store: consul
    71        consul:
    72          host: localhost:8500
    73  
    74  ruler_storage:
    75    backend: swift
    76    swift:
    77      auth_url:          http://localhost:5000/v2.0
    78      username:          admin
    79      password:          s3cr3t
    80      project_name:      admin
    81      region_name:       RegionOne
    82      container_name: cortex-rules
    83  
    84  runtime_config:
    85    file: ./config/runtime.yaml