Skip to content
Snippets Groups Projects
Unverified Commit 199746a1 authored by Goutham Veeramachaneni's avatar Goutham Veeramachaneni Committed by GitHub
Browse files

Make sure the default for EnforceMetricName is :white_check_mark: (#518)

parent b85609e5
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,3 @@ storage_config:
filesystem:
directory: /tmp/loki/chunks
limits_config:
enforce_metric_name: false
......@@ -29,6 +29,9 @@ func main() {
flagext.RegisterFlags(&cfg)
flag.Parse()
// The flags set the EnforceMetricName to be true, but in loki it _should_ be false.
cfg.LimitsConfig.EnforceMetricName = false
util.InitLogger(&cfg.Server)
if configFile != "" {
......
......@@ -32,8 +32,6 @@ config:
# prefix: ""
# httpclienttimeout: "20s"
# consistentreads: true
limits_config:
enforce_metric_name: false
schema_config:
configs:
- from: 0
......
......@@ -29,10 +29,6 @@
grpc_server_max_recv_msg_size: 1024 * 1024 * 64,
},
limits_config: {
enforce_metric_name: false,
},
ingester: {
chunk_idle_period: '15m',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment