ansible-role-duckprom

Форк
0
69 строк · 1.9 Кб
1
auth_enabled: false
2

3
server:
4
  http_listen_port: 3100
5

6
ingester:
7
  lifecycler:
8
    address: 127.0.0.1
9
    ring:
10
      kvstore:
11
        store: inmemory
12
      replication_factor: 1
13
    final_sleep: 0s
14
  chunk_idle_period: 1h       # Any chunk not receiving new logs in this time will be flushed
15
  max_chunk_age: 1h           # All chunks will be flushed when they hit this age, default is 1h
16
  chunk_target_size: 1048576  # Loki will attempt to build chunks up to 1.5MB, flushing first if chunk_idle_period or max_chunk_age is reached first
17
  chunk_retain_period: 30s    # Must be greater than index read cache TTL if using an index cache (Default index read cache TTL is 5m)
18
  max_transfer_retries: 0     # Chunk transfers disabled
19
  # --- see https://github.com/grafana/loki/issues/6122
20
  wal:
21
    dir: "/home/loki/wal"
22

23
schema_config:
24
  configs:
25
    - from: 1970-01-01
26
      store: boltdb-shipper
27
      object_store: filesystem
28
      schema: v11
29
      index:
30
        prefix: index_
31
        period: 24h
32

33
storage_config:
34
  boltdb_shipper:
35
    active_index_directory: /loki/boltdb-shipper-active
36
    cache_location: /loki/boltdb-shipper-cache
37
    cache_ttl: 24h         # Can be increased for faster performance over longer query periods, uses more disk space
38
    shared_store: filesystem
39
  filesystem:
40
    directory: /loki/chunks
41

42
compactor:
43
  working_directory: /loki/boltdb-shipper-compactor
44
  shared_store: filesystem
45

46
limits_config:
47
  reject_old_samples: true
48
  reject_old_samples_max_age: 168h
49
  ingestion_burst_size_mb: 16
50
  ingestion_rate_mb: 16
51

52
chunk_store_config:
53
  max_look_back_period: 0s
54

55
table_manager:
56
  retention_deletes_enabled: true
57
  retention_period: {{ duckprom_loki_retention }}
58

59
ruler:
60
  storage:
61
    type: local
62
    local:
63
      directory: /loki/rules
64
  rule_path: /loki/rules-temp
65
  alertmanager_url: localhost
66
  ring:
67
    kvstore:
68
      store: inmemory
69
  enable_api: true
70

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.