Aliaksandr Valialkin
33a01c659b
wip
2024-05-15 02:45:43 +02:00
Aliaksandr Valialkin
42c49c37ff
wip
2024-05-14 22:34:45 +02:00
Aliaksandr Valialkin
87183112f3
wip
2024-05-14 22:31:21 +02:00
Aliaksandr Valialkin
f26d593c7b
wip
2024-05-14 22:11:51 +02:00
Aliaksandr Valialkin
447a7f0bdf
wip
2024-05-14 19:35:08 +02:00
Aliaksandr Valialkin
388b608a6e
Merge branch 'public-single-node' into victorialogs-wip
2024-05-14 19:05:18 +02:00
Aliaksandr Valialkin
b617dc9c0b
lib/streamaggr: properly return output key from getOutputKey
...
The bug has been introduced in cc2647d212
2024-05-14 17:47:21 +02:00
Roman Khavronenko
b0c1f3d819
app/vmalert/rule: reduce number of allocations for getStaleSeries fn ( #6269 )
...
Allocations are reduced by re-using the byte buffer when converting
labels to string keys.
```
name old allocs/op new allocs/op delta
GetStaleSeries-10 703 ± 0% 203 ± 0% ~ (p=1.000 n=1+1)
```
Signed-off-by: hagen1778 <roman@victoriametrics.com>
2024-05-14 14:43:39 +02:00
Nikolay
6a6e34ab8e
app/vmauth: explicitly unregister metrics set for auth config ( #6252 )
...
it's needed to remove Summary metric type from the global state of
metrics package. metrics package tracks each bucket of summary and
periodically swaps old buckets with new.
Simple set unregister is not enough to release memory used by Set
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6247
2024-05-14 09:26:50 +02:00
Aliaksandr Valialkin
c90e6de13b
docs/VictoriaLogs/CHANGELOG.md: cut v0.6.1-victorialogs
2024-05-14 03:06:53 +02:00
Aliaksandr Valialkin
da3af090c6
lib/logstorage: work-in-progress
2024-05-14 03:05:03 +02:00
Aliaksandr Valialkin
2314cdc38d
wip
2024-05-14 03:04:11 +02:00
Aliaksandr Valialkin
1834c68250
lib/logstorage/pipe_sort.go: wip
2024-05-14 02:03:59 +02:00
Aliaksandr Valialkin
cb35e62e04
lib/logstorage: work-in-progress
...
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6258
2024-05-14 01:49:23 +02:00
Aliaksandr Valialkin
5c4679ba01
Merge branch 'public-single-node' into victorialogs-wip
2024-05-14 01:41:28 +02:00
Aliaksandr Valialkin
cc2647d212
lib/encoding: optimize UnmarshalVarUint64, UnmarshalVarInt64 and UnmarshalBytes a bit
...
Change the return values for these functions - now they return the unmarshaled result plus
the size of the unmarshaled result in bytes, so the caller could re-slice the src for further unmarshaling.
This improves performance of these functions in hot loops of VictoriaLogs a bit.
2024-05-14 01:23:54 +02:00
Aliaksandr Valialkin
f51915f31c
Merge branch 'public-single-node' into victorialogs-wip
2024-05-14 00:56:25 +02:00
Aliaksandr Valialkin
b03c672227
wip
2024-05-14 00:50:32 +02:00
Aliaksandr Valialkin
dafd45d4c6
wip
2024-05-14 00:05:48 +02:00
Aliaksandr Valialkin
e6570f22d0
wip
2024-05-13 23:56:49 +02:00
Aliaksandr Valialkin
435506b223
wip
2024-05-13 23:44:44 +02:00
Aliaksandr Valialkin
812dfd9465
wip
2024-05-13 23:25:29 +02:00
Aliaksandr Valialkin
f0c48e35d3
wip
2024-05-13 22:56:22 +02:00
Aliaksandr Valialkin
aa21c9492e
wip
2024-05-13 22:30:03 +02:00
Aliaksandr Valialkin
69a6543609
wip
2024-05-13 22:12:18 +02:00
Aliaksandr Valialkin
707f3a69db
lib/stringsutil: add LessNatural() function for natural sorting
...
Natural sorting is needed for sort_by_label_natural() and sort_by_label_natural_desc()
functions in MetricsQL - see https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6192
and https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6256
Natural sorting will be also used by `| sort ...` pipe in VictoriaLogs -
see https://docs.victoriametrics.com/victorialogs/logsql/#sort-pipe
2024-05-13 16:56:47 +02:00
Aliaksandr Valialkin
52f08d7a19
wip
2024-05-13 16:52:54 +02:00
Aliaksandr Valialkin
900e558678
wip
2024-05-13 16:45:34 +02:00
Hui Wang
4c80b17027
storage: correctly apply -inmemoryDataFlushInterval
when it's set t… ( #6221 )
...
…o minimum supported value 1s
pendingRowsFlushInterval was bumped to 2s in
73f0a805e2
2024-05-13 16:44:30 +02:00
Andrii Chubatiuk
ce25d68b45
lib/streamaggr: added rate_sum and rate_avg to benchmarks, lint fix ( #6264 )
...
fixed lint for rate outputs
2024-05-13 16:40:37 +02:00
Aliaksandr Valialkin
9673da2578
Merge branch 'public-single-node' into victorialogs-wip
2024-05-13 16:37:03 +02:00
Aliaksandr Valialkin
75509644bd
wip
2024-05-13 16:07:36 +02:00
Aliaksandr Valialkin
09e81cb5aa
wip
2024-05-13 15:59:25 +02:00
Andrii Chubatiuk
9c3d44c8c9
lib/streamaggr: added rate and rate_avg output ( #6243 )
...
Added `rate` and `rate_avg` output
Resource usage is the same as for increase output, tested on a benchmark
---------
Signed-off-by: hagen1778 <roman@victoriametrics.com>
Co-authored-by: hagen1778 <roman@victoriametrics.com>
2024-05-13 15:39:49 +02:00
hagen1778
17283fab6c
lib/logstorage: make linter happy
...
Signed-off-by: hagen1778 <roman@victoriametrics.com>
2024-05-13 15:35:11 +02:00
Andrii Chubatiuk
680b8c25c8
app/vmagent: removed deprecated -remoteWrite.multitenantURL flag support ( #6253 )
...
Removed deprecated `-remoteWrite.multitenantURL` flag to simplify global
stream aggregation
---------
Signed-off-by: hagen1778 <roman@victoriametrics.com>
Co-authored-by: hagen1778 <roman@victoriametrics.com>
2024-05-13 15:22:37 +02:00
Aliaksandr Valialkin
ecd51e48ec
wip
2024-05-13 14:00:33 +02:00
Yury Molodov
37c22ee053
vmui/vmanomaly: add download config button ( #6231 )
...
This pull request adds a button to the vmanomaly ui that opens a modal
window for viewing and downloading the config file.
<img width="610" alt="button"
src="https://github.com/VictoriaMetrics/VictoriaMetrics/assets/29711459/0132b178-eb73-4272-8144-be7ed2a8dcaf ">
<img height="300" alt="error"
src="https://github.com/VictoriaMetrics/VictoriaMetrics/assets/29711459/6d9f2627-77d7-4ce6-b73b-542ce1bbc999 ">
<img height="300" alt="modal"
src="https://github.com/VictoriaMetrics/VictoriaMetrics/assets/29711459/680bffdd-d6a3-445e-bd48-8f0feb30016e ">
2024-05-13 12:25:31 +02:00
Yury Molodov
29bd120126
vmui/vmanomaly: fix default server url ( #6178 )
...
This PR for ui vmanomaly eliminates URL parameters to automatically use
the default server URL, simplifying URLs like:
From http://localhost:3000/#/?g0.expr=vm_blocks ... to
http://localhost:3000
From http://localhost:3000/select/0/vmui/#/?g0.expr=vm_blocks ... to
http://localhost:3000/select/0/vmui/ etc.
2024-05-13 12:24:50 +02:00
Aliaksandr Valialkin
51eb3134c0
Merge branch 'public-single-node' into victorialogs-wip
2024-05-13 12:17:14 +02:00
Aliaksandr Valialkin
de98688489
deployment: update VictoriaLogs Docker image from v0.5.2-victorialogs to v0.6.0-victorialogs
...
See https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v0.6.0-victorialogs
2024-05-12 23:22:50 +02:00
Aliaksandr Valialkin
bd75c0a898
deployment/docker/Makefile: group app-via-docker-* and package-via-docker-* rules with CGO_ENABLED=1 together for better maintainability
2024-05-12 23:09:55 +02:00
Aliaksandr Valialkin
cb19335a9f
deployment/docker/Makefile: rename EXTRA_ENVS to EXTRA_DOCKER_ENVS
...
The purpose of EXTRA_DOCKER_ENVS name is more clear than EXTRA_ENVS.
While at it, make the following small fixes:
- Pass GOARM=5 to Docker builder when building Docker packages for GOARCH=arm in the same way
it is passed to the builder when building production binaries for GOARCH=arm.
See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4965
- Set GCO_ENABLED=1 for package-via-docker-amd64, which has been accidentally removed in 07496d7d92
- Consistently use 'CGO_ENABLED=... GOARCH=...' order of env vars at package-via-docker-*,
because this order is used in app-via-docker-*
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6158
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6172
This is a follow-up for 07496d7d92
and 7958f38864
2024-05-12 22:41:38 +02:00
Aliaksandr Valialkin
8466ab109c
docs/VictoriaLogs/LogsQL.md: cross-reference uniq pipe with uniq_values stats function
2024-05-12 16:45:24 +02:00
Aliaksandr Valialkin
89c4dc1d8d
docs/VictoriaLogs/CHANGELOG.md: cut v0.6.0-victorialogs
2024-05-12 16:38:01 +02:00
Aliaksandr Valialkin
8c394eb841
Merge branch 'public-single-node' into victorialogs-wip
2024-05-12 16:37:04 +02:00
Aliaksandr Valialkin
9dbd0f9085
lib/logstorage: initial implementation of pipes in LogsQL
...
See https://docs.victoriametrics.com/victorialogs/logsql/#pipes
2024-05-12 16:33:31 +02:00
Aliaksandr Valialkin
e66465cb03
lib/encoding: optimizing UnmarshalVarUint64 and UnmarshalVarInt64 a bit
2024-05-12 16:32:11 +02:00
Aliaksandr Valialkin
fe6fac7ed3
Merge branch 'public-single-node' into victorialogs-wip
2024-05-12 16:28:34 +02:00
Aliaksandr Valialkin
51de9f30fc
vendor: run make vendor-update
2024-05-12 16:17:38 +02:00