From 4c8e01b312a5604c32e54625e3f2ab2c61a09a8f Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Wed, 11 Nov 2020 14:59:06 +0200 Subject: [PATCH] docs/Single-server-VictoriaMetrics.md: document `-search.treatDotsAsIsInRegexps` command-line option --- README.md | 5 +++++ docs/Single-server-VictoriaMetrics.md | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/README.md b/README.md index b68811da5..9fc497bab 100644 --- a/README.md +++ b/README.md @@ -1243,6 +1243,11 @@ VictoriaMetrics also exposes currently running queries with their execution time This prevents from ingesting metrics with too many labels. It is recommended [monitoring](#monitoring) `vm_metrics_with_dropped_labels_total` metric in order to determine whether `-maxLabelsPerTimeseries` must be adjusted for your workload. +* If you store Graphite metrics like `foo.bar.baz` in VictoriaMetrics, then `-search.treatDotsAsIsInRegexps` command-line flag could be useful. + By default `.` chars in regexps match any char. If you need matching only dots, then the `\\.` must be used in regexp filters. + When `-search.treatDotsAsIsInRegexps` option is enabled, then dots in regexps are automatically escaped in order to match only dots instead of arbitrary chars. + This may significantly increase performance when locating time series for the given label filters. + * VictoriaMetrics ignores `NaN` values during data ingestion. diff --git a/docs/Single-server-VictoriaMetrics.md b/docs/Single-server-VictoriaMetrics.md index b68811da5..9fc497bab 100644 --- a/docs/Single-server-VictoriaMetrics.md +++ b/docs/Single-server-VictoriaMetrics.md @@ -1243,6 +1243,11 @@ VictoriaMetrics also exposes currently running queries with their execution time This prevents from ingesting metrics with too many labels. It is recommended [monitoring](#monitoring) `vm_metrics_with_dropped_labels_total` metric in order to determine whether `-maxLabelsPerTimeseries` must be adjusted for your workload. +* If you store Graphite metrics like `foo.bar.baz` in VictoriaMetrics, then `-search.treatDotsAsIsInRegexps` command-line flag could be useful. + By default `.` chars in regexps match any char. If you need matching only dots, then the `\\.` must be used in regexp filters. + When `-search.treatDotsAsIsInRegexps` option is enabled, then dots in regexps are automatically escaped in order to match only dots instead of arbitrary chars. + This may significantly increase performance when locating time series for the given label filters. + * VictoriaMetrics ignores `NaN` values during data ingestion.