You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Loki 3.1.2, the metric_aggregation_enabled and metric_aggregation configuration options are not working as expected. When these settings are included in the cmd/loki/loki-local-config.yaml file and Loki is started using docker-compose, the following error occurs:
failed parsing config: /etc/loki/local-config.yaml: yaml: unmarshal errors:
line 32: field metric_aggregation_enabled not found intype validation.plain
line 48: field metric_aggregation not found intype pattern.Config. Use `-config.expand-env=true` flag if you want to expand environment variables in your config file
To Reproduce
Steps to reproduce the behavior:
Use Loki 3.1.2(latest) version.
Include the following configuration in loki-local-config.yaml
failed parsing config: /etc/loki/local-config.yaml: yaml: unmarshal errors:
line 32: field metric_aggregation_enabled not found intype validation.plain
line 48: field metric_aggregation not found intype pattern.Config. Use `-config.expand-env=true` flag if you want to expand environment variables in your config file
Expected behavior
I expected that enabling metric_aggregation_enabled: true would activate metric aggregation functionality in Loki. Additionally, the metric_aggregation configuration under pattern_ingester should work as intended for log aggregation.
Environment:
Infrastructure: Ubuntu 24, Docker
Deployment tool: Docker Compose
Screenshots, Promtail config, or terminal output
Here is the relevant section of the loki-local-config.yaml file:
The following error appears when Loki attempts to start
The text was updated successfully, but these errors were encountered:
hoonyworld
changed the title
metric_aggregation_enabled and metric_aggregation settings do not work in Rocky 3.3.2
metric_aggregation_enabled and metric_aggregation settings do not work in Loki 3.3.2
Dec 31, 2024
hoonyworld
changed the title
metric_aggregation_enabled and metric_aggregation settings do not work in Loki 3.3.2
metric_aggregation_enabled and metric_aggregation settings do not work in Loki 3.1.2
Dec 31, 2024
Describe the bug
In Loki 3.1.2, the metric_aggregation_enabled and metric_aggregation configuration options are not working as expected. When these settings are included in the cmd/loki/loki-local-config.yaml file and Loki is started using docker-compose, the following error occurs:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expected that enabling metric_aggregation_enabled: true would activate metric aggregation functionality in Loki. Additionally, the metric_aggregation configuration under pattern_ingester should work as intended for log aggregation.
Environment:
Screenshots, Promtail config, or terminal output
The text was updated successfully, but these errors were encountered: