Kyle Brandt
a738cb42d8
Prometheus: Update dependency to v0.52.0 ( #87809 )
...
* Prometheus: Update dependency to v0.52.0
* go work sync
* fix panics in tests
* go work sync
* prometheus v0.52.0
* handle errors
* Update pkg/services/ngalert/sender/sender_test.go
Co-authored-by: Santiago <santiagohernandez.1997@gmail.com>
* Update pkg/services/ngalert/sender/sender_test.go
Co-authored-by: Santiago <santiagohernandez.1997@gmail.com>
---------
Co-authored-by: Santiago <santiagohernandez.1997@gmail.com>
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
2024-05-28 15:22:20 +02:00
Misi
aac6e6dfd9
Auth: Update SAML lib to improve HTTP-Post binding ( #88287 )
...
* Update lib and docs for HTTP-Post binding
* Improve docs
* fix spelling
* Regenerate go.sum and go.work.sum
2024-05-27 14:56:52 +02:00
Giuseppe Guerra
2b54ce6c51
Chore: Bump google.golang.org/grpc to 1.64.0 ( #88219 )
...
* Bump google.golang.org/grpc to 1.64.0
* Address grpc.Dial deprecation notices
* go mod tidy
* Update go.work.sum
* go work sync
2024-05-27 12:44:39 +02:00
Jon Cole
67b90ceba5
Azure: Load custom clouds from ini file ( #87667 )
...
* Load custom clouds from config file
* Update docs
* Use the correct list of clouds, add test, fix error condition handling
* Remove on custom cloud from sample.ini and docs
* Remove unnecessary else block
* Use cached json instead of serializing with each request
* Update grafana-azure-sdk-go version to v2.0.4
* update configure-grafana entry for clouds_config
* fix lint errors
* fix lint errors
---------
Co-authored-by: Jeremy Angel (from Dev Box) <jeremyangel@microsoft.com>
2024-05-24 17:40:04 +01:00
Ryan McKinley
ffc2702552
Plugins: Support Admission validation hooks ( #87718 )
2024-05-24 18:45:16 +03:00
Scott Lepper
cac40795a5
sql expressions - logging ( #88193 )
...
* sql expressions - logging
2024-05-22 17:18:46 -04:00
Gaurav Agrawal
fdaa091a4d
Alerting: Support custom API URL for PagerDuty integration ( #88007 )
...
* fix assert in LINE
* fix pagerduty asserts
---------
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com>
2024-05-22 15:31:55 -04:00
Diego Augusto Molina
8b02b6b76a
Unified Storage: create kind_version table migration, add SQL and fix db ( #87977 )
...
* fix database interfaces
* add queries
* fix queries
* fix linters
* add owner to imported go library
* remove unused funcs
* run go work sync
* improve critical section fix in data race fix
* fix linters
* remove sync
* fix typo
* improve data embedding
* fix linters
* fix migration
* remove unnecessary comments
* fix linters
* improve SQL templates readability
* remove group_version from kind_version for consistency in History method
* add created_at and updated_at columns to kind_version table
2024-05-22 11:59:40 -03:00
Karl Persson
78d1b2a250
Authn: Share key retriever between id and access token verifiers ( #87978 )
2024-05-20 09:13:46 +02:00
Scott Lepper
14a814a280
[sql expressions] fix: use ast to read tables ( #87867 )
...
* [sql expressions] fix: use ast to read tables
* can't run tests during ci yet. need to install duckdb
* skip for now. need duckdb cli
2024-05-14 17:05:29 -04:00
Fayzal Ghantiwala
7a2fbad0c8
Alerting: Add options to configure TLS for HA using Redis ( #87567 )
...
* Add Alerting HA Redis Client TLS configs
* Add test to ping miniredis with mTLS
* Update .ini files and docs
* Add tests for unified alerting ha redis TLS settings
* Fix malformed go.sum
* Add modowner
* Fix lint error
* Update docs and use dstls config
2024-05-14 14:21:42 +01:00
Andres Martinez Gotor
ae152af119
Upgrade grafana-plugin-sdk-go to v0.230.0 ( #87706 )
2024-05-13 13:23:30 +02:00
Karl Persson
8c7b8542f1
Chore:: Update authlib version ( #87603 )
...
update authlib version
2024-05-10 12:55:12 +02:00
lean.dev
b009536329
Caching: Implement mtls-enabled memcached integration ( #84171 )
...
* fix merge
* fix conflicts
* updating generated feature toggle code
* Fix go mod owner
* fix merge
* add dependency
* fix dependencies
* workspace sync
* go get
* work sync
* trying something
* fix
* add docs for tls config
* work sync
* adjust go mod
* try something
* move import to the correct file
---------
Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com>
2024-05-09 15:12:08 -04:00
Scott Lepper
4b38253b20
Sql Expressions: use display name for sql tables ( #87530 )
2024-05-08 16:43:55 -04:00
Andrew Hackmann
85fdc3db16
Azure Monitor: Update grafana-azure-sdk-go to v2.0.3 ( #87480 )
...
* update
* update
2024-05-08 23:40:57 +03:00
Marcus Efraimsson
41b29ff93c
Chore: Migrate to use buf for protobuf generation ( #87407 )
...
* Chore: Migrate to use buf for protobuf generation
* fix codeowners
* fixes after review
* docs/tooling for installing buf
* add back codeowners
* Update upgrading-dependencies.md
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com>
* sdk v0.229.0
---------
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com>
2024-05-08 15:42:40 +02:00
Charandas
d13e175328
K8s: upgrade authlib with correct IDTokenClaims ( #87461 )
2024-05-07 14:09:02 -07:00
Stephanie Hingtgen
d365d442fa
Chore: Upgrade go to 1.22.3 ( #87463 )
2024-05-07 15:23:21 -05:00
Karl Persson
2d8570e85e
IDToken: Reuse claims from authlib ( #87437 )
...
* bump authlib version
* Reuse claims from authlib
2024-05-07 16:46:43 +02:00
Charandas
0c59baf62d
ext_jwt: switch to new authlib ( #87157 )
2024-05-03 12:59:37 -07:00
Isabella Siu
5aeaeb6e90
Cloudwatch: Update grafana-aws-sdk to fix sts endpoints ( #87326 )
...
Cloudwatch: update grafana-aws-sdk to fix sts endpoints
2024-05-03 11:43:28 -04:00
Kristin Laemmert
ac07a9794b
Chore: update go.mod ( #87194 )
...
* Chore: update go.mod
2024-05-02 08:11:19 -04:00
dependabot[bot]
49e82eb4c1
Chore(deps): Bump github.com/Masterminds/sprig/v3 from 3.2.2 to 3.2.3 ( #87020 )
...
Bumps [github.com/Masterminds/sprig/v3](https://github.com/Masterminds/sprig ) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/Masterminds/sprig/releases )
- [Changelog](https://github.com/Masterminds/sprig/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Masterminds/sprig/compare/v3.2.2...v3.2.3 )
---
updated-dependencies:
- dependency-name: github.com/Masterminds/sprig/v3
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>
2024-05-01 11:24:37 -04:00
Marcus Efraimsson
2fc99375df
Chore: Upgrade otel dependencies ( #86994 )
...
* Chore: Upgrade otel dependencies
* sdk changes
* ignore deprecated go.opentelemetry.io/otel/exporters/jaeger for now
* use latest commit from sdk branch
* sdk v0.228.0
2024-04-30 15:12:45 +02:00
Andreas Christou
125ac18fa3
AzureMonitor: Enable session ID header for Log Analytics ( #86320 )
...
* Enable option
- Update sdk
* Sync go.work
2024-04-30 13:10:04 +01:00
Scott Lepper
7505af2886
Chore: Update go-duck dependency to v0.0.18 ( #87073 )
...
* Chore: Update go-duck dependency to v0.0.18
2024-04-29 14:46:19 -04:00
Marcus Efraimsson
aec4a23d21
Chore: Cleanup require sections in go.mod ( #86952 )
2024-04-26 09:40:23 +02:00
Marcus Efraimsson
fbcb9a3677
Chore: Upgrade/fix deps after thema removal ( #86763 )
...
* Chore: Upgrade/fix deps after thema removal
* github.com/deepmap/oapi-codegen v1.14.0
* github.com/deepmap/oapi-codegen v1.15.0
* github.com/deepmap/oapi-codegen v1.16.0
* fix for dep used in enterprise
* github.com/deepmap/oapi-codegen/v2 v2.0.0
* oapi-codegen/v2 v2.1.0, kin-openapi v0.122.0, sdk
* keep kin-openapi at v0.122.0 and allow SDK to use v0.124.0
* remove github.com/deepmap/oapi-codegen v1 dep
* fix owner
* add back github.com/deepmap/oapi-codegen v1 dep
* upgrade github.com/influxdata/influxdb-client-go/v2 to get rid of deepmap/oapi-codegen
* migrate to oapi-codegen/runtime
* sdk
* sdk v0.227.0
2024-04-25 20:52:09 +02:00
Marcus Efraimsson
ac152ca416
Chore: Upgrade grpc-ecosystem/go-grpc-middleware to v2 ( #86724 )
...
* Chore: Replace deprecated prometheus grpc middleware
* go mod tidy without enterprise
* with updated sdk branch
* sdk v0.226.0
* remove deprecated opentracing support for outgoing plugin requests
* migrate to github.com/grpc-ecosystem/go-grpc-middleware/v2
* fix
2024-04-25 17:25:48 +02:00
George Robinson
c049e5bbfc
Alerting: Update grafana/alerting to bb4f4f4 ( #86827 )
2024-04-25 10:47:01 +01:00
dependabot[bot]
2c5b684b85
Chore(deps): Bump google.golang.org/api from 0.162.0 to 0.176.0 ( #86794 )
...
* Chore(deps): Bump google.golang.org/api from 0.162.0 to 0.176.0
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.162.0 to 0.176.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.162.0...v0.176.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* but does it work across all workspaces
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kristin Laemmert <mildwonkey@users.noreply.github.com>
2024-04-23 12:32:16 -04:00
dependabot[bot]
ca7f41be11
Chore(deps): Bump buf.build/gen/go/parca-dev/parca/protocolbuffers/go from 1.28.1-20221222094228-8b1d3d0f62e6.4 to 1.33.0-20240414232344-9ca06271cb73.1 ( #86092 )
...
Chore(deps): Bump buf.build/gen/go/parca-dev/parca/protocolbuffers/go
---
updated-dependencies:
- dependency-name: buf.build/gen/go/parca-dev/parca/protocolbuffers/go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-23 12:02:36 -04:00
dependabot[bot]
18a4c56539
Chore(deps): Bump go.opentelemetry.io/collector/pdata from 1.0.1 to 1.5.0 ( #86091 )
...
* Chore(deps): Bump go.opentelemetry.io/collector/pdata
Bumps [go.opentelemetry.io/collector/pdata](https://github.com/open-telemetry/opentelemetry-collector ) from 1.0.1 to 1.5.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-collector/compare/pdata/v1.0.1...pdata/v1.5.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/collector/pdata
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* go work sync
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kristin Laemmert <mildwonkey@users.noreply.github.com>
2024-04-23 11:58:17 -04:00
Robert Horvath
86a9533863
Chore: Replace backend platform codeownership ( #86010 )
...
* Replace backend platform codeownership
* fix go.mod with work sync
* fix go.mod
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
Co-authored-by: Dave Henderson <dave.henderson@grafana.com>
2024-04-19 19:12:59 +02:00
ismail simsek
ec1af89a02
Chore: Bump promlib to v0.0.5 ( #86596 )
...
bump promlib to v0.0.5
2024-04-19 14:33:44 +02:00
Nick Richmond
82dd573ea4
Expressions: Fix erroneous sorting of metrics and expressions ( #86372 )
...
chore: upgrade `dataplane/sdata`
2024-04-17 16:03:33 -04:00
Will Browne
dceb83ab42
Plugins: Expose backendplugin for client proto interface ( #86207 )
...
* first pass
* tidy
* add err check
* remove comment
* simplify
* remove unused stuff
* add backend()
* use SDK commit
* add codeowners for go.mod
* fix go.mod
* bump SDK
* go work sync
2024-04-17 18:47:01 +02:00
Nick Richmond
d3fee607e2
Expressions: sort numeric metrics behind feature toggle ( #85911 )
...
* feat: sort numeric metrics behind feature toggle
* chore: upgrade `dataplane/sdata` to latest tag
* chore: `go work sync`
2024-04-16 10:52:47 -04:00
Nick Richmond
63aa8a6035
Chore: add missing modowner ( #86234 )
...
* chore: add modowner
* fix: modowner
2024-04-15 23:17:15 +02:00
Gábor Farkas
050105e70a
plugins: update to latest go plugin sdk version (v0.222.0) ( #85943 )
...
plugins: update to latest go plugink sdk (v0.222.0)
2024-04-11 14:41:37 +02:00
Matthew Jacobson
f79dd7c7f9
Alerting: Persist silence state immediately on Create/Delete ( #84705 )
...
* Alerting: Persist silence state immediately on Create/Delete
Persists the silence state to the kvstore immediately instead of waiting for the
next maintenance run. This is used after Create/Delete to prevent silences from
being lost when a new Alertmanager is started before the state has persisted.
This can happen, for example, in a rolling deployment scenario.
* Fix test that requires real data
* Don't error if silence state persist fails, maintenance will correct
2024-04-09 13:39:34 -04:00
Todd Treece
72472e5eb7
K8s: Add slog wrapper ( #84680 )
2024-04-09 18:39:25 +03:00
Will Browne
698436aa29
Plugins: Update to latest go plugin sdk (v0.221.0) ( #85796 )
...
* update plugin sdk
* fix indirect
2024-04-09 15:06:05 +02:00
Santiago
6a75a8f354
Alerting: Update grafana/alerting and use Upsert for creating silences ( #85676 )
...
* Alerting: Update grafana/alerting and use Upsert for creating silences
* go.work.sum
* change error message in tests for silences (save -> upsert)
2024-04-08 11:46:14 +02:00
Marcus Efraimsson
bdc492b96c
Chore: Upgrade grafana-plugin-sdk-go ( #85562 )
2024-04-04 08:07:29 +03:00
Gábor Farkas
8159e1db3a
Revert "Postgres: Switch the datasource plugin from lib/pq to pgx (#8… ( #85509 )
...
Revert "Postgres: Switch the datasource plugin from lib/pq to pgx (#83768 )"
This reverts commit ecd6de826a
.
2024-04-03 11:02:22 +02:00
Jo
5340a6e548
Auth: Extended JWT client for OBO and Service Authentication ( #83814 )
...
* reenable ext-jwt-client
* fixup settings struct
* add user and service auth
* lint up
* add user auth to grafana ext
* fixes
* Populate token permissions
Co-authored-by: jguer <joao.guerreiro@grafana.com>
* fix tests
* fix lint
* small prealloc
* small prealloc
* use special namespace for access policies
* fix access policy auth
* fix tests
* fix uncalled settings expander
* add feature toggle
* small feedback fixes
* rename entitlements to permissions
* add authlibn
* allow viewing the signed in user info for non user namespace
* fix invalid namespacedID
* use authlib as verifier for tokens
* Update pkg/services/authn/clients/ext_jwt.go
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
* Update pkg/services/authn/clients/ext_jwt_test.go
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
* fix parameter names
* change asserts to normal package
* add rule for assert
* fix ownerships
* Local diff
* test and lint
* Fix test
* Fix ac test
* Fix pluginproxy test
* Revert testdata changes
* Force revert on test data
---------
Co-authored-by: gamab <gabriel.mabille@grafana.com>
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2024-04-02 17:45:15 +02:00
Andres Martinez Gotor
d2ca95d304
Update plugin SDK to v0.219.0 ( #85438 )
2024-04-02 10:22:24 +02:00
Charandas
0f1151964c
K8s: standalone authenticator that allows a type of downstream forwarding ( #85130 )
2024-03-28 20:52:28 +02:00