VictoriaMetrics/app/vmagent/remotewrite
Alexander Marshalov 58cf862b05
fixed applying remoteWrite.label for pushed metrics (#4247) (#4824)
vmagent: properly add extra labels before sending data to remote storage

labels from `remoteWrite.label` are now added to sent metrics just before they
 are pushed to `remoteWrite.url` after all relabelings, including stream aggregation relabelings (#4247)

https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4247

Signed-off-by: Alexander Marshalov <_@marshalov.org>
Co-authored-by: Roman Khavronenko <roman@victoriametrics.com>
(cherry picked from commit a27c2f3773)
2023-08-15 13:48:19 +02:00
..
client.go lib/flagutil: add defaultValue arg to NewArray{Int,Bytes,Duration} functions 2023-08-12 04:19:34 -07:00
pendingseries.go app/vmagent: add -remoteWrite.vmProtoCompressLevel command-line flag for tuning the compression level for VictoriaMetrics remote write protocol 2023-02-27 11:04:11 -08:00
pendingseries_test.go app/vmagent/remotewrite: removed unneeded code in testPushWriteRequest after 57801660ab 2023-02-22 17:50:03 -08:00
pendingseries_timing_test.go app/vmagent/remotewrite: go fmt after 2b55d167d7 2022-09-19 15:14:03 +03:00
relabel.go fixed applying remoteWrite.label for pushed metrics (#4247) (#4824) 2023-08-15 13:48:19 +02:00
relabel_test.go fixed applying remoteWrite.label for pushed metrics (#4247) (#4824) 2023-08-15 13:48:19 +02:00
remotewrite.go fixed applying remoteWrite.label for pushed metrics (#4247) (#4824) 2023-08-15 13:48:19 +02:00
statconn.go app/vmagent: properly initialize stdDialer 2022-04-06 14:00:50 +03:00