Skip to content

Commit

Permalink
Re #123: Using Loki 3.1.0 for integration tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
tkowalcz committed Jul 19, 2024
1 parent e2c06e6 commit 9cafe15
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 55 deletions.
40 changes: 13 additions & 27 deletions core/src/test/resources/loki-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,41 +4,27 @@ server:
http_listen_port: 3100
log_level: debug

ingester:
lifecycler:
address: 127.0.0.1
ring:
kvstore:
store: inmemory
replication_factor: 1
min_ready_duration: 0s
final_sleep: 0s
chunk_idle_period: 5m
chunk_retain_period: 30s
max_transfer_retries: 0
common:
ring:
instance_addr: 127.0.0.1
kvstore:
store: inmemory
replication_factor: 1
path_prefix: /tmp/loki

schema_config:
configs:
- from: 2018-04-15
store: boltdb
- from: 2020-05-15
store: tsdb
object_store: filesystem
schema: v11
schema: v13
index:
prefix: index_
period: 168h
period: 24h

storage_config:
boltdb:
directory: /loki/index

filesystem:
directory: /loki/chunks
directory: /tmp/loki/chunks

limits_config:
enforce_metric_name: false
reject_old_samples: true
reject_old_samples_max_age: 168h

table_manager:
retention_deletes_enabled: false
retention_period: 0s
allow_structured_metadata: false
41 changes: 13 additions & 28 deletions logback-appender/src/test/resources/loki-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,42 +4,27 @@ server:
http_listen_port: 3100
log_level: debug

ingester:
lifecycler:
address: 127.0.0.1
ring:
kvstore:
store: inmemory
replication_factor: 1
min_ready_duration: 0s
final_sleep: 0s
chunk_idle_period: 5m
chunk_retain_period: 30s
max_transfer_retries: 0
common:
ring:
instance_addr: 127.0.0.1
kvstore:
store: inmemory
replication_factor: 1
path_prefix: /tmp/loki

schema_config:
configs:
- from: 2018-04-15
store: boltdb
- from: 2020-05-15
store: tsdb
object_store: filesystem
schema: v11
schema: v13
index:
prefix: index_
period: 168h
period: 24h

storage_config:
boltdb:
directory: /loki/index

filesystem:
directory: /loki/chunks
directory: /tmp/loki/chunks

limits_config:
enforce_metric_name: false
reject_old_samples: true
reject_old_samples_max_age: 168h
max_entries_limit_per_query: 10000

table_manager:
retention_deletes_enabled: false
retention_period: 0s
allow_structured_metadata: false

0 comments on commit 9cafe15

Please sign in to comment.