chore(inputs.statsd): Do not deprecate convert_names as there is no replacement (#14390)

This commit is contained in:
Sven Rebhan 2023-12-05 18:03:05 +01:00 committed by GitHub
parent b6a480a17c
commit 627aa04845
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

View File

@ -113,6 +113,10 @@ See the [CONFIGURATION.md][CONFIGURATION.md] for more details.
## white space with '_', replace '/' with '-', and remove charachters not
## matching 'a-zA-Z_\-0-9\.;='.
#sanitize_name_method = ""
## Replace dots (.) with underscore (_) and dashes (-) with
## double underscore (__) in metric names.
# convert_names = false
```
## Description

View File

@ -86,3 +86,7 @@
## white space with '_', replace '/' with '-', and remove charachters not
## matching 'a-zA-Z_\-0-9\.;='.
#sanitize_name_method = ""
## Replace dots (.) with underscore (_) and dashes (-) with
## double underscore (__) in metric names.
# convert_names = false

View File

@ -75,7 +75,7 @@ type Statsd struct {
DeleteCounters bool `toml:"delete_counters"`
DeleteSets bool `toml:"delete_sets"`
DeleteTimings bool `toml:"delete_timings"`
ConvertNames bool `toml:"convert_names" deprecated:"0.12.0;1.30.0;use 'metric_separator' instead"`
ConvertNames bool `toml:"convert_names"`
EnableAggregationTemporality bool `toml:"enable_aggregation_temporality"`