VictoriaMetrics/app/vmagent/remotewrite
Aliaksandr Valialkin be5673c39d
app/vmagent/remotewrite: follow-up after a27c2f3773
- Fix Prometheus-compatible naming after applying the relabeling if -usePromCompatibleNaming command-line flag is set.
  This should prevent from possible Prometheus-incompatible metric names and label names generated by the relabeling.
- Do not return anything from relabelCtx.appendExtraLabels() function, since it cannot change the number of time series
  passed to it. Append labels for the passed time series in-place.
- Remove promrelabel.FinalizeLabels() call after adding extra labels to time series, since this call has been already
  made at relabelCtx.applyRelabeling(). It is user's responsibility if he passes labels with double underscore prefixes
  to -remoteWrite.label.

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4247
2023-08-17 14:47:28 +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 app/vmagent/remotewrite: follow-up after a27c2f3773 2023-08-17 14:47:28 +02:00
relabel_test.go app/vmagent/remotewrite: follow-up after a27c2f3773 2023-08-17 14:47:28 +02:00
remotewrite.go app/vmagent/remotewrite: follow-up after a27c2f3773 2023-08-17 14:47:28 +02:00
statconn.go app/vmagent: properly initialize stdDialer 2022-04-06 14:00:50 +03:00