VictoriaMetrics/app/vmctl
Andrii Chubatiuk 9cfdbc582f
refactoring: changed prompb to prompbmarshal everythere where internal series transformations are happening (#7409)
### Describe Your Changes

doing similar changes for both vmagent and vminsert (like one in
https://github.com/VictoriaMetrics/VictoriaMetrics/pull/7399) ends up
with almost same implementations for each of packages instead of having
this shared code in one place. one of the reasons is the same Timeseries
and Labels structure from different prompb and prompbmarshal packages.
My proposal is to use structures from prompb package only to
marshal/unmarshal sent/received data, but for internal transformations
use only structures from prompbmarshal package

Another example, where it already can help to simplify code is streaming
aggregation pipeline for vmsingle (now it first marshals
prompb.Timeseries to storage.MetricRow and then if streaming aggregation
or deduplication is enabled it unmarshals all the series back but to
prompbmarshal.Timeseries)

### Checklist

The following checks are **mandatory**:

- [ ] My change adheres [VictoriaMetrics contributing
guidelines](https://docs.victoriametrics.com/contributing/).
2024-11-26 12:45:17 +01:00
..
auth app/vmctl: add support of basic auth and barer token (#3921) 2023-03-09 14:53:29 +01:00
backoff vmctl: add --backoff-retries, --backoff-factor, --backoff-min-duration global command-line flags (#6639) 2024-08-03 19:12:48 +02:00
barpool vmctl: disable progress bar for prometheus snapshot migrations (#6385) 2024-06-10 12:20:52 +02:00
deployment all: suppress InvalidDefaultArgInFrom warning emitted by docker build when building Docker packages via make package-* command 2024-09-03 14:00:28 +02:00
influx vmctl: fixed import duplicate data when query result contains multiple series (#7330) 2024-11-06 13:53:49 +01:00
limiter vmctl: add option to rate limit data transfer speed 2022-01-06 12:21:42 +03:00
multiarch app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:12:17 +02:00
native app/vmctl: break explore phase in vm-native mode by time intervals 2024-03-18 12:18:32 +01:00
opentsdb all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:20:37 +02:00
prometheus app/vmctl: switch from table-driven tests to f-tests 2024-07-12 22:39:45 +02:00
remoteread app/vmctl: fix arguments order in httputils.TLSConfig 2024-03-14 11:45:39 +01:00
stepper app/vmctl: switch from table-driven tests to f-tests 2024-07-12 22:39:45 +02:00
terminal all: cleanup: remove // +build ... lines, since they are no longer needed after Go1.17, and the minimum supported Go version for VictoriaMetrics source code is Go1.20 2023-11-13 19:12:51 +01:00
testdata/servers_integration_test app/vmalert: switch from table-driven tests to f-tests 2024-07-12 22:41:11 +02:00
utils app/vlinsert: support _time field without timezone information during data ingestion 2024-09-26 12:49:35 +02:00
vm vmctl: add --backoff-retries, --backoff-factor, --backoff-min-duration global command-line flags (#6639) 2024-08-03 19:12:48 +02:00
flags.go app/vmctl: add command-line flag list to doc 2024-11-14 11:23:48 +01:00
influx.go vmctl: disable progress bar for prometheus snapshot migrations (#6385) 2024-06-10 12:20:52 +02:00
main.go app/vmctl: add command-line flag list to doc 2024-11-14 11:23:48 +01:00
Makefile Add build support for loong64 (#6222) 2024-05-09 14:22:03 +02:00
opentsdb.go app/vmctl: fixes opentsdb source metric tags 2024-10-16 10:35:17 +02:00
prometheus.go vmctl: disable progress bar for prometheus snapshot migrations (#6385) 2024-06-10 12:20:52 +02:00
prometheus_test.go app/vmalert: switch from table-driven tests to f-tests 2024-07-12 22:41:11 +02:00
README.md all: replace old https://docs.victoriametrics.com/vmctl.html url with the new one - https://docs.victoriametrics.com/vmctl/ 2024-04-18 01:53:36 +02:00
remote_read_test.go vmctl: add --backoff-retries, --backoff-factor, --backoff-min-duration global command-line flags (#6639) 2024-08-03 19:12:48 +02:00
remoteread.go vmctl: disable progress bar for prometheus snapshot migrations (#6385) 2024-06-10 12:20:52 +02:00
utils.go vmctl: disable progress bar for prometheus snapshot migrations (#6385) 2024-06-10 12:20:52 +02:00
vm_native.go app/vmctl: fix match expression for vm-native protocol with --vm-native-disable-per-metric-migration flag enabled (#7310) 2024-10-24 14:57:58 +02:00
vm_native_test.go refactoring: changed prompb to prompbmarshal everythere where internal series transformations are happening (#7409) 2024-11-26 12:45:17 +01:00

See vmctl docs here.

vmctl docs can be edited at docs/vmctl.md.