Commit graph

8627 commits

Author SHA1 Message Date
Aliaksandr Valialkin
4c457cf20f
wip 2024-05-11 00:39:12 +02:00
Aliaksandr Valialkin
790f4db6f0
wip 2024-05-10 23:30:18 +02:00
Aliaksandr Valialkin
4ed5ea65c1
wip 2024-05-10 16:41:57 +02:00
Aliaksandr Valialkin
a4b2806330
wip 2024-05-10 16:18:41 +02:00
Aliaksandr Valialkin
b4fd20f17a
wip 2024-05-10 16:14:42 +02:00
Aliaksandr Valialkin
54cc81602e
wip 2024-05-10 15:51:39 +02:00
Aliaksandr Valialkin
0dd32f5144
wip 2024-05-10 15:32:51 +02:00
Aliaksandr Valialkin
86942cb46c
wip 2024-05-10 15:12:19 +02:00
Aliaksandr Valialkin
9767a52ed0
wip 2024-05-10 14:52:24 +02:00
Roman Khavronenko
87fd400dfc
Feature allow configuring disableOnDiskQueue and dropSamplesOnOverload per url (#6248)
* FEATURE: [vmagent](https://docs.victoriametrics.com/vmagent.html):
allow configuring `-remoteWrite.disableOnDiskQueue` and
`-remoteWrite.dropSamplesOnOverload` cmd-line flags per each
`-remoteWrite.url`. See this [pull
request](https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6065).
Thanks to @rbizos for implementaion!
* FEATURE: [vmagent](https://docs.victoriametrics.com/vmagent.html): add
labels `path` and `url` to metrics
`vmagent_remotewrite_push_failures_total` and
`vmagent_remotewrite_samples_dropped_total`. Now number of failed pushes
and dropped samples can be tracked per `-remoteWrite.url`.

---------

Signed-off-by: hagen1778 <roman@victoriametrics.com>
Co-authored-by: Raphael Bizos <r.bizos@criteo.com>
2024-05-10 12:09:21 +02:00
Aliaksandr Valialkin
68dfaa1449
wip 2024-05-10 04:57:40 +02:00
Github Actions
c87ce86d96
Automatic update operator docs from VictoriaMetrics/operator@0829591 (#6250) 2024-05-10 10:57:10 +08:00
Aliaksandr Valialkin
57afedbfe8
wip 2024-05-10 04:52:38 +02:00
Aliaksandr Valialkin
edede71be8
wip 2024-05-09 21:36:26 +02:00
Aliaksandr Valialkin
b2ff38c41e
wip 2024-05-09 21:24:43 +02:00
Aliaksandr Valialkin
713172308e
wip 2024-05-09 21:10:40 +02:00
Aliaksandr Valialkin
6da2f28d36
wip 2024-05-09 20:25:20 +02:00
Aliaksandr Valialkin
28db8795ee
wip 2024-05-09 20:19:01 +02:00
Aliaksandr Valialkin
7c1955d7c3
wip 2024-05-09 20:15:35 +02:00
Aliaksandr Valialkin
dcda92dd89
wip 2024-05-09 17:19:03 +02:00
Aliaksandr Valialkin
15587dc63e
wip 2024-05-09 17:10:24 +02:00
Aliaksandr Valialkin
7b72c6df5b
wip 2024-05-09 15:18:27 +02:00
Aliaksandr Valialkin
9e4abde51d
wip 2024-05-09 14:52:07 +02:00
qiangxuhui
80f3644ee3
Add build support for loong64 (#6222)
### Describe Your Changes

Added makefile rule for `GOARCH=loong64` to support building all
VictoriaMetrics components on the `loongarch64` platform.


### Checklist

The following checks are **mandatory**:
 
* [X] My change adheres [VictoriaMetrics contributing
guidelines](https://docs.victoriametrics.com/contributing/).

Signed-off-by: qiangxuhui <qiangxuhui@loongson.cn>
2024-05-09 14:22:03 +02:00
Aliaksandr Valialkin
790a9491b2
wip 2024-05-09 14:02:53 +02:00
Aliaksandr Valialkin
5a883be63f
wip 2024-05-09 13:58:06 +02:00
Github Actions
a8d0c1a62d
Automatic update operator docs from VictoriaMetrics/operator@4a51b37 (#6245) 2024-05-09 11:40:53 +08:00
Aliaksandr Valialkin
0519b1a714
wip 2024-05-09 02:57:31 +02:00
Aliaksandr Valialkin
48ed6abe75
wip 2024-05-09 02:52:28 +02:00
hagen1778
56531abd56
app/vmselect/vmui: add missing static files
These files weren't added to the git after `make vmui-build vmui-update` command
in commit 7fd9325e62 (diff-50d9a4b91bdad190f2db92553736267103ab4225dfb6642b675fb4b8196e6560)

Related to https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6224

Signed-off-by: hagen1778 <roman@victoriametrics.com>
2024-05-08 14:22:34 +02:00
Roman Khavronenko
8a03e987cb
lib/streamaggr: set correct suffix <output>_prometheus (#6228)
Set correct suffix `<output>_prometheus` for aggregation outputs
`increase_prometheus` and `total_prometheus`
Before, outputs `total` and `total_prometheus` or `increase` and
`increase_prometheus` had the same suffix.

Signed-off-by: hagen1778 <roman@victoriametrics.com>
2024-05-08 13:11:30 +02:00
Andrii Chubatiuk
a9283e06a3
streamaggr: made labels compressor shared (#6173)
Though labels compressor is quite resource intensive, each aggregator
and deduplicator instance has it's own compressor. Made it shared across
all aggregators to consume less resources while using multiple
aggregators.

Co-authored-by: Roman Khavronenko <hagen1778@gmail.com>
2024-05-08 13:10:53 +02:00
Zhu Jiekun
02851d7800
chore: [deployment] upgrade from go 1.22.2 to 1.22.3 to include security fixes (#6238)
### Describe Your Changes

upgrade from go 1.22.2 to 1.22.3 to include security fixes. Also see:
- https://go.dev/doc/devel/release
-
https://github.com/golang/go/issues?q=milestone%3AGo1.22.3+label%3ACherryPickApproved

### Checklist

The following checks are **mandatory**:

- [X] My change adheres [VictoriaMetrics contributing
guidelines](https://docs.victoriametrics.com/contributing/).

Signed-off-by: Jiekun <jiekun.dev@gmail.com>
2024-05-08 10:02:22 +02:00
Zhu Jiekun
17e3d019d2
feature: [vmagent] Add service discovery support for Vultr (#6068)
### Describe Your Changes
related issue:
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6041

#### Added
- Added service discovery support for Vultr.

#### Docs
- `CHANGELOG.md`, `sd_configs.md`, `vmagent.md` are updated.

#### Note
- Useful links: 
- Vultr API:
https://www.vultr.com/api/#tag/instances/operation/list-instances
    - Vultr client SDK: https://github.com/vultr/govultr
- Prometheus SD:
https://github.com/prometheus/prometheus/tree/main/discovery/vultr

---
### Checklist

The following checks are mandatory:

- [X] I have read the [Contributing
Guidelines](https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/CONTRIBUTING.md)
- [x] All commits are signed and include `Signed-off-by` line. Use `git
commit -s` to include `Signed-off-by` your commits. See this
[doc](https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work) about
how to sign your commits.
- [x] Tests are passing locally. Use `make test` to run all tests
locally.
- [x] Linting is passing locally. Use `make check-all` to run all
linters locally.

Further checks are optional for External Contributions:

- [X] Include a link to the GitHub issue in the commit message, if issue
exists.
- [x] Mention the change in the
[Changelog](https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/docs/CHANGELOG.md).
Explain what has changed and why. If there is a related issue or
documentation change - link them as well.

  Tips for writing a good changelog message::

* Write a human-readable changelog message that describes the problem
and solution.
* Include a link to the issue or pull request in your changelog message.
* Use specific language identifying the fix, such as an error message,
metric name, or flag name.
* Provide a link to the relevant documentation for any new features you
add or modify.

- [ ] After your pull request is merged, please add a message to the
issue with instructions for how to test the fix or try the feature you
added. Here is an
[example](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4048#issuecomment-1546453726)
- [x] Do not close the original issue before the change is released.
Please note, in some cases Github can automatically close the issue once
PR is merged. Re-open the issue in such case.
- [x] If the change somehow affects public interfaces (a new flag was
added or updated, or some behavior has changed) - add the corresponding
change to documentation.

Signed-off-by: Jiekun <jiekun.dev@gmail.com>
2024-05-08 10:01:48 +02:00
Aliaksandr Valialkin
dbc809dbc2
wip 2024-05-07 23:47:30 +02:00
Aliaksandr Valialkin
b91501cfa8
wip 2024-05-07 23:44:12 +02:00
Aliaksandr Valialkin
9c4423c1db
wip 2024-05-07 23:38:09 +02:00
Aliaksandr Valialkin
6b63f65baf
wip 2024-05-07 23:35:31 +02:00
Oleg
c6c5a5a186
Statsd protocol compatibility (#5053)
In this PR I added compatibility with [statsd
protocol](https://github.com/b/statsd_spec) with tags to be able to send
metrics directly from statsd clients to vmagent or directly to VM.
For example its compatible with
[statsd-instrument](https://github.com/Shopify/statsd-instrument) and
[dogstatsd-ruby](https://github.com/DataDog/dogstatsd-ruby) gems

Related issues: #5052, #206, #4600
2024-05-07 21:46:08 +02:00
Aliaksandr Valialkin
4e9790bc6a
fix 2024-05-07 21:40:58 +02:00
Github Actions
55c7dafb35
Automatic update operator docs from VictoriaMetrics/operator@2789953 (#6237) 2024-05-07 21:34:57 +02:00
Aliaksandr Valialkin
1225ed591b
wip 2024-05-07 17:05:20 +02:00
Alexander Marshalov
3d4988ecf6
fix typo in scrape config examples (#6234) 2024-05-07 16:52:44 +02:00
Github Actions
134dcaef33
Automatic update operator docs from VictoriaMetrics/operator@6271553 (#6233) 2024-05-07 16:51:39 +02:00
Aliaksandr Valialkin
b1df5ce183
wip 2024-05-07 16:47:47 +02:00
Aliaksandr Valialkin
f0d8284c8a
wip 2024-05-07 13:45:23 +02:00
Ted Possible
5a3abfa041
Exemplar support (#5982)
This code adds Exemplars to VMagent and the promscrape parser adhering
to OpenMetrics Specifications. This will allow forwarding of exemplars
to Prometheus and other third party apps that support OpenMetrics specs.

---------

Signed-off-by: Ted Possible <ted_possible@cable.comcast.com>
2024-05-07 12:09:44 +02:00
Aliaksandr Valialkin
866c070f32
wip 2024-05-06 23:46:00 +02:00
Aliaksandr Valialkin
9f33220e51
wip 2024-05-06 23:09:39 +02:00
Aliaksandr Valialkin
adcdb92b1e
wip 2024-05-06 23:03:42 +02:00