Matheus Macabu
7b7b37359f
[release-11.2.8] Chore: Bump dependencies to address security issues ( #101648 )
...
* Chore: Bump github.com/rs/cors to v1.11.1
* Chore: Bump github.com/golang/glog to v1.2.4
* Chore: Bump filippo.io/age to v1.2.1
* Chore: Bump github.com/ua-parser/uap-go to v0.0.0-20250213224047-9c035f085b90
* Chore: Bump github.com/go-jose/go-jose/v3 to v3.0.4
* Chore: Bump golang.org/x/net to v0.36.0
* Chore: Bump golang.org/x/oauth2 to v0.28.0
* Chore: Bump github.com/moby/moby to v27.5.1
* Chore: Bump github.com/elazarl/goproxy to v1.7.1
* Zanzana: bump openfga version (#94485 )
* Bump openfga
* Remove internall sqlite implementation for openfga
* Use sqlite implementation from openfga
(cherry picked from commit 9ece88d585 )
* Chore: Bump github.com/openfga/openfga to v1.8.5
---------
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
2025-03-07 10:14:08 +01:00
Matheus Macabu
21f1d02b3f
[release-11.2.8] Chore: Bump Go version to 1.23.7 ( #101294 )
...
* Chore: Bump Go version to 1.23.7
* Chore: Bump golangci-lint version to match Go version
* Chore: Run yarn prettier:write
* Chore: Bump godeltaprof to v0.1.8 to fix start-up
* Chore: Fix wire updated error fixture
* Chore: Fix OpenAPI spec diffs
* Chore: Fix new linting errors from Go upgrade
2025-03-05 09:55:25 +01:00
Mariell Hoversholm
28dc9aeb04
Backport 0a390cc069 from #97823 ( #97856 )
2024-12-12 15:49:34 +01:00
grafana-delivery-bot[bot]
bfbf8d6b9c
[v11.2.x] Prometheus: Fix passing query timeout to upstream queries ( #95263 )
...
Prometheus: Fix passing query timeout to upstream queries (#95104 )
* remove queryTimeout from constructor
* use queryTimeout for range and instant queries
* remove comment
* remove default query timeout
* fix linting
(cherry picked from commit 78a00d09cd )
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
2024-10-23 16:49:16 +02:00
Dave Henderson
986a6365b0
[v11.2.x] Chore: Bump Go to 1.22.7 ( #93353 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-09-17 12:41:26 -04:00
Yuri Tseretyan
d79822db37
[v11.2.x] Chore: Add go workspace scripts ( #92297 )
...
Chore: Add go workspace scripts (#91707 )
(cherry picked from commit 7f155b2b6f )
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com >
2024-08-22 10:51:46 -04:00
Yuri Tseretyan
8c1926a422
Revert "update open API"
...
This reverts commit 00ff74cc96 .
2024-08-22 10:05:40 -04:00
Todd Treece
00ff74cc96
update open API
2024-08-22 10:02:46 -04:00
Andreas Christou
d76b8f6ca8
[v11.2.x] Bump grafana-azure-sdk-go and related dependencies ( #92236 )
...
Bump grafana-azure-sdk-go and related dependencies (#91124 )
* Bump Azure SDK and related dependencies
* Update go.mods
* update-workspace
* Update go files
(cherry picked from commit 24c9aad5bb )
# Conflicts:
# go.mod
# pkg/apimachinery/go.sum
# pkg/apiserver/go.sum
# pkg/promlib/go.sum
2024-08-21 21:10:16 +01:00
Todd Treece
b4126d3bce
Chore: Update k8s.io dependencies ( #91692 )
2024-08-08 18:39:44 +03:00
Todd Treece
e890279dcf
Chore: Add go work sync to workspace update ( #91360 )
2024-08-01 00:06:05 +03:00
Santiago
b79b38f02c
Alertmanager: Support limits for silences ( #90826 )
...
* Alertmanager: support limits for silences
* update grafana/alerting to latest main
2024-07-24 14:22:29 +02:00
Dave Henderson
f446096eb1
chore(deps): Upgrade openapi dep, remove replace directive ( #90609 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-07-18 14:42:18 -04:00
Ryan McKinley
bb40fb342a
Chore: go mod tidy + sum cleanup ( #90576 )
2024-07-18 07:48:21 -07:00
Andreas Christou
2616366a0a
Prometheus: Reintroduce Azure audience override feature flag ( #90339 )
...
* Re-add feature flag with deprecation note
* Hide the field in frontend if ff disabled
* Block scope overriding if ff is disabled in backend
- Update promlib to forward logger to extendOptions
- Add warning
- Update tests
* Default toggle to true for now
* Update description
* Update prom tests
* Fix lint
2024-07-17 15:09:55 +01:00
Marcus Efraimsson
2cf3a4d9ee
API Server: Override k8s api server profile contention flag with custom ones ( #90238 )
...
Upgrades sdk ro v0.238.0
2024-07-10 17:27:51 +02:00
Marcus Efraimsson
c8af659f02
Plugins: Enhanced plugin instrumentation ( #90199 )
...
* Plugins: Enhanced plugin instrumentation
* use backend.CallResourceResponseSenderFunc
* sdk v0.237.0
* support admission control
* cover all handlers in log and metrics middlewares
* fix after review
2024-07-09 15:03:46 +02:00
Fabrizio
c42dd6e920
Tempo: Run go get ( #89335 )
...
* Run `go get`
* Run `go work sync`
* Update go.work.sum
---------
Co-authored-by: André Pereira <adrapereira@gmail.com >
2024-07-08 14:01:38 +01:00
Andres Martinez Gotor
844d575681
Chore: fixes for admisison handlers ( #90033 )
2024-07-04 10:49:51 +02:00
ismail simsek
c538d7ca6f
Chore: Update go.mod go.sum and go.work.sum files ( #89992 )
...
* Update go.mod go.sum and go.work.sum files
* set owners
2024-07-03 14:08:44 +02:00
Andres Martinez Gotor
f41ee615ba
Chore: Add basic admission handlers for registered API services ( #89824 )
2024-07-03 09:19:54 +02:00
Todd Treece
9c6d3590a2
Chore: Fix apiserver circular dependencies ( #89918 )
2024-07-01 11:42:34 -04:00
Will Browne
74230937f4
Plugins: Update plugin SDK Go to 0.235.0 ( #89153 )
...
update plugin SDK go to 0.235.0
2024-06-13 15:14:39 +02:00
Gabriel MABILLE
afcb5a855c
AuthZ: embed an authorization server ( #89018 )
...
* AuthZ: embed an authorization server
* CODEOWNERS
* Remove swagger
* WIP
* Flatten structure and inject wireset
* sync mod files
* Rename authorization package
* Fix swagger gen
* CODEOWNERS
* Use itf instead of impl
---------
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
2024-06-13 11:41:35 +02:00
Isabella Siu
cd15e9732d
Cloudwatch: Use the metric map from grafana-aws-sdk ( #88733 )
2024-06-06 21:25:54 +03:00
Dave Henderson
ca1379bad3
chore: A few updates for the pkg/build/wire fork ( #88813 )
...
* chore: A few updates for the pkg/build/wire fork
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
* chore: run go work sync
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-06-06 16:09:27 +03:00
Marcus Efraimsson
2403665998
Chore: Remove legacydata package ( #88790 )
...
* Chore: Remove legacydata package
* remove unused dependency
* sdk v0.234.0
2024-06-05 22:31:06 +02:00
Bogdan Matei
55ea077c3e
Scopes: Select scope even without data retrieval ( #87988 )
...
* Scopes: Select scope even without data retrieval
* Pass entire scope and not only the spec to Prometheus
* Enrich ScopeSpec that is sent to Prometheus
* add name to BE
---------
Co-authored-by: Kyle Brandt <kyle@grafana.com >
2024-05-29 20:09:27 +03:00
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
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
Ryan McKinley
ffc2702552
Plugins: Support Admission validation hooks ( #87718 )
2024-05-24 18:45:16 +03:00
Ryan McKinley
42b0f802de
QueryTypes: Add feature toggle to show query types in datasource apiservers ( #88213 )
...
* initial attempt
* show query types
* show query types
* with formatting
* with formatting
* more cleanup
* add feature toggle
* fix build
2024-05-23 18:46:28 +02:00
Scott Lepper
cac40795a5
sql expressions - logging ( #88193 )
...
* sql expressions - logging
2024-05-22 17:18:46 -04:00
Kyle Brandt
1ab8208e07
Prometheus: Add interpolation of groupByKeys query parameters into expr ( #86360 )
...
---------
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
2024-05-16 08:36:03 -04:00
Bogdan Matei
6127dfd322
Scopes: Adapt for new API ( #87841 )
...
* Implement changes for new Scopes API
* Update from linkID to linkId
* Fixes
* Fix tests
* prom/scopes: change query model to recieve []ScopeSpec
* Move to basic backend service
---------
Co-authored-by: Kyle Brandt <kyle@grafana.com >
2024-05-15 16:28:09 +03:00
Andres Martinez Gotor
ae152af119
Upgrade grafana-plugin-sdk-go to v0.230.0 ( #87706 )
2024-05-13 13:23:30 +02:00
Stephanie Hingtgen
1bc6738d92
Chore: Upgrade go from 1.21.0 to 1.21.10 ( #87479 )
2024-05-09 15:57:08 +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
Ryan McKinley
333ed377d6
Prometheus: Avoid parsing unused legacy datasource property ( #87224 )
...
* query cleanup
* parse query
* more comments
2024-05-05 15:00:53 +03: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
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]
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
Kyle Brandt
46efe41e33
Prometheus: (Instrumentation) Add rawExpr (pre-interpolation) to traces ( #86449 )
2024-04-17 19:53:38 +02: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
Kyle Brandt
a12669951b
Prometheus: Add BE support for Adhoc Filters ( #85969 )
...
---------
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
2024-04-16 16:56:50 +03: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
Todd Treece
72472e5eb7
K8s: Add slog wrapper ( #84680 )
2024-04-09 18:39:25 +03:00