diff --git a/roles/loki/README.md b/roles/loki/README.md index 32b69488..92b4da46 100644 --- a/roles/loki/README.md +++ b/roles/loki/README.md @@ -215,6 +215,8 @@ Below variables allow you to extend Loki configuration to fit your needs. Always | `loki_runtime_config` | Configuration for `runtime config` module, responsible for reloading runtime configuration file. 📚 [documentation](https://grafana.com/docs/loki/latest/configuration/#runtime_config) | `loki_operational_config` | These are values which allow you to control aspects of Loki's operation, most commonly used for controlling types of higher verbosity logging, the values here can be overridden in the configs section of the `runtime_config` file. 📚 [documentation](https://grafana.com/docs/loki/latest/configure/#operational_config) | `loki_tracing` | Configuration for tracing. 📚 [documentation](https://grafana.com/docs/loki/latest/configuration/#tracing) +| `loki_bloom_build` | The `bloom_build` block configures the Loki bloom planner and builder servers, responsible for building bloom filters. 📚 [documentation](https://grafana.com/docs/loki/latest/configure/#bloom_build) +| `loki_bloom_gateway` | The `bloom_gateway` block configures the Loki bloom gateway server, responsible for serving queries for filtering chunks based on filter expressions. 📚 [documentation](https://grafana.com/docs/loki/latest/configure/#bloom_gateway) ## Playbook diff --git a/roles/loki/defaults/main.yml b/roles/loki/defaults/main.yml index 27072242..8718ac2e 100644 --- a/roles/loki/defaults/main.yml +++ b/roles/loki/defaults/main.yml @@ -106,3 +106,5 @@ loki_analytics: # loki_runtime_config: # loki_operational_config: # loki_tracing: +# loki_bloom_build: +# loki_bloom_gateway: diff --git a/roles/loki/templates/config.yml.j2 b/roles/loki/templates/config.yml.j2 index 72147184..2fadc830 100644 --- a/roles/loki/templates/config.yml.j2 +++ b/roles/loki/templates/config.yml.j2 @@ -97,3 +97,11 @@ analytics: common: {{ loki_common | to_nice_yaml(indent=2,sort_keys=False) | indent(2, False) }} {% endif %} +{% if loki_bloom_build is defined %} +bloom_build: + {{ loki_bloom_build | to_nice_yaml(indent=2,sort_keys=False) | indent(2, False) }} +{% endif %} +{% if loki_bloom_gateway is defined %} +bloom_gateway: + {{ loki_bloom_gateway | to_nice_yaml(indent=2,sort_keys=False) | indent(2, False) }} +{% endif %}