VictoriaMetrics/app/vmagent/remotewrite
Eugene Ma 744d513181
vmagent: support sharding by excluded labels (#5938)
To horizontally scale streaming aggregation, you might want to deploy a separate hashing tier
of vmagents that route to a separate aggregation tier. The hashing tier should shard by all labels
except the instance-level labels, to ensure the input metrics are routed correctly to the aggregator
instance responsible for those labels.
For this to achieve we introduce `remoteWrite.shardByURL.inverseLabels` flag to inverse logic of `remoteWrite.shardByURL.labels`

---------

Co-authored-by: Eugene Ma <eugene.ma@airbnb.com>
Co-authored-by: Roman Khavronenko <roman@victoriametrics.com>
(cherry picked from commit 166b97b8d0)
2024-03-29 14:10:15 +01:00
..
client.go [vmagent] added ingestion rate limiting with new flag -maxIngestionRate (#5900) 2024-03-25 15:42:52 +01:00
pendingseries.go app: consistently use atomic.* types instead of atomic.* functions 2024-02-24 03:06:14 +02:00
pendingseries_test.go lib/prompbmarshal: switch to github.com/VictoriaMetrics/easyproto 2024-01-16 20:48:30 +02:00
pendingseries_timing_test.go lib/prompbmarshal: switch to github.com/VictoriaMetrics/easyproto 2024-01-16 20:48:30 +02:00
relabel.go app/vmagent: add -enableMultitenantHandlers command-line flag 2023-12-05 01:35:59 +02:00
relabel_test.go app/vmagent/remotewrite: fix data race when extra labels are added to samples before sending them to multiple remote storage systems 2023-09-08 23:26:40 +02:00
remotewrite.go vmagent: support sharding by excluded labels (#5938) 2024-03-29 14:10:15 +01:00
statconn.go app: consistently use atomic.* types instead of atomic.* functions 2024-02-24 03:06:14 +02:00