From 5db2408ab4edd18bbd4f8ade0d8647b1f4ea6974 Mon Sep 17 00:00:00 2001 From: Haley Wang Date: Sat, 16 May 2026 01:42:15 +0800 Subject: [PATCH] fix docs --- docs/victoriametrics/integrations/opentelemetry.md | 6 +++--- docs/victoriametrics/victoria_metrics_common_flags.md | 6 +++--- docs/victoriametrics/vmagent_common_flags.md | 6 +++--- docs/victoriametrics/vminsert_common_flags.md | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/victoriametrics/integrations/opentelemetry.md b/docs/victoriametrics/integrations/opentelemetry.md index f57f150b55..2145ac6941 100644 --- a/docs/victoriametrics/integrations/opentelemetry.md +++ b/docs/victoriametrics/integrations/opentelemetry.md @@ -36,9 +36,9 @@ By default, VictoriaMetrics promotes [OTel scope metadata](https://opentelemetry By default, VictoriaMetrics promotes all [OpenTelemetry resource](https://opentelemetry.io/docs/specs/otel/resource/data-model/) attributes to labels and attaches them to all ingested OTLP metrics. The following attribute promotion options can be configured: -- `opentelemetry.promoteAllResourceAttributes` - promotes all resource attributes to labels, except for the ones configured with `-opentelemetry.ignoreResourceAttributes`. -- `opentelemetry.promoteResourceAttributes` - promotes specific list of resource attributes to labels. It cannot be configured simultaneously with `opentelemetry.promoteAllResourceAttributes`. -- `opentelemetry.ignoreResourceAttributes` - controls which resource attributes to ignore, can only be set when `opentelemetry.promoteAllResourceAttributes` is true. +* `-opentelemetry.promoteAllResourceAttributes` - promotes all resource attributes to labels, except for the ones configured with `-opentelemetry.ignoreResourceAttributes`. +* `-opentelemetry.promoteResourceAttributes` - promotes specific list of resource attributes to labels. It cannot be configured simultaneously with `-opentelemetry.promoteAllResourceAttributes`. +* `-opentelemetry.ignoreResourceAttributes` - controls which resource attributes to ignore, can only be set when `-opentelemetry.promoteAllResourceAttributes` is true. ## Exponential histograms diff --git a/docs/victoriametrics/victoria_metrics_common_flags.md b/docs/victoriametrics/victoria_metrics_common_flags.md index 95cb9febb7..b82734e74e 100644 --- a/docs/victoriametrics/victoria_metrics_common_flags.md +++ b/docs/victoriametrics/victoria_metrics_common_flags.md @@ -222,10 +222,10 @@ See the docs at https://docs.victoriametrics.com/victoriametrics/ -opentelemetry.maxRequestSize size The maximum size in bytes of a single OpenTelemetry request Supports the following optional suffixes for size values: KB, MB, GB, TB, KiB, MiB, GiB, TiB (default 67108864) - -opentelemetry.promoteAllResourceAttributes array - Promote specific list of resource attributes to labels. - -opentelemetry.promoteResourceAttributes + -opentelemetry.promoteAllResourceAttributes Whether to promote all resource attributes to labels, except for the ones configured with 'opentelemetry.ignoreResourceAttributes'. + -opentelemetry.promoteResourceAttributes array + Promote specific list of resource attributes to labels. -opentelemetry.promoteScopeMetadata Whether to promote OTel scope metadata (i.e. name, version, schema URL, and attributes) to metric labels. -opentelemetry.usePrometheusNaming diff --git a/docs/victoriametrics/vmagent_common_flags.md b/docs/victoriametrics/vmagent_common_flags.md index 080882b2d1..c46db2e28e 100644 --- a/docs/victoriametrics/vmagent_common_flags.md +++ b/docs/victoriametrics/vmagent_common_flags.md @@ -189,10 +189,10 @@ See the docs at https://docs.victoriametrics.com/victoriametrics/vmagent/ . -opentelemetry.maxRequestSize size The maximum size in bytes of a single OpenTelemetry request Supports the following optional suffixes for size values: KB, MB, GB, TB, KiB, MiB, GiB, TiB (default 67108864) - -opentelemetry.promoteAllResourceAttributes array - Promote specific list of resource attributes to labels. - -opentelemetry.promoteResourceAttributes + -opentelemetry.promoteAllResourceAttributes Whether to promote all resource attributes to labels, except for the ones configured with 'opentelemetry.ignoreResourceAttributes'. + -opentelemetry.promoteResourceAttributes array + Promote specific list of resource attributes to labels. -opentelemetry.promoteScopeMetadata Whether to promote OTel scope metadata (i.e. name, version, schema URL, and attributes) to metric labels. -opentelemetry.usePrometheusNaming diff --git a/docs/victoriametrics/vminsert_common_flags.md b/docs/victoriametrics/vminsert_common_flags.md index 4a8e88b9e2..511b9e9a92 100644 --- a/docs/victoriametrics/vminsert_common_flags.md +++ b/docs/victoriametrics/vminsert_common_flags.md @@ -189,10 +189,10 @@ See the docs at https://docs.victoriametrics.com/victoriametrics/cluster-victori -opentelemetry.maxRequestSize size The maximum size in bytes of a single OpenTelemetry request Supports the following optional suffixes for size values: KB, MB, GB, TB, KiB, MiB, GiB, TiB (default 67108864) - -opentelemetry.promoteAllResourceAttributes array - Promote specific list of resource attributes to labels. - -opentelemetry.promoteResourceAttributes + -opentelemetry.promoteAllResourceAttributes Whether to promote all resource attributes to labels, except for the ones configured with 'opentelemetry.ignoreResourceAttributes'. + -opentelemetry.promoteResourceAttributes array + Promote specific list of resource attributes to labels. -opentelemetry.promoteScopeMetadata Whether to promote OTel scope metadata (i.e. name, version, schema URL, and attributes) to metric labels. -opentelemetry.usePrometheusNaming