mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2026-05-17 00:26:36 +03:00
Previously, vmagent ignored tenant ID information obtained from `__tenant_id__` label for metrics metadata. It made it impossible to route metrics metadata to the `/multitenant` endpoints. This commit adds tenant ID to the metrics metadata. It also fixes VMagent multitenant ingestion endpoints. Previously, the tenant info defined there was not properly set to metadata. Fixes https://github.com/VictoriaMetrics/VictoriaMetrics/issues/10828 PR https://github.com/VictoriaMetrics/VictoriaMetrics/pull/10865 --------- Signed-off-by: Nikolay <nik@victoriametrics.com> Signed-off-by: f41gh7 <nik@victoriametrics.com> Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> Co-authored-by: Max Kotliar <mkotlyar@victoriametrics.com>