f41gh7
205428984d
vendor: update github.com/prometheus/prometheus
2026-05-08 13:38:18 +02:00
Max Kotliar
727abb0b57
go.mod: update metricsql to version that fixes bug in binary op evaluation ordering
...
The commit in metricsql
d0bc93816e
introduced a bug that changes an order of binary op evaluation. This
commit updates to metricsql version that fixes a bug by reverting to
previous behavior.
The bug was introduced in v1.140.0, v1.136.4, and v1.122.19 releases.
It was reported in
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/10856
2026-04-22 20:40:00 +03:00
f41gh7
431dda673e
vendor: update metrics and metrisql libs
2026-04-17 11:10:07 +02:00
Aliaksandr Valialkin
7ef08b1781
vendor: update github.com/VictoriaMetrics/VictoriaLogs from v1.50.1-0.20260415114444-d5b5febe4954 to github.com/VictoriaMetrics/VictoriaLogs v1.50.1-0.20260415124154-6b7a6357aec0
...
This is needed for vmalert, so it accepts LogsQL queries with 'limit' and 'offset' pipes.
See https://github.com/VictoriaMetrics/VictoriaLogs/issues/1296#issuecomment-4252036978
2026-04-15 14:45:01 +02:00
Aliaksandr Valialkin
969cb5b4ae
vendor: run make vendor-update
2026-04-15 14:03:53 +02:00
Aliaksandr Valialkin
b9f0e614bd
vendor: update github.com/VictoriaMetrics/VictoriaLogs from v0.0.0-20260218111324-95b48d57d032 to v1.50.1-0.20260415114444-d5b5febe4954
2026-04-15 13:54:46 +02:00
f41gh7
0e9870b7a9
vendor: run go get -u ./lib/...
...
go get -u ./app/...
go mod tidy -compat=1.26
go mod vendor
2026-04-09 09:34:03 +02:00
Zhu Jiekun
4438454567
vendor: update metrics package with fix unsupported metric type for summary ( #10745 )
...
Fix `unsupported` metric type display in exposed metric metadata for
summaries and quantiles by bumping `metrics` SDK version.
This `unsupported` type exists when a summary is not updated within a
certain time window. See https://github.com/VictoriaMetrics/metrics/issues/120 and pull
request https://github.com/VictoriaMetrics/metrics/pull/121 for details.
Signed-off-by: Zhu Jiekun <jiekun@victoriametrics.com >
Signed-off-by: Max Kotliar <kotlyar.maksim@gmail.com >
Co-authored-by: Max Kotliar <mkotlyar@victoriametrics.com >
2026-04-03 16:06:47 +03:00
Max Kotliar
08dd38d4a0
vendor: update https://github.com/VictoriaMetrics/metricsql from v0.85.0 to v0.86.0
...
It contains https://github.com/VictoriaMetrics/metricsql/pull/63 that
reduce number of parentheses added.
It should improve prettify functinality in vmui
2026-04-02 15:42:01 +03:00
Aliaksandr Valialkin
815cc97952
vendor: update github.com/VictoriaMetrics/metrics from v1.42.0 to v1.43.0
2026-04-02 14:18:30 +02:00
f41gh7
e9b7adc0e5
vendor: update metrics package
...
Related to https://github.com/VictoriaMetrics/metrics/issues/85
2026-03-12 09:41:47 +01:00
Aliaksandr Valialkin
6d8ddcb9ed
vendor: update github.com/valyala/fastjson from v1.6.9 to v1.6.10
...
This fixes the issue mentioned at https://github.com/VictoriaMetrics/VictoriaLogs/issues/1042#issuecomment-3936084518
2026-02-21 13:20:45 +01:00
Aliaksandr Valialkin
79b18e9742
vendor: update github.com/valyala/fastjson from v1.6.8 to v1.6.9
...
This should help reducing memory usage at https://github.com/VictoriaMetrics/VictoriaLogs/issues/1042
2026-02-19 13:28:41 +01:00
Aliaksandr Valialkin
53514febdc
vendor: update github.com/VictoriaMetrics/VictoriaLogs from v0.0.0-20260125191521-bc89d84cd61d to v0.0.0-20260218111324-95b48d57d032
2026-02-18 20:39:19 +01:00
Aliaksandr Valialkin
a47d32e129
vendor: run make vendor-update
2026-02-18 19:46:18 +01:00
Aliaksandr Valialkin
a8c5934d1b
vendor: update github.com/VictoriaMetrics/fastcache from v1.13.2 to v1.13.3
2026-02-18 14:28:34 +01:00
Aliaksandr Valialkin
43544fdb63
vendor: update github.com/valyala/fastjson from v1.6.7 to v1.6.8
2026-02-18 14:28:33 +01:00
Aliaksandr Valialkin
7a4df5755a
go.mod: update github.com/VictoriaMetrics/metrics from v1.41.1 to v1.41.2, and github.com/VictoriaMetrics/metricsql from v0.84.10 to v0.85.0
2026-02-18 14:28:33 +01:00
Max Kotliar
d7046d6e19
go.mod: update metrics module ( #10470 )
...
### Describe Your Changes
VictoriaMetrics binaries will now expose some process-level metrics when
run on macOS.
See:
- https://github.com/VictoriaMetrics/metrics/issues/75
- https://github.com/VictoriaMetrics/metrics/pull/107
### Checklist
The following checks are **mandatory**:
- [ ] My change adheres to [VictoriaMetrics contributing
guidelines](https://docs.victoriametrics.com/victoriametrics/contributing/#pull-request-checklist ).
- [ ] My change adheres to [VictoriaMetrics development
goals](https://docs.victoriametrics.com/victoriametrics/goals/ ).
2026-02-16 19:52:14 +02:00
f41gh7
ad62fe88ed
go.mod: update metricsql
...
It contains fix for https://github.com/VictoriaMetrics/metricsql/issues/60
Signed-off-by: f41gh7 <nik@victoriametrics.com >
2026-02-12 23:49:54 +01:00
Aliaksandr Valialkin
3a3c2084d3
vendor: run make vendor-update
2026-02-11 17:52:42 +01:00
Aliaksandr Valialkin
efe4a3b2dd
vendor: update github.com/VictoriaMetrics/VictoriaLogs from v1.36.2-0.20251008164716-21c0fb3de84d to v0.0.0-20260125191521-bc89d84cd61d
2026-01-25 20:24:04 +01:00
Aliaksandr Valialkin
34f242a6b8
vendor: run make vendor-update
2026-01-19 15:29:25 +01:00
Aliaksandr Valialkin
19009836c7
vendor: update github.com/valyala/fastjson from v1.6.5 to v1.6.7
2025-12-14 23:09:43 +01:00
Aliaksandr Valialkin
293d80910c
lib/protoparser/opentelemetry: eliminate memory allocations during parsing of samples send via OpenTelemetry protocol
...
This increases the parser performance by 4x-6x.
This commit uses the technique similar to https://github.com/VictoriaMetrics/VictoriaLogs/pull/720
goos: linux
goarch: amd64
pkg: github.com/VictoriaMetrics/VictoriaMetrics/lib/protoparser/opentelemetry/stream
cpu: AMD Ryzen 7 PRO 5850U with Radeon Graphics
│ old.txt │ new.txt │
│ sec/op │ sec/op vs base │
ParseStream/default-metrics-labels-formatting-16 15.565µ ± 1% 2.150µ ± 3% -86.19% (p=0.000 n=10)
ParseStream/prometheus-metrics-labels-formatting-16 24.228µ ± 2% 4.355µ ± 1% -82.02% (p=0.000 n=10)
ParseStream/prometheus-metrics-formatting-16 23.028µ ± 2% 3.395µ ± 1% -85.26% (p=0.000 n=10)
geomean 20.55µ 3.168µ -84.59%
│ old.txt │ new.txt │
│ B/s │ B/s vs base │
ParseStream/default-metrics-labels-formatting-16 127.9Mi ± 1% 918.3Mi ± 3% +617.82% (p=0.000 n=10)
ParseStream/prometheus-metrics-labels-formatting-16 82.19Mi ± 2% 453.32Mi ± 1% +451.57% (p=0.000 n=10)
ParseStream/prometheus-metrics-formatting-16 86.47Mi ± 2% 581.56Mi ± 1% +572.52% (p=0.000 n=10)
geomean 96.88Mi 623.3Mi +543.34%
│ old.txt │ new.txt │
│ B/op │ B/op vs base │
ParseStream/default-metrics-labels-formatting-16 12.53Ki ± 0% 0.00Ki ± 0% -100.00% (p=0.000 n=10)
ParseStream/prometheus-metrics-labels-formatting-16 21.15Ki ± 1% 0.00Ki ± ? -100.00% (p=0.000 n=10)
ParseStream/prometheus-metrics-formatting-16 20.74Ki ± 1% 0.00Ki ± ? -100.00% (p=0.000 n=10)
geomean 17.65Ki ? ¹ ²
¹ summaries must be >0 to compute geomean
² ratios must be >0 to compute geomean
│ old.txt │ new.txt │
│ allocs/op │ allocs/op vs base │
ParseStream/default-metrics-labels-formatting-16 426.0 ± 0% 0.0 ± 0% -100.00% (p=0.000 n=10)
ParseStream/prometheus-metrics-labels-formatting-16 514.0 ± 0% 0.0 ± 0% -100.00% (p=0.000 n=10)
ParseStream/prometheus-metrics-formatting-16 514.0 ± 0% 0.0 ± 0% -100.00% (p=0.000 n=10)
geomean 482.8 ? ¹ ²
2025-12-10 16:11:59 +01:00
Aliaksandr Valialkin
a7b99dd164
vendor: update github.com/VictoriaMetrics/easyproto from v0.1.4 to v1.0.0
2025-12-04 21:47:20 +01:00
Aliaksandr Valialkin
0df2993cf4
vendor: update github.com/valyala/gozstd from v1.23.2 to v1.24.0
...
This is needed for being able to use DecompressLimited() function for limiting
the size of descropressed data.
See https://github.com/valyala/gozstd/pull/75
Updates https://github.com/VictoriaMetrics/VictoriaMetrics-enterprise/issues/958
2025-11-12 21:10:51 +01:00
Aliaksandr Valialkin
38d3033e66
go.mod: update github.com/VictoriaMetrics/fastcache from v1.13.1 to v1.13.2
...
This is needed for removing the EvictedBytes metric from the fastcache.
See the description of f6080737bb for details.
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/pull/9293
Updates https://github.com/VictoriaMetrics/fastcache/pull/93
2025-11-10 16:43:33 +01:00
Aliaksandr Valialkin
b2cd3bf1f2
lib/workingsetcache: properly initialize new cache when the stored cache has unexpected size
...
This is a follow-up for 9bc541587b
2025-11-10 12:49:04 +01:00
Zakhar Bessarab
0eb465782a
deps: unpin AWS dependencies and add workaround for S3 compatibility ( #9844 )
...
Updates:
- unpin AWS dependencies and run `make vendor-update`
- add config options to enable checksums only if required by storage in
order to preserve backwards compatibility
Related issues:
- https://github.com/VictoriaMetrics/VictoriaMetrics/issues/9748
- https://github.com/VictoriaMetrics/VictoriaMetrics/issues/8622
Tested with: AWS S3, self-hosted MinIO, Linode object storage as it was
failing previously with multi-part uploads (reported here -
https://github.com/VictoriaMetrics/VictoriaMetrics/pull/8630#issuecomment-2772185033 ).
An updated library allows (PR with the
fix - https://github.com/aws/aws-sdk-go-v2/pull/3151 ) overriding
multi-part upload configurations so that compatibility can be preserved.
Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com >
2025-10-10 18:35:37 +04:00
Roman Khavronenko
cd52978096
vendor: update metrics package to v1.40.2 ( #9780 )
...
Restore sorting order of summary and quantile metrics exposed by
VictoriaMetrics components on `/metrics` page.
https://github.com/VictoriaMetrics/metrics/pull/105
Signed-off-by: hagen1778 <roman@victoriametrics.com >
2025-10-01 13:28:46 +02:00
Max Kotliar
367cdb089f
vendor: update metrics package to v1.40.1 ( #9725 )
...
### Describe Your Changes
Includes fix https://github.com/VictoriaMetrics/metrics/pull/99
### Checklist
The following checks are **mandatory**:
- [ ] My change adheres to [VictoriaMetrics contributing
guidelines](https://docs.victoriametrics.com/victoriametrics/contributing/#pull-request-checklist ).
- [ ] My change adheres to [VictoriaMetrics development
goals](https://docs.victoriametrics.com/victoriametrics/goals/ ).
2025-09-12 14:14:49 +03:00
Max Kotliar
2bb42cfb16
go.mod: update metricsql lib to v0.84.8
...
https://github.com/VictoriaMetrics/metricsql/releases/tag/v0.84.8
2025-09-05 12:42:45 +03:00
Aliaksandr Valialkin
06ce3f1496
go.mod: update github.com/valyala/gozstd from v1.22.0 to v1.23.2
2025-08-27 14:28:44 +02:00
Max Kotliar
7d552dbd9a
metricsql: improve timestamp function compatibility with Prometheus when used with sub-expressions ( #9603 )
...
### Describe Your Changes
Fixes
[#9527 ](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/9527 )
Related PR: https://github.com/VictoriaMetrics/metricsql/pull/55
### Checklist
The following checks are **mandatory**:
- [ ] My change adheres to [VictoriaMetrics contributing
guidelines](https://docs.victoriametrics.com/victoriametrics/contributing/#pull-request-checklist ).
- [ ] My change adheres to [VictoriaMetrics development
goals](https://docs.victoriametrics.com/victoriametrics/goals/ ).
2025-08-21 17:38:12 +03:00
Nikolay
68bdb5e4d3
go.mod: unpin cloud.google.com/go/storage
...
Add build tag `disable_grpc_modules` for vmbackup, vmrestore and
vmbackupmanager. Binary size increases only for 3MB with it. It's
acceptable trade-off for security and feature updates.
Related issue:
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/8008
2025-08-19 12:21:54 +02:00
f41gh7
1f2c14260c
go.mod: update fastcache to v1.13.0
2025-08-06 18:29:05 +02:00
Aliaksandr Valialkin
ddadfd6d58
vendor: run make vendor-update
2025-08-03 22:10:54 +02:00
Aliaksandr Valialkin
c025993e8a
vendor: update github.com/VictoriaMetrics/metrics from v1.38.0 to v1.39.1
2025-08-03 22:06:19 +02:00
Aliaksandr Valialkin
045c537a16
vendor: update github.com/VictoriaMetrics/VictoriaLogs to v0.0.0-20250727175446-3ac9ad9e7935
2025-07-28 14:46:14 +02:00
Aliaksandr Valialkin
bbda00fec5
vendor: update github.com/VictoriaMetrics/VictoriaLogs to v0.0.0-20250727175446-3ac9ad9e7935
2025-07-27 20:02:31 +02:00
Aliaksandr Valialkin
a05e4cf67b
lib/{mergeset,storage}: store files inside in-memory parts to the persistent storage in parallel
...
This should reduce the time needed for converting in-memory parts to file-based parts on high-latency
storage systems such as NFS or Ceph.
Updates https://github.com/VictoriaMetrics/VictoriaLogs/issues/517
2025-07-27 18:19:22 +02:00
Aliaksandr Valialkin
da5c065f29
go.mod: update github.com/VictoriaMetrics/VictoriaLogs to v0.0.0-20250725215216-8de283002ba8
2025-07-26 00:04:13 +02:00
Aliaksandr Valialkin
83da33d8cf
lib/fs: simplify the code for directory removal and make it compatible with object storage (S3) and NFS
...
- Drop the code needed for asynchronous removal of the directory on NFS shares.
This code was needed when VictoriaMetrics could keep open files after their deletion
or renaming. This is no longer the case after the commit 43b24164ef .
Now files are deleted only after all the readers close them.
This updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/61
- Unify MustRemoveAll() and MustRemoveDirAtomic() into MustRemoveDir() and MustRemovePath()
functions:
- The MustRemoveDir() deletes the given directory with all its contents, in an "atomic" way:
it creates a special `.delete-this-dir` file in the directory, then removes all its contents
except of this file, and later removes the `.delete-this-dir` file together with the directory
itself. This makes possible easily determining whether the given directory needs to be deleted
after unclean shutdown - if it contains the `.delete-this-dir` file or if it is empty, it must be deleted.
Add IsPartiallyRemovedDir() function, which can be used for detecting whether the given directory must be removed
at starup.
Previously the MustRemoveDirAtomic() was using a "trick" for atomic directory removal: it was "atomically" renaming
the directory to a temporary directory with '.must-remove.' marker in the directory name, and after that it
was removing the renamed directory. On startup all the directories with the `.must-remove.` marker were deleted
if they are left after unclean shutdown. This "trick" doesn't work for NFS and object storage such as S3,
since these storage systems do not support atomic renaming of directories with multiple entries inside.
The new MustRemoveDir() function doesn't use this "trick", so it can be safely used in NFS and S3-like storage systems.
This is based on the pull request from @func25 - https://github.com/VictoriaMetrics/VictoriaMetrics/pull/9486/files .
- The MustRemovePath() deletes the given file or an empty directory.
- Delete the existing parts and partitions at startup if they were partially deleted.
- Consistently use fs.MustRemoveDir() and fs.MustRemovePath() instead of os.RemoveAll() across the codebase.
This reduces the amounts of bolierplate code related to error handling.
- Consistently use fs.MustWriteSync() instead of os.WriteFile() across the codebase.
2025-07-25 19:54:03 +02:00
Aliaksandr Valialkin
e41714f213
go.mod: do not use "replace" directive for overriding the version of the github.com/VictoriaMetrics/VictoriaLogs package
...
Refer to the needed package directly in the "require" directive.
This should make more useful the prefixes for file locations in the output logs
generated by VictoriaMetrics components.
See https://github.com/VictoriaMetrics/VictoriaLogs/issues/431#issuecomment-3071313506 for details.
2025-07-15 01:17:48 +02:00
Aliaksandr Valialkin
15242a70a7
vendor: run make vendor-update
2025-07-15 00:26:39 +02:00
Aliaksandr Valialkin
d1d98f39b5
lib/{logstorage,prefixfilter}: remove these packages, since they have been moved to https://github.com/VictoriaMetrics/VictoriaLogs/ repository
2025-07-07 03:25:25 +02:00
dependabot[bot]
2b131c13b5
build(deps): bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2.3.0 ( #9299 )
...
Bumps
[github.com/go-viper/mapstructure/v2](https://github.com/go-viper/mapstructure )
from 2.2.1 to 2.3.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/go-viper/mapstructure/releases ">github.com/go-viper/mapstructure/v2's
releases</a>.</em></p>
<blockquote>
<h2>v2.3.0</h2>
<h2>What's Changed</h2>
<ul>
<li>build(deps): bump actions/checkout from 4.1.7 to 4.2.0 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/go-viper/mapstructure/pull/46 ">go-viper/mapstructure#46</a></li>
<li>build(deps): bump golangci/golangci-lint-action from 6.1.0 to 6.1.1
by <a href="https://github.com/dependabot "><code>@dependabot</code></a>
in <a
href="https://redirect.github.com/go-viper/mapstructure/pull/47 ">go-viper/mapstructure#47</a></li>
<li>[enhancement] Add check for <code>reflect.Value</code> in
<code>ComposeDecodeHookFunc</code> by <a
href="https://github.com/mahadzaryab1 "><code>@mahadzaryab1</code></a>
in <a
href="https://redirect.github.com/go-viper/mapstructure/pull/52 ">go-viper/mapstructure#52</a></li>
<li>build(deps): bump actions/setup-go from 5.0.2 to 5.1.0 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/go-viper/mapstructure/pull/51 ">go-viper/mapstructure#51</a></li>
<li>build(deps): bump actions/checkout from 4.2.0 to 4.2.2 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/go-viper/mapstructure/pull/50 ">go-viper/mapstructure#50</a></li>
<li>build(deps): bump actions/setup-go from 5.1.0 to 5.2.0 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/go-viper/mapstructure/pull/55 ">go-viper/mapstructure#55</a></li>
<li>build(deps): bump actions/setup-go from 5.2.0 to 5.3.0 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/go-viper/mapstructure/pull/58 ">go-viper/mapstructure#58</a></li>
<li>ci: add Go 1.24 to the test matrix by <a
href="https://github.com/sagikazarmark "><code>@sagikazarmark</code></a>
in <a
href="https://redirect.github.com/go-viper/mapstructure/pull/74 ">go-viper/mapstructure#74</a></li>
<li>build(deps): bump golangci/golangci-lint-action from 6.1.1 to 6.5.0
by <a href="https://github.com/dependabot "><code>@dependabot</code></a>
in <a
href="https://redirect.github.com/go-viper/mapstructure/pull/72 ">go-viper/mapstructure#72</a></li>
<li>build(deps): bump golangci/golangci-lint-action from 6.5.0 to 6.5.1
by <a href="https://github.com/dependabot "><code>@dependabot</code></a>
in <a
href="https://redirect.github.com/go-viper/mapstructure/pull/76 ">go-viper/mapstructure#76</a></li>
<li>build(deps): bump actions/setup-go from 5.3.0 to 5.4.0 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/go-viper/mapstructure/pull/78 ">go-viper/mapstructure#78</a></li>
<li>feat: add decode hook for netip.Prefix by <a
href="https://github.com/tklauser "><code>@tklauser</code></a> in <a
href="https://redirect.github.com/go-viper/mapstructure/pull/85 ">go-viper/mapstructure#85</a></li>
<li>Updates by <a
href="https://github.com/sagikazarmark "><code>@sagikazarmark</code></a>
in <a
href="https://redirect.github.com/go-viper/mapstructure/pull/86 ">go-viper/mapstructure#86</a></li>
<li>build(deps): bump github/codeql-action from 2.13.4 to 3.28.15 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/go-viper/mapstructure/pull/87 ">go-viper/mapstructure#87</a></li>
<li>build(deps): bump actions/setup-go from 5.4.0 to 5.5.0 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/go-viper/mapstructure/pull/93 ">go-viper/mapstructure#93</a></li>
<li>build(deps): bump github/codeql-action from 3.28.15 to 3.28.17 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/go-viper/mapstructure/pull/92 ">go-viper/mapstructure#92</a></li>
<li>build(deps): bump github/codeql-action from 3.28.17 to 3.28.19 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/go-viper/mapstructure/pull/97 ">go-viper/mapstructure#97</a></li>
<li>build(deps): bump ossf/scorecard-action from 2.4.1 to 2.4.2 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/go-viper/mapstructure/pull/96 ">go-viper/mapstructure#96</a></li>
<li>Update README.md by <a
href="https://github.com/peczenyj "><code>@peczenyj</code></a> in <a
href="https://redirect.github.com/go-viper/mapstructure/pull/90 ">go-viper/mapstructure#90</a></li>
<li>Add omitzero tag. by <a
href="https://github.com/Crystalix007 "><code>@Crystalix007</code></a>
in <a
href="https://redirect.github.com/go-viper/mapstructure/pull/98 ">go-viper/mapstructure#98</a></li>
<li>Use error structs instead of duplicated strings by <a
href="https://github.com/m1k1o "><code>@m1k1o</code></a> in <a
href="https://redirect.github.com/go-viper/mapstructure/pull/102 ">go-viper/mapstructure#102</a></li>
<li>build(deps): bump github/codeql-action from 3.28.19 to 3.29.0 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/go-viper/mapstructure/pull/101 ">go-viper/mapstructure#101</a></li>
<li>feat: add common error interface by <a
href="https://github.com/sagikazarmark "><code>@sagikazarmark</code></a>
in <a
href="https://redirect.github.com/go-viper/mapstructure/pull/105 ">go-viper/mapstructure#105</a></li>
<li>update linter by <a
href="https://github.com/sagikazarmark "><code>@sagikazarmark</code></a>
in <a
href="https://redirect.github.com/go-viper/mapstructure/pull/106 ">go-viper/mapstructure#106</a></li>
<li>Feature allow unset pointer by <a
href="https://github.com/rostislaved "><code>@rostislaved</code></a> in
<a
href="https://redirect.github.com/go-viper/mapstructure/pull/80 ">go-viper/mapstructure#80</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/tklauser "><code>@tklauser</code></a>
made their first contribution in <a
href="https://redirect.github.com/go-viper/mapstructure/pull/85 ">go-viper/mapstructure#85</a></li>
<li><a href="https://github.com/peczenyj "><code>@peczenyj</code></a>
made their first contribution in <a
href="https://redirect.github.com/go-viper/mapstructure/pull/90 ">go-viper/mapstructure#90</a></li>
<li><a
href="https://github.com/Crystalix007 "><code>@Crystalix007</code></a>
made their first contribution in <a
href="https://redirect.github.com/go-viper/mapstructure/pull/98 ">go-viper/mapstructure#98</a></li>
<li><a
href="https://github.com/rostislaved "><code>@rostislaved</code></a>
made their first contribution in <a
href="https://redirect.github.com/go-viper/mapstructure/pull/80 ">go-viper/mapstructure#80</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/go-viper/mapstructure/compare/v2.2.1...v2.3.0 ">https://github.com/go-viper/mapstructure/compare/v2.2.1...v2.3.0 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="8c61ec1924 "><code>8c61ec1</code></a>
Merge pull request <a
href="https://redirect.github.com/go-viper/mapstructure/issues/80 ">#80</a>
from rostislaved/feature-allow-unset-pointer</li>
<li><a
href="df765f469a "><code>df765f4</code></a>
Merge pull request <a
href="https://redirect.github.com/go-viper/mapstructure/issues/106 ">#106</a>
from go-viper/update-linter</li>
<li><a
href="5f34b05aa1 "><code>5f34b05</code></a>
update linter</li>
<li><a
href="36de1e1d74 "><code>36de1e1</code></a>
Merge pull request <a
href="https://redirect.github.com/go-viper/mapstructure/issues/105 ">#105</a>
from go-viper/error-refactor</li>
<li><a
href="6a283a390e "><code>6a283a3</code></a>
chore: update error type doc</li>
<li><a
href="599cb73236 "><code>599cb73</code></a>
Merge pull request <a
href="https://redirect.github.com/go-viper/mapstructure/issues/101 ">#101</a>
from go-viper/dependabot/github_actions/github/codeql...</li>
<li><a
href="ed3f921815 "><code>ed3f921</code></a>
feat: remove value from error messages</li>
<li><a
href="a3f8b227dc "><code>a3f8b22</code></a>
revert: error message change</li>
<li><a
href="9661f6d07c "><code>9661f6d</code></a>
feat: add common error interface</li>
<li><a
href="f12f6c76fe "><code>f12f6c7</code></a>
Merge pull request <a
href="https://redirect.github.com/go-viper/mapstructure/issues/102 ">#102</a>
from m1k1o/prettify-errors2</li>
<li>Additional commits viewable in <a
href="https://github.com/go-viper/mapstructure/compare/v2.2.1...v2.3.0 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/VictoriaMetrics/VictoriaMetrics/network/alerts ).
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-01 12:59:21 +02:00
f41gh7
4dc9ca26fc
vendor: update metricsql
2025-06-11 14:13:21 +02:00
Robin Hayer
8e645ea708
lib/workingsetcache: log error when restoring cache from file ( #8952 )
...
### What this PR does
log error returned by `fastcache.LoadFromFile` before falling back to
creating a new cache instance. this improves observability and helps
detect problems like file corruption or permission issues early.
this replaces `fastcache.LoadFromFileOrNew` with a custom function
`loadFromFileOrNewWithLog` that explicitly logs errors encountered
during cache restoration.
---
### Related Issue
Closes #8934
---
### Test Plan
- manually tested by simulating a missing file scenario
- ensured expected log output on cache load failure
- verified normal cache creation fallback path
---
### Changelog
log error when cache fails to restore from file during workingsetcache
initialization (#8934 )
---
### Checklist
- [x] Signed commits
- [x] Follows coding and commit message conventions
- [x] Tested manually
- [x] Scope limited to relevant change
- [x] Changelog entry added
Co-authored-by: Robin Hayer <rshayer95@gmail.com >
Co-authored-by: Roman Khavronenko <hagen1778@gmail.com >
2025-06-04 09:56:24 +02:00