Skip to content

Commit

Permalink
Update docs for -ingester.error-sample-rate
Browse files Browse the repository at this point in the history
  • Loading branch information
bboreham committed Aug 9, 2023
1 parent 50be552 commit 57f37ff
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
11 changes: 11 additions & 0 deletions cmd/mimir/config-descriptor.json
Original file line number Diff line number Diff line change
Expand Up @@ -2751,6 +2751,17 @@
"fieldFlag": "ingester.log-utilization-based-limiter-cpu-samples",
"fieldType": "boolean",
"fieldCategory": "experimental"
},
{
"kind": "field",
"name": "error_sample_rate",
"required": false,
"desc": "Log a subset of errors once in this many times. 0 = log all of them.",
"fieldValue": null,
"fieldDefaultValue": 10,
"fieldFlag": "ingester.error-sample-rate",
"fieldType": "int",
"fieldCategory": "advanced"
}
],
"fieldValue": null,
Expand Down
2 changes: 2 additions & 0 deletions cmd/mimir/help-all.txt.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -1245,6 +1245,8 @@ Usage of ./cmd/mimir/mimir:
Override the default minimum TLS version. Allowed values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13
-ingester.client.tls-server-name string
Override the expected name on the server certificate.
-ingester.error-sample-rate int
Log a subset of errors once in this many times. 0 = log all of them. (default 10)
-ingester.ignore-series-limit-for-metric-names string
Comma-separated list of metric names, for which the -ingester.max-global-series-per-metric limit will be ignored. Does not affect the -ingester.max-global-series-per-user limit.
-ingester.instance-limits.max-inflight-push-requests int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -999,6 +999,11 @@ instance_limits:
# (experimental) Enable logging of utilization based limiter CPU samples.
# CLI flag: -ingester.log-utilization-based-limiter-cpu-samples
[log_utilization_based_limiter_cpu_samples: <boolean> | default = false]
# (advanced) Log a subset of errors once in this many times. 0 = log all of
# them.
# CLI flag: -ingester.error-sample-rate
[error_sample_rate: <int> | default = 10]
```

### querier
Expand Down

0 comments on commit 57f37ff

Please sign in to comment.