From f2346a79b6f4c298607ee0eda1f0d104fa456c5b Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Mon, 27 Nov 2023 11:13:32 +0200 Subject: [PATCH] docs/Cluster-VictoriaMetrics.md: document that multitenancy via labels is applied to data ingested via non-http protocols Updates https://github.com/VictoriaMetrics/VictoriaMetrics/pull/3009 --- README.md | 5 +++++ docs/Cluster-VictoriaMetrics.md | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/README.md b/README.md index 739e923bdf..80b1ef4b25 100644 --- a/README.md +++ b/README.md @@ -99,6 +99,11 @@ while the `http_requests_total{path="/bar"} 34` would be stored in the tenant `a The `vm_account_id` and `vm_project_id` labels are extracted after applying the [relabeling](https://docs.victoriametrics.com/relabeling.html) set via `-relabelConfig` command-line flag, so these labels can be set at this stage. +The `vm_account_id` and `vm_project_id` labels are also taken into account when ingesting data via non-http-based protocols +such as [Graphite](https://docs.victoriametrics.com/#how-to-send-data-from-graphite-compatible-agents-such-as-statsd), +[InfluxDB line protocol via TCP and UDP](https://docs.victoriametrics.com/#how-to-send-data-from-influxdb-compatible-agents-such-as-telegraf) and +[OpenTSDB telnet put protocol](https://docs.victoriametrics.com/#sending-data-via-telnet-put-protocol). + **Security considerations:** it is recommended restricting access to `multitenant` endpoints only to trusted sources, since untrusted source may break per-tenant data by writing unwanted samples to arbitrary tenants. diff --git a/docs/Cluster-VictoriaMetrics.md b/docs/Cluster-VictoriaMetrics.md index cae5314a57..4d5177fb1c 100644 --- a/docs/Cluster-VictoriaMetrics.md +++ b/docs/Cluster-VictoriaMetrics.md @@ -110,6 +110,11 @@ while the `http_requests_total{path="/bar"} 34` would be stored in the tenant `a The `vm_account_id` and `vm_project_id` labels are extracted after applying the [relabeling](https://docs.victoriametrics.com/relabeling.html) set via `-relabelConfig` command-line flag, so these labels can be set at this stage. +The `vm_account_id` and `vm_project_id` labels are also taken into account when ingesting data via non-http-based protocols +such as [Graphite](https://docs.victoriametrics.com/#how-to-send-data-from-graphite-compatible-agents-such-as-statsd), +[InfluxDB line protocol via TCP and UDP](https://docs.victoriametrics.com/#how-to-send-data-from-influxdb-compatible-agents-such-as-telegraf) and +[OpenTSDB telnet put protocol](https://docs.victoriametrics.com/#sending-data-via-telnet-put-protocol). + **Security considerations:** it is recommended restricting access to `multitenant` endpoints only to trusted sources, since untrusted source may break per-tenant data by writing unwanted samples to arbitrary tenants.