Commit graph

8897 commits

Author SHA1 Message Date
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
Aliaksandr Valialkin
ba20bb08d3
wip 2024-05-06 22:27:10 +02:00
Aliaksandr Valialkin
a19611336c
wip 2024-05-06 19:58:08 +02:00
Aliaksandr Valialkin
e54966456c
wip 2024-05-06 19:14:36 +02:00
Aliaksandr Valialkin
97786db05e
wip 2024-05-06 19:02:47 +02:00
Aliaksandr Valialkin
39e0412bfc
initial implementation for sort 2024-05-06 18:35:16 +02:00
hagen1778
2561a132ee
docs: mention influxListenAddr in URLs format doc
Signed-off-by: hagen1778 <roman@victoriametrics.com>
2024-05-06 15:29:24 +02:00
Andrii Chubatiuk
879771808b
app/vmagent/remotewrite: do not cleanup timeseries which are used in multiple remote write contexts (#6206)
When at least one remote write has deduplication configured it cleans up
timeseries while they can be in use by another remote write without
deduplication

https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6205
---------

Signed-off-by: hagen1778 <roman@victoriametrics.com>
Co-authored-by: hagen1778 <roman@victoriametrics.com>
2024-05-06 12:09:51 +02:00
Aliaksandr Valialkin
313aeebf78
wip 2024-05-06 01:45:36 +02:00
Aliaksandr Valialkin
7c99540c1d
wip 2024-05-06 01:39:38 +02:00
Aliaksandr Valialkin
72a4dd876d
wip 2024-05-06 01:32:32 +02:00
Aliaksandr Valialkin
812950013b
wip 2024-05-06 01:27:05 +02:00
Aliaksandr Valialkin
67f0b887fa
wip 2024-05-05 12:48:54 +02:00
Aliaksandr Valialkin
c856b528a8
wip 2024-05-05 12:43:38 +02:00
Aliaksandr Valialkin
f2214f5073
wip 2024-05-05 03:48:29 +02:00
Aliaksandr Valialkin
c716c1f074
wip 2024-05-05 03:11:34 +02:00
Aliaksandr Valialkin
90390cdc02
wip 2024-05-05 03:06:01 +02:00
Aliaksandr Valialkin
bc7dfd5ba4
wip 2024-05-05 00:28:01 +02:00
Aliaksandr Valialkin
f8dcf7be1d
wip 2024-05-03 21:41:30 +02:00
Aliaksandr Valialkin
a4abd688ee
wip 2024-05-03 14:44:05 +02:00
Aliaksandr Valialkin
4ce2e32d4c
wip 2024-05-03 14:03:17 +02:00
Aliaksandr Valialkin
85a60e0743
wip 2024-05-03 13:44:57 +02:00
Aliaksandr Valialkin
63d9a02d46
wip 2024-05-03 13:27:15 +02:00
Aliaksandr Valialkin
ef504e8d9a
wip 2024-05-03 12:54:37 +02:00
Aliaksandr Valialkin
7fd9d31e90
wip 2024-05-03 12:10:45 +02:00
Aliaksandr Valialkin
77e2d0be60
wip 2024-05-03 11:15:09 +02:00
Aliaksandr Valialkin
caf1304ee4
wip 2024-05-02 12:07:29 +02:00
Aliaksandr Valialkin
5c8321c987
wip 2024-05-01 10:44:07 +02:00
Aliaksandr Valialkin
d7def4aa2d
wip 2024-05-01 10:42:39 +02:00
Aliaksandr Valialkin
efe5ec623c
wip 2024-05-01 10:40:04 +02:00
Aliaksandr Valialkin
5efe4eeadd
wip 2024-05-01 10:31:46 +02:00