From 7ce87ebcb2e95c2d5a10ff8228ee8cf48e8c199b Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Wed, 13 Jan 2021 12:58:51 +0200 Subject: [PATCH 1/3] docs/CHANGELOG.md: cut v1.52.0 --- docs/CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 5f8ce23bc..43d0c23d6 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -2,6 +2,9 @@ # tip + +# [v1.52.0](https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.52.0) + * FEATURE: provide a sample list of alerting rules for VictoriaMetrics components. It is available [here](https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/deployment/docker/alerts.yml). * FEATURE: disable final merge for data for the previous month at the beginning of new month, since it may result in high disk IO and CPU usage. Final merge can be enabled by setting `-finalMergeDelay` command-line flag to positive duration. * FEATURE: add `tfirst_over_time(m[d])` and `tlast_over_time(m[d])` functions to [MetricsQL](https://victoriametrics.github.io/MetricsQL.html) for returning timestamps for the first and the last data point in `m` over `d` duration. From 184a659c5f4909eafed675e4ae2b8e8efbb5a698 Mon Sep 17 00:00:00 2001 From: mancubus77 Date: Wed, 13 Jan 2021 22:50:37 +1100 Subject: [PATCH 2/3] Doco vmagent fix (#1014) * Update section with remote_write.url for clustered version * fix typo Co-authored-by: mancubus --- docs/vmagent.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/vmagent.md b/docs/vmagent.md index 804168b9c..b469b8bb7 100644 --- a/docs/vmagent.md +++ b/docs/vmagent.md @@ -131,6 +131,10 @@ The `vmagent` can be configured to encrypt the incoming `remote_write` requests Additionally, Basic Auth can be enabled for the incoming `remote_write` requests with `-httpAuth.*` command-line flags. +#### remote_write for clustered version + +Despite `vmagent` can accept data in several supported protocols (OpenTSDB, Influx, Prometheus, Graphite) and scrape data from various targets, writes always peformed in promethes format. Therefore for clustered version `remote_write` should be configured as `://:8480/insert//prometheus/api/v1/write` + ### How to collect metrics in Prometheus format From 75f7c51cab7eca86dace9bbfcd72a6790f6343d9 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Wed, 13 Jan 2021 13:53:14 +0200 Subject: [PATCH 3/3] docs/vmagent.md: follow-up for 184a659c5f4909eafed675e4ae2b8e8efbb5a698 --- app/vmagent/README.md | 4 ++++ docs/vmagent.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/vmagent/README.md b/app/vmagent/README.md index 804168b9c..0c5eb9e58 100644 --- a/app/vmagent/README.md +++ b/app/vmagent/README.md @@ -131,6 +131,10 @@ The `vmagent` can be configured to encrypt the incoming `remote_write` requests Additionally, Basic Auth can be enabled for the incoming `remote_write` requests with `-httpAuth.*` command-line flags. +#### remote_write for clustered version + +Despite `vmagent` can accept data in several supported protocols (OpenTSDB, Influx, Prometheus, Graphite) and scrape data from various targets, writes always peformed in Promethes remote_write protocol. Therefore for clustered version `-remoteWrite.url` command-line flag should be configured as `://:8480/insert//prometheus/api/v1/write` + ### How to collect metrics in Prometheus format diff --git a/docs/vmagent.md b/docs/vmagent.md index b469b8bb7..0c5eb9e58 100644 --- a/docs/vmagent.md +++ b/docs/vmagent.md @@ -133,7 +133,7 @@ Additionally, Basic Auth can be enabled for the incoming `remote_write` requests #### remote_write for clustered version -Despite `vmagent` can accept data in several supported protocols (OpenTSDB, Influx, Prometheus, Graphite) and scrape data from various targets, writes always peformed in promethes format. Therefore for clustered version `remote_write` should be configured as `://:8480/insert//prometheus/api/v1/write` +Despite `vmagent` can accept data in several supported protocols (OpenTSDB, Influx, Prometheus, Graphite) and scrape data from various targets, writes always peformed in Promethes remote_write protocol. Therefore for clustered version `-remoteWrite.url` command-line flag should be configured as `://:8480/insert//prometheus/api/v1/write` ### How to collect metrics in Prometheus format