Commit graph

2462 commits

Author SHA1 Message Date
Aliaksandr Valialkin
6339cae5de
wip 2024-04-29 03:22:27 +02:00
Aliaksandr Valialkin
d9fdbf907c
wip 2024-04-29 03:20:43 +02:00
Aliaksandr Valialkin
449eade980
wip 2024-04-29 03:08:35 +02:00
Aliaksandr Valialkin
cb42a1a6fc
wip 2024-04-29 02:18:48 +02:00
Aliaksandr Valialkin
ccb4031e62
wip 2024-04-29 02:04:42 +02:00
Aliaksandr Valialkin
fcbad5ac1b
wip 2024-04-29 01:32:11 +02:00
Aliaksandr Valialkin
53c3384bf7
wip 2024-04-29 00:54:32 +02:00
Aliaksandr Valialkin
1b67995907
wip 2024-04-29 00:35:16 +02:00
Aliaksandr Valialkin
20fd87f86f
wip 2024-04-29 00:05:31 +02:00
Aliaksandr Valialkin
24f07dfdc3
wip 2024-04-28 23:19:40 +02:00
Aliaksandr Valialkin
0850e13eb3
wip 2024-04-28 22:52:15 +02:00
Aliaksandr Valialkin
a941bdcdbd
wip 2024-04-28 22:42:50 +02:00
Aliaksandr Valialkin
59b7bef051
wip 2024-04-28 22:15:27 +02:00
Aliaksandr Valialkin
d724da794f
wip 2024-04-28 22:03:27 +02:00
Aliaksandr Valialkin
6d3b506dcf
wip 2024-04-28 16:48:33 +02:00
Aliaksandr Valialkin
0f31264e83
wip 2024-04-28 16:21:08 +02:00
Aliaksandr Valialkin
3008c58ac8
wip 2024-04-28 12:52:55 +02:00
Aliaksandr Valialkin
75914210ec
wip 2024-04-27 22:08:03 +02:00
Aliaksandr Valialkin
f9d0b21bb9
wip 2024-04-27 21:15:56 +02:00
Aliaksandr Valialkin
56d6496319
wip 2024-04-27 20:36:02 +02:00
Aliaksandr Valialkin
d282056124
wip 2024-04-27 04:43:38 +02:00
Aliaksandr Valialkin
91c7902555
wip 2024-04-27 04:26:15 +02:00
Aliaksandr Valialkin
75bbe51a05
wip 2024-04-27 03:31:19 +02:00
Aliaksandr Valialkin
16a91539bd
wip 2024-04-27 03:14:00 +02:00
Aliaksandr Valialkin
2270c42c82
wip 2024-04-27 02:50:19 +02:00
Aliaksandr Valialkin
51b869d458
wip 2024-04-27 01:53:32 +02:00
Aliaksandr Valialkin
9f8dd1ef31
wip 2024-04-27 00:52:15 +02:00
Aliaksandr Valialkin
640b18cd66
wip 2024-04-26 23:47:50 +02:00
Aliaksandr Valialkin
65f09bc641
wip 2024-04-26 00:19:58 +02:00
Aliaksandr Valialkin
5512787b72
lib/logstorage: add support for fields modifier 2024-04-25 03:44:07 +02:00
Aliaksandr Valialkin
d304785936
wip 2024-04-25 02:16:06 +02:00
Aliaksandr Valialkin
984dd2abaf
lib/logstorage: optimize typical AND case 2024-04-25 00:57:48 +02:00
Aliaksandr Valialkin
ffdafc32c6
lib/logstorage: skip scheduled work when stopCh is closed
This saves CPU time
2024-04-24 23:41:20 +02:00
Aliaksandr Valialkin
e42b9d26a9
lib/logstorage: skip log entries if it is impossible to find stream tags for them
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6042
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6127
2024-04-24 23:24:09 +02:00
Aliaksandr Valialkin
543a6b9cee
lib/logstorage: search in partitions in parallel 2024-04-24 23:04:29 +02:00
Aliaksandr Valialkin
e7685164f5
wip 2024-04-24 18:32:58 +02:00
Aliaksandr Valialkin
522415bf56
lib/logstorage: small clarifications in comments 2024-04-23 15:49:58 +02:00
Aliaksandr Valialkin
4770294732
lib/protoparser: substitute hybrid channel-based pools with plain sync.Pool
Using plain sync.Pool simplifies the code without increasing memory usage and CPU usage.
So it is better to use plain sync.Pool from readability and maintainability PoV.

This is a follow-up for 8942f290eb
2024-04-20 21:59:51 +02:00
Aliaksandr Valialkin
7531e9084a
all: use clear() built-in Go function for clearing []prompbmarshal.TimeSeries and []prompbmarshal.Label slices
This makes the code a bit clear.
2024-04-20 21:00:03 +02:00
Aliaksandr Valialkin
6b1cc9b946
lib/storage: search for all the values for the given label before applying filters and limits
It is incorrect applying the limit on the number of values to search without applying filters,
since the returned subset of label values may miss the label values matching the given filters.

This is a follow-up for 66630c7960
2024-04-18 20:29:36 +02:00
Aliaksandr Valialkin
2e3580905f
all: replace old https://docs.victoriametrics.com/relabeling.html url with the new one - https://docs.victoriametrics.com/relabeling/ 2024-04-18 03:22:22 +02:00
Aliaksandr Valialkin
e9642e99f2
all: replace old https://docs.victoriametrics.com/Single-server-VictoriaMetrics.html url with the new one - https://docs.victoriametrics.com/single-server-victoriametrics/ 2024-04-18 03:11:03 +02:00
Aliaksandr Valialkin
828e78ceb4
all: replace old https://docs.victoriametrics.com/sd_configs.html url with the new one - https://docs.victoriametrics.com/sd_configs/ 2024-04-18 02:27:47 +02:00
Aliaksandr Valialkin
4d2b9fe6b2
all: replace old https://docs.victoriametrics.com/stream-aggregation.html url with the new one - https://docs.victoriametrics.com/stream-aggregation/ 2024-04-18 02:19:11 +02:00
Aliaksandr Valialkin
6e6bae3e8d
all: replace old https://docs.victoriametrics.com/vmbackup.html url with the new one - https://docs.victoriametrics.com/vmbackup/ 2024-04-18 01:57:04 +02:00
Aliaksandr Valialkin
c81a633b02
all: replace the outdated url https://docs.victoriametrics.com/vmagent.html with the new one - https://docs.victoriametrics.com/vmagent/ 2024-04-18 01:31:37 +02:00
Aliaksandr Valialkin
66630c7960
lib/storage: improve performance for /api/v1/label/labelName/values when match[] contains only a single filter on labelName
This speeds up auto-suggestion for metric names in VMUI and Grafana, which use the following query in this case:

  /api/v1/label/__name__/values?match[]={__name__=~"*.some_value.*"}

When the user types `some_value` in the query input field.
2024-04-18 01:15:20 +02:00
Aliaksandr Valialkin
50ac22df78
lib/httpserver: add support for automatic issuing of TLS certificates via Lets Encrypt service
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5949
2024-04-17 23:50:57 +02:00
Aliaksandr Valialkin
bd454f5063
lib/netutil: move creation of GetCertificate callback into a separate function
This improves code readability a bit
2024-04-17 22:10:43 +02:00
Aliaksandr Valialkin
dc326f70b4
app/vmagent: support for DNS SRV urls at -remoteWrite.url, scrape target urls and service discovery urls
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6053
2024-04-17 20:54:39 +02:00