Will Browne
510c76df49
Chore: Update to latest go plugin SDK ( #101939 )
...
* update to latest go plugin SDK
* add missing changes
2025-03-11 14:57:19 +00:00
Tito Lins
8c51af49e5
Alertmanager: upgrade alerting ( #101870 )
2025-03-10 16:59:21 +01:00
Karl Persson
9a3864e603
Auth: Update to authlib ( #101863 )
...
Update to latest authlib
2025-03-10 11:08:40 +01:00
Ezequiel Victorero
1c7f9d4333
Chore: Bump gofpdf ( #101823 )
2025-03-07 17:40:22 -03:00
Matthew Jacobson
19b878ce66
Alerting: Include time range in template dashboard and panel urls ( #101095 )
...
Alerting: Include time range in templated dashboard and panel urls
Time range:
from=Alert.StartsAt-1hr
Firing Alerts: to=Current Timestamp
Resolved Alerts: to=Alert.EndsAt
2025-03-07 15:28:56 -05:00
Ryan McKinley and Clarity-89
f52b6a5a42
Provisioning: Update spec and dependencies ( #101746 )
...
Co-authored-by: Clarity-89 <homes89@ukr.net >
2025-03-07 10:57:13 +03:00
Peter Štibraný
9e690bd620
Spanner support enhancements ( #101634 )
...
* Adds ability to run integration tests against spanner (by using GRAFANA_TEST_DB=spanner env variable. SPANNER_DB variable then specifies database to use: spannertest, emulator or string like /projects/<project>/instances/<instance>/databases/<db>)
* Adds feature to migration dialects to create database from a snapshot, instead of running individual migrations.
* Adds first version of Spanner snapshot, prepared from "OSS" migrations.
* Uses generated bit-reversed-positive values instead of auto_increment. (As an experiment)
2025-03-06 16:11:20 +01:00
Tania and Dave Henderson
c9ab1142e1
Add OpenFeature providers ( #101071 )
...
* Add OpenFeature provider
* Simplify static provider
* Linting
* Apply review feedback
* Codeowner for deps
* Update pkg/services/featuremgmt/openfeature.go
Co-authored-by: Dave Henderson <dave.henderson@grafana.com >
* Apply review comments part2
* Remove from sample.ini for now
* fixup! Apply review comments part2
* Add example of context config
* Resolve conflict
* Run update workspaces
---------
Co-authored-by: Dave Henderson <dave.henderson@grafana.com >
2025-03-06 15:09:26 +01:00
Matheus Macabu
caabb06cd8
Chore: Bump dependencies to address security issues ( #101620 )
...
* Chore: Bump golang.org/x/net to v0.36.0
* Chore: Use github.com/moby/moby version 27.5.1 instead of 26.0.0
* Chore: Bump github.com/ua-parser/uap-go to v0.0.0-20250213224047-9c035f085b90
* Chore: Bump github.com/grpc-ecosystem/go-grpc-middleware/v2 to fix 32-bit overflow issue
2025-03-06 10:12:05 +01:00
alerting-team[bot] and grobinson-grafana
8ef37ea5c1
Alerting: Update alerting module to aae4827ec0610058810f2bbc69800ce377a33376 ( #101623 )
...
[create-pull-request] automated change
Co-authored-by: grobinson-grafana <85952834+grobinson-grafana@users.noreply.github.com >
2025-03-05 16:45:20 -05:00
Matheus Macabu
7426ddff94
Chore: Downgrade go-grpc-middleware to fix build in 32-bit systems ( #101615 )
2025-03-05 14:04:55 +01:00
Alexander Zobnin
01899d761e
Zanzana: Upgrade to OpenFGA v1.8.6 ( #101553 )
...
* Zanzana: Upgrade to OpenFGA v1.8.6
* upgrade openfga
2025-03-05 11:58:31 +01:00
alerting-team[bot] and yuri-tceretian
d9538fd5dc
Alerting: Update alerting module to bb85a58ec8975d91b49d746dbd11d312f0485ecc ( #101537 )
...
[create-pull-request] automated change
Co-authored-by: yuri-tceretian <25988953+yuri-tceretian@users.noreply.github.com >
2025-03-03 18:10:15 -05:00
Serge Zaitsev and Peter Štibraný
165bca6417
Chore: Add initial/experimental xorm spanner driver ( #101398 )
...
* make it build and start
* run some migrations
* add build tags, remove log
* remove unused code
* revert go.mod changes
* move initialisation into dialect file
* update workspace
* update workspace once again
* clean up dependencies
* further cleanup
* Address some review feedback.
* Fix go.sum.
---------
Co-authored-by: Peter Štibraný <pstibrany@gmail.com >
2025-03-03 17:02:10 +01:00
dependabot[bot] and github-actions[bot]
d1b20c652d
Bump github.com/go-jose/go-jose/v3 from 3.0.3 to 3.0.4 ( #101385 )
...
* Bump github.com/go-jose/go-jose/v3 from 3.0.3 to 3.0.4
Bumps [github.com/go-jose/go-jose/v3](https://github.com/go-jose/go-jose ) from 3.0.3 to 3.0.4.
- [Release notes](https://github.com/go-jose/go-jose/releases )
- [Changelog](https://github.com/go-jose/go-jose/blob/main/CHANGELOG.md )
- [Commits](https://github.com/go-jose/go-jose/compare/v3.0.3...v3.0.4 )
---
updated-dependencies:
- dependency-name: github.com/go-jose/go-jose/v3
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
* update workspace
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-03 12:11:08 +01:00
Matthew Jacobson
2466685a41
Alerting: Improve template testing by trying non-root scopes ( #101471 )
...
Expand template testing to try additional scopes if the root scope fails.
This mitigates errors for definitions like pagerduty.default.instances,
which require the .Alerts scope. Added support for .Alerts and .Alert
scopes.
2025-02-28 20:27:27 +02:00
ismail simsek
b16904651f
Chore: Bump grafana-plugin-sdk-go to v0.267.0 ( #101376 )
...
* bump grafana-plugin-sdk-go to v0.267.0
* make update-workspace
2025-02-27 11:13:58 +01:00
Georges Chaudy and Peter Štibraný
4391fac135
unistore: add spanner to go.mod ( #101143 )
...
* Add spanner dependency
* Update go.mod, go.sum.
* Assign owner to spanner dependency, clean up directives.
* Rerun go mod tidy.
---------
Co-authored-by: Peter Štibraný <pstibrany@gmail.com >
2025-02-26 13:34:50 +02:00
Karl Persson
fa74d1c36d
Authn: Sync authlib and update how we construct authn client interceptor ( #101124 )
...
* Sync authlib and update how we construct authn client interceptor
* Remove namespace from checker
2025-02-26 09:22:09 +01:00
Alexander Akhmetov
03e94e7a3e
Alerting: Update grafana/alerting ( #101215 )
...
* Update grafana/alerting from 9d7e00921e44 to 2acbeef29642
* Change the package for the TLSClient
* Fix TestContactPointFromContactPointExports test
2025-02-25 11:32:28 +01:00
Matheus Macabu
3aedb9159e
Chore: Update golang.org/x/crypto and golang.org/x/ouath2 to address security issues ( #101268 )
...
- CVE-2025-22869 and Go issue https://go.dev/issue/71931 .
- CVE-2025-22868 and Go issue https://go.dev/issue/71490 .
2025-02-25 11:15:41 +01:00
William Wernert
c33e908baf
Alerting: Update alerting package to include SNS fix ( #101177 )
...
* Update alerting package to include sns fix
* Update workspace
2025-02-21 16:02:39 -05:00
Dave Henderson
9f9c248766
chore(deps): Remove unreferenced goavro dependency ( #101171 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2025-02-21 21:10:38 +02:00
dependabot[bot]
bfc2347799
Bump github.com/go-sourcemap/sourcemap from 2.1.3+incompatible to 2.1.4+incompatible ( #98639 )
...
Bump github.com/go-sourcemap/sourcemap
Bumps [github.com/go-sourcemap/sourcemap](https://github.com/go-sourcemap/sourcemap ) from 2.1.3+incompatible to 2.1.4+incompatible.
- [Commits](https://github.com/go-sourcemap/sourcemap/compare/v2.1.3...v2.1.4 )
---
updated-dependencies:
- dependency-name: github.com/go-sourcemap/sourcemap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-21 13:04:21 -05:00
Yuri Tseretyan
d1dfa0576b
Alerting: Support Jira Integration ( #100480 )
2025-02-21 12:51:38 -05:00
Todd Treece
2313eca636
Chore: Update local go dependencies ( #101088 )
2025-02-20 12:55:28 -05:00
Matthew Jacobson
b78a63b0ad
Alerting: Use new image TokenProvider and send image url in annotation ( #99989 )
...
* Send new annotation containing image url
* Use new image TokenProvider with TokenStore
New abstraction GetImage no longer needs to support parsing both token and
url from annotations, as remote AM will use the new URLProvider. Instead, we
use the new generic TokenProvider and give it a TokenStore backed by the
grafana database.
That means we revert back to always using token simplifying code and security
considerations.
* Upgrade grafana/alerting to merged commit SHA
2025-02-20 12:47:40 -05:00
Matthew Jacobson
b1b5b4766c
Alerting: Sanitize Slack image upload comment labels ( #101084 )
...
* Alerting: Sanitize Slack image upload comment labels
upgrades grafana/alerting to d43046
2025-02-20 12:22:04 -05:00
Matthew Jacobson
68ce949fff
Alerting: Fix token-based Slack image upload to work with channel names ( #100988 )
...
Upgrades grafana/alerting to 00d6703 which includes the fix.
2025-02-20 09:17:52 -05:00
Matthew Jacobson
75c4c5ca0f
Alerting: Upgrade grafana/alerting to 92d5f29 ( #100982 )
...
* Alerting: Upgrade grafana/alerting to 92d5f29
Includes:
- Add more context to log in PipelineAndStateTimestampCoordinationStage (#277 )
- Update Alertmanager fork to latest commit (#279 )
- Copy http client from Grafana (#281 )
* Satisfy signature change from grafana/alerting #281 (http client)
2025-02-19 18:49:46 +02:00
Karl Persson
a897ec3426
Authn: grpc errors ( #100951 )
...
* update authlib
* Map to grpc status
2025-02-19 11:46:48 +01:00
Ieva
e93ff154df
Chore: bump authlib version ( #100879 )
...
* bump authlib version
* update other authlib deps
2025-02-19 08:37:32 +00:00
Karl Persson
4df398c084
Authz: Sync authlib and update authz client setup code ( #100817 )
...
* Sync authlib and update setup code for authz client
2025-02-18 09:09:20 +01:00
Matheus Macabu
aceda85a4d
Chore: Regenerate go.work.sum ( #100816 )
2025-02-17 22:44:02 +02:00
Mat Ryer and Sven Grossmann
ff7ba54cbc
Investigations: Add experimental app platform backend ( #100584 )
...
* add investigations group?
* Investigations: Add experimental app platform backend
* change `grafana-app-sdk/logging` version
* investigations: add feature flag to test
---------
Co-authored-by: Sven Grossmann <svennergr@gmail.com >
2025-02-17 19:19:22 +01:00
Agnès Toulet
37ee1c427d
Plugins: Upgrade grafana-plugin-sdk to 0.266.0 ( #100727 )
2025-02-14 16:33:45 +01:00
Tito Lins
ae9837b793
Alerting: Add alertmanager integration tests ( #100106 )
2025-02-13 11:36:45 +01:00
Misi
ee0a1391df
Auth: Add OrgRole to ID token ( #100383 )
...
* Changes for Users and ServiceAccounts
* Align tests
2025-02-12 05:51:29 -08:00
Ryan McKinley
a5355fd66c
Storage: Add command line tool to migrate legacy dashboards (and folders) to unified storage ( #99199 )
2025-02-11 19:57:46 +02:00
Gábor Farkas
390b5eb6d4
go.mod: updated grafana-plugin-sdk-go ( #100342 )
...
* go.mod: update grafana-plugin-sdk-go
* make update-workspace
2025-02-10 11:38:30 +01:00
Alexander Akhmetov
97109b36e3
Update grafana/alerting package from 995709fe8d64 to 04c87cf39038 ( #100293 )
2025-02-07 18:38:22 +02:00
Sam Jewell
f4426e22bf
SQL Expressions: Bump go-mysql-server dependency to main ( #100222 )
...
Bump go-mysql-server dependency to `main`
This is so we receive a few bug fixes - fixes to these issues:
- https://github.com/dolthub/dolt/issues/8807
- https://github.com/dolthub/dolt/issues/8735
- https://github.com/dolthub/dolt/issues/8724
2025-02-06 17:34:35 +00:00
Matthew Jacobson
ccb0e9222a
Alerting: Upgrade grafana/alerting to use EmbeddedContents ( #99983 )
...
* Upgrade grafana/alerting to include EmbeddedContents for email images
2025-02-06 11:29:43 -05:00
Kyle Brandt and Sam Jewell
d64f41afdc
SQL Expressions: Re-implement feature using go-mysql-server ( #99521 )
...
* Under feature flag `sqlExpressions` and is experimental
* Excluded from arm32
* Will not work with the Query Service yet
* Does not have limits in place yet
* Does not working with alerting yet
* Currently requires "prepare time series" Transform for time series viz
---------
Co-authored-by: Sam Jewell <sam.jewell@grafana.com >
2025-02-06 07:27:28 -05:00
Karl Persson
958d6e5e3a
Auth: Update authlib ( #100041 )
...
Bump authlib
2025-02-04 14:36:48 +01:00
Yuri Tseretyan and Santiago
0be6e1bb86
Alerting: Extra dedup stage in Grafana Alertmanager ( #99825 )
...
* add feature flags
* update alerting module
* update grafana alertmanager to configure the extra dedup stage
---------
Co-authored-by: Santiago <santiagohernandez.1997@gmail.com >
2025-01-31 11:12:38 -05:00
Igor Suleymanov
b683724bec
Upgrade grafana-app-sdk to 0.31.0 ( #99739 )
...
* Upgrade grafana-app-sdk to 0.31.0
What
This commit upgrades the app SDK to 0.31.0 and re-generates codegen files.
It doesn't touch alerting schemas, because those are quite old and
should be upgraded separately.
This commit slightly alters the schemas for the investigations app,
because the codegen is not happy with the current syntax, for some
reason (probably has to do with CUE upgrades in `cog`).
Why
To make sure we use up-to-date SDK version and remove the workaround for
the `defencoding=none` bug that required us to clean up generated CRD
files.
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Revert changes to golden file for store tests
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
---------
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
2025-01-30 16:10:42 +02:00
Yuri Tseretyan
7007342704
Alerting: k8s receivers api encrypt existing unencrypted secureFields on update ( #99784 )
...
* apply security patch: v11.5.x/305-202501232115.patch
commit 874ce8d12caad3742857ca86d2da7d5f81f3f825
Author: Matt Jacobson <matthew.jacobson@grafana.com >
Date: Thu Jan 23 16:14:28 2025 -0500
linting
commit c4b6d9194cc8b79e252e562a27a2d09a42d7a5e8
Author: Matt Jacobson <matthew.jacobson@grafana.com >
Date: Thu Jan 23 14:56:35 2025 -0500
CVE-2024-11741 - victorops url
2025-01-30 00:48:26 +02:00
Garret Wyman
cf177776bf
Alerting: Adding color option for slack receiver ( #99615 )
2025-01-30 00:12:16 +02:00
Mariell Hoversholm
baaff6296f
Logging: Use slog adapter for go-kit/log with App SDK logger ( #99740 )
...
* feat: use slog adapter for go-kit/log
The adapter library is Apache-2.0, which is compatible with AGPL-3.0 as a dependency.
The adapter library outputs a little more info than we'd like, but rather a couple fields too many than it outputting
ERROR logs as INFO.
* feat: update dependencies
* chore: attribute ownership of dependency
* refactor: move require
* chore: make update-workspace
2025-01-29 14:59:37 +01:00