Now that label cardinality is no longer an issue since the actual labels sent to Loki are limited. We can expose the DEBUG_HEADERS configuration option that allows logging all request/response headers.
The code has been there since the beginning but storing everything as labels had a big performance impact when querying. Also, it was quite common to hit the default maximum number of allowed labels by Loki.
Now that label cardinality is no longer an issue since the actual labels sent to Loki are limited. We can expose the
DEBUG_HEADERSconfiguration option that allows logging all request/response headers.The code has been there since the beginning but storing everything as labels had a big performance impact when querying. Also, it was quite common to hit the default maximum number of allowed labels by Loki.
DEBUGconfiguration to the worker settings.