fix(bootstraper): adding global variables support

Now we can declare "global" variables, in the "Globals" section the  the
configuration, this variables will be merged into the "Service"
variables and used in the templates. This how we share variables between
services.
This commit is contained in:
2022-07-01 14:56:41 +02:00
parent 9bb4e93d65
commit e9f8ff2506
8 changed files with 1447 additions and 30 deletions

View File

@ -23,7 +23,7 @@ ingester:
final_sleep: 0s
chunk_idle_period: 1h # Any chunk not receiving new logs in this time will be flushed
max_chunk_age: 1h # All chunks will be flushed when they hit this age, default is 1h
chunk_target_size: 1048576 # Vars. will attempt to build chunks up to 1.5MB, flushing first if chunk_idle_period or max_chunk_age is reached first
chunk_target_size: 1048576 # Vars.will attempt to build chunks up to 1.5MB, flushing first if chunk_idle_period or max_chunk_age is reached first
chunk_retain_period: 30s # Must be greater than index read cache TTL if using an index cache (Default index read cache TTL is 5m)
max_transfer_retries: 0 # Chunk transfers disabled
@ -79,4 +79,4 @@ ruler:
ring:
kvstore:
store: inmemory
enable_api: true
nable_api: true