Skip to content

Commit 7e3f697

Browse files
chore(deps): update module go:github.com/grafana/oats to v0.5.0 (#1707)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [go:github.com/grafana/oats](https://redirect.github.com/grafana/oats) | `0.4.1` -> `0.5.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgrafana%2foats/v0.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgrafana%2foats/v0.4.1/v0.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>grafana/oats (go:github.com/grafana/oats)</summary> ### [`v0.5.0`](https://redirect.github.com/grafana/oats/releases/tag/v0.5.0) [Compare Source](https://redirect.github.com/grafana/oats/compare/v0.4.1...v0.5.0) <!-- Release notes generated using configuration in .github/release.yml at main --> #### What's Changed - clean up trace syntax + add expected range + add more tests by [@&#8203;zeitlinger](https://redirect.github.com/zeitlinger) in [#&#8203;192](https://redirect.github.com/grafana/oats/pull/192) - add Integration tests by [@&#8203;zeitlinger](https://redirect.github.com/zeitlinger) in [#&#8203;193](https://redirect.github.com/grafana/oats/pull/193) - better handling for deprecated fields by [@&#8203;zeitlinger](https://redirect.github.com/zeitlinger) in [#&#8203;194](https://redirect.github.com/grafana/oats/pull/194) - releasing by [@&#8203;zeitlinger](https://redirect.github.com/zeitlinger) in [#&#8203;195](https://redirect.github.com/grafana/oats/pull/195) **Full Changelog**: <grafana/oats@v0.4.1...v0.5.0> #### ⚠️ Breaking Changes - Migration Required This release enforces stricter validation and **removes support for deprecated YAML syntax**. You must update your test files when upgrading. ##### Required Changes to Your YAML Files ##### 1. Replace `contains` with `regexp` ```yaml # ❌ Old (no longer works) logs: - logql: '{job="app"}' contains: ["error"] # ✅ New logs: - logql: '{job="app"}' regexp: "error" ``` ```diff logs: - logql: '{job="app"}' - contains: ["error"] + regexp: "error" ``` ##### 2. Remove `spans` array from traces ```yaml # ❌ Old (no longer works) traces: - traceql: '{}' spans: - name: "GET /api" # ✅ New traces: - traceql: '{}' equals: "GET /api" ``` ```diff traces: - traceql: '{}' - spans: - - name: "GET /api" + equals: "GET /api" ``` ##### 3. Update profile flamebearers ```yaml # ❌ Old (no longer works) profiles: - query: 'process_cpu:cpu:nanoseconds:cpu:nanoseconds' flamebearers: contains: "my-function" # ✅ New profiles: - query: 'process_cpu:cpu:nanoseconds:cpu:nanoseconds' flamebearers: equals: "my-function" ``` ```diff profiles: - query: 'process_cpu:cpu:nanoseconds:cpu:nanoseconds' flamebearers: - contains: "my-function" + equals: "my-function" ``` *** ##### What Changed - **Enforced validation for deprecated fields** - Previously deprecated syntax now causes test failures - **Added comprehensive test coverage** - 70+ unit tests ensure proper validation of all YAML configurations - **Stricter input validation** - HTTP methods, schemes, status codes, and request bodies are now strictly validated These changes improve the reliability and consistency of OATS test definitions. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/prometheus/client_java). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4xOS45IiwidXBkYXRlZEluVmVyIjoiNDIuMTkuOSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 83cd73f commit 7e3f697

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mise.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tools]
22
"go:github.com/gohugoio/hugo" = "v0.152.2"
3-
"go:github.com/grafana/oats" = "0.4.1"
3+
"go:github.com/grafana/oats" = "0.5.0"
44
java = "temurin-25.0.1+8.0.LTS"
55
lychee = "0.21.0"
66
protoc = "33.1"

0 commit comments

Comments
 (0)