Commit Graph
58009 Commits
Author SHA1 Message Date
Kyle BrandtandAdam Simpson f4849eabc7 SQL Expressions: Change metric conversion to full long (#102728)
When querying metric data (non-table data) with SQL Expressions, we need to convert the data to table format. This is alternative format which does not have the same issues with sparse data.

There is now a __metric_name__ column and one __value__ column. Also a __display_name__ column if there is DisplayNameFromDS metadata.

---------

Co-authored-by: Adam Simpson <adam@adamsimpson.net>
2025-03-24 22:04:43 +02:00
Stephanie Hingtgen 5dd0aa2c73 Revert "Cloudwatch: Migrate to aws-sdk-go-v2" (#102738)
Revert "Cloudwatch: Migrate to aws-sdk-go-v2 (#99643)"

This reverts commit 5bb1d5f2c3.
2025-03-24 19:11:04 +00:00
Jev Forsberg 53d355813e Chore: Migrate main-lint-backend drone pipeline to GHAs (#102494)
* baldm0mma/ adjust triggers to run on push to main

* baldm0mma/ rename and update codeowners
2025-03-24 13:09:59 -06:00
Jev Forsberg 8359474a1c Chore: Add pushes to main in the storybook-verification workflow (#102496)
baldm0mma/ add pushes to main
2025-03-24 12:35:24 -06:00
Stephanie Hingtgen 1e4555c79b K8s: Folders: fix error conversion (#102737) 2025-03-24 19:59:26 +02:00
Ida Štambuk c8881c272f Prometheus: Add back @lezer/highlight to dev dependency (#102632) 2025-03-24 17:59:48 +01:00
Josh Hunt 41cc82b8d0 Combobox: Refactor sortByGroup for performance (#102664)
* first pass at improving perf of sortByGroup

* polish up
2025-03-24 15:57:00 +00:00
Jev Forsberg 1adcee17ca Chore: Add push to main trigger to lint-build-docs workflow (#102653)
* baldm0mma/ add push to main trigger for docs lint and build

* baldm0mma/ update naming
2025-03-24 09:56:47 -06:00
Stephanie Hingtgen c76a681a43 Dashboards: Prevent version restore to same data (#102665) 2025-03-24 10:48:46 -05:00
Karl Persson 55f2812466 Annotations: Fix annotations scope resolver (#102612)
* Fix annotations scope resolver
2025-03-24 16:00:07 +01:00
Alex BikfalviandAndre Pereira bef5df2476 feat(datasource/Tempo): Report timerange to Rudderstack (#102218)
* feat(datasource/Tempo): Report timerange to Rudderstack

This adds another parameter to the Rudderstack instrumentation,
reporting the query time range in seconds.

Signed-off-by: Alex Bikfalvi <alex.bikfalvi@grafana.com>

* Update public/app/plugins/datasource/tempo/datasource.ts

Co-authored-by: Andre Pereira <adrapereira@gmail.com>

* Update public/app/plugins/datasource/tempo/datasource.ts

---------

Signed-off-by: Alex Bikfalvi <alex.bikfalvi@grafana.com>
Co-authored-by: Andre Pereira <adrapereira@gmail.com>
2025-03-24 14:24:10 +00:00
Mariell Hoversholm e862fb3cd7 Security: Update JWT library (CVE-2025-30204) (#102715)
* Security: Update JWT library

* Security: Update JWT v5 library
2025-03-24 15:22:53 +01:00
Alexander Akhmetov dcaa40312f Alerting: Fix typo in the recording_rules ini section (#102707) 2025-03-24 15:14:41 +01:00
b0fda33d06 Docs: What's new & Upgrade guide v11.6 (#101479)
* Docs: What's new & Upgrade guide v11.6

* Adding alerting entries

* adding new entries

* updating entries and initial text from website PR

* Reorder changelog entries

* adjusting front matter spacing for product labels

* adding missing space

---------

Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2025-03-24 08:58:32 -05:00
Ashley Harrison 030893ac23 ScrollIndicators: Tweak to be more subtle (#102539)
* tweak scroll indicators to be more subtle

* remove extra bracket
2025-03-24 13:50:50 +00:00
Alexander Akhmetov b4758d06a3 Alerting: Support JSON Content-Type in the Prometheus conversion API (#102627)
Alerting: Support content-type: json in conversion API
2025-03-24 14:15:25 +01:00
Piotr Jamróz 82ea562b75 Tempo: Add support for ad-hoc filters (#102448)
* Add support for ad-hoc filters

* Handle enum tags when using ad hoc filters
2025-03-24 13:56:51 +01:00
Torkel Ödegaard f0db0c4f0d Dashboards: Rows layout polish and fixes (#102666) 2025-03-24 13:51:21 +01:00
Torkel Ödegaard c20de2b753 Tabs: Support for nested url sync (#102670) 2025-03-24 13:50:37 +01:00
Hugo Häggmark 6f2a9abc03 i18n: consolidate i18n types & runtime services (#102535)
* i18n: consolidate i18n types & runtime services

* Chore: updates after PR feedback

* Chore: updates after feedback

* Chore: updates after feedback

* Chore: updates after PR feedback

* Chore: fix i18n

* Chore: updates after PR feedback
2025-03-24 13:20:00 +01:00
Ashley Harrison 9e9eb7a4f8 Chore: add new theme event, modify preference type in drawer (#102523)
* add new theme event, modify preference type in drawer

* update to theme_drawer
2025-03-24 11:57:37 +00:00
Ashley Harrison 0bedd57812 Chore: Auto mark up some more areas for translations (#102479)
* markup api-keys

* markup auth-config

* auto markup connections

* markup explore

* translation extractions

* fix unit tests
2025-03-24 11:41:45 +00:00
Peter Štibraný 00db0cf6e6 Remove dependency from OSS to enterprise packages by moving Spanner functions to xorm. (#102692)
* Remove dependency from OSS to enterprise packages by moving Spanner functions to xorm.
2025-03-24 12:16:12 +01:00
Piotr Jamróz d4a4aac8d1 TraceView: Fix links menu position (#102693) 2025-03-24 11:47:56 +01:00
Nathan Vērzemnieks 5bb1d5f2c3 Cloudwatch: Migrate to aws-sdk-go-v2 (#99643) 2025-03-24 11:37:19 +01:00
Denis Vodopianov 35d22dc83d Chore: Cleanup bwplotka/bingo managed tools (#102583)
* cleanup  biingo managed tools

* add .bingo to prettier exclusions
2025-03-24 11:11:13 +01:00
Denis Vodopianov c4549b59c5 Chore: Remove drone from go managed tools (#102529)
* remove drone from go managed tools

* updating workspace after drone removal
2025-03-24 11:10:57 +01:00
Ashley Harrison ddd3b82581 remove webpack aliasing for runtime + data (#102449) 2025-03-24 10:07:03 +00:00
Andrej Ocenas 5d2dbd7883 Scopes: Move url sync from scenes to the ScopesSelectorService (#102469)
* Add url sync

* Move the URL sync handling to ScopesService to keep persistence

* Reset location after tests

* Prettier

* Do url replace on enabling scopes

* Remove comment

* Update scenes version
2025-03-24 11:00:50 +01:00
Pepe CanoandSonia Aguilar d25dba8d0a Alerting docs: additional details for No Data and Error alerts (#102593)
* Alerting docs: additional details for `No Data` and `Error` alerts

* add Error in the list of possible values

---------

Co-authored-by: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com>
2025-03-24 10:43:01 +01:00
Ashley Harrison 4f01c1aa88 LDAP test: Fix page crash (#102587)
* fix translation code on ldap page causing crash

* move tooltip outside of trans
2025-03-24 09:20:40 +00:00
JoeyandPiotr Jamróz dfe2af9559 Tempo: Remove aggregate by (#98474)
* Remove aggregate by

* Update betterer

* Run toggles test

* Add back group by in schema so it can be checked for

* Show error if group by

* Update error message

* Allow user to remove the group by from the query

* Fix assertion

---------

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2025-03-24 09:17:32 +00:00
linoman cb532cafef SCIM: Validate provisioned users (#102099)
* Validate authID when user is provisioned

* Add new `user_unique_id` to `user_auth` table

* Validate provisioned user with saml assertion

* Rework `ExternalUID`

* Validate for ExternalUID only

* Enhance verbosity

* Move ExternalUID to saml config

* Rename db variable for externalUID

* Add verbosity to debug ExternalUID

* Assign new error for ExternalUID mismatch

* Add `GetByLoginFn`

* Add new configuration to saml tests

* add validation for empty externalUID
2025-03-24 09:28:51 +01:00
Pepe Cano 07b520378f alerting(ui): update helpUI text for simplified routing (#102225)
* alerting(ui): add helpInfo for optional simpleRouting settings

* minor copy change

* update betterer results

* alerting(ui): update helpUI text for simplifiedRouting

* fix i18n error with `make i18n-extract`
2025-03-24 09:26:17 +01:00
Matheus MacabuandMichael Mandrus 9c0c9359a0 CloudMigrations: Refactor folder name resolution when fetching migration json data (#102604)
* CloudMigrations: Refactor folder name resolution when fetching migration json data

* Update pkg/services/cloudmigration/cloudmigrationimpl/snapshot_mgmt.go

---------

Co-authored-by: Michael Mandrus <41969079+mmandrus@users.noreply.github.com>
2025-03-24 08:17:11 +01:00
Marco de AbreuandMarco de Abreu 543c0bbccb App platform: Add cleanup job for dashboards when going through /apis (kubectl) (#102506)
* Add dashboard cleanup job

Change log message

Adjust logic to account for new head RV logic

Don't update lastResourceVersion due to pagination

Save improvements

* Address review feedback

* Update docs.

* Remove docs

* Rename config

---------

Co-authored-by: Marco de Abreu <18629099+marcoabreu@users.noreply.github.com>
2025-03-22 23:47:27 +01:00
jackyin c661077651 Bar Chart: Crash when no number field exist (#102265)
* fix bar chart crash

* format

* use optional chaining
2025-03-22 14:44:48 -05:00
KristinaandIsabel Matwawana bb8392c9a1 Transformations: Correct documentation around prepare time series (#102553)
* Correct documentation around prepare time series

* Update public/app/features/transformers/docs/content.ts

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>

---------

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2025-03-22 14:25:12 -05:00
Stephanie Hingtgen 4d79d5e80c K8s: Fix legacy dashboard folder check (#102660) 2025-03-22 06:22:59 +03:00
Todd Treece 1b1f626edd SQL Expressions: Fix error handling (#102650) 2025-03-21 18:47:00 -04:00
Jev Forsberg 8becf33d31 Chore: Simplify releasefinder.sh logic (#102569)
* baldm0mma/ simplify

* baldm0mma/ add pr info

* baldm0mma/ update logic

* baldm0mma/ update language

* baldm0mma/ add PR title

* baldm0mma/ simplify logic

* baldm0mma/ add context

* baldm0mma/ adjust logic
2025-03-21 16:01:10 -06:00
Stephanie Hingtgen 62e3c95e7b K8s: Dashboard history: Fix version endpoint in mode3+ (#102649) 2025-03-21 22:54:23 +02:00
owensmallwoodandWill Assis 4cb9042e4c Unified Storage: Update docs for search and load tests (#102648)
* add index on dashboard_tag table for dashboard_uid column

* updates US docs for search and load tests

* Update pkg/storage/unified/README.md

Co-authored-by: Will Assis <35489495+gassiss@users.noreply.github.com>

---------

Co-authored-by: Will Assis <35489495+gassiss@users.noreply.github.com>
2025-03-21 22:30:05 +02:00
owensmallwood 64e939fd5d Unified Storage: Adds span and debug log for paginated List calls (#101912)
Adds span and debug log for paginated List calls
2025-03-21 14:20:27 -06:00
Georges Chaudy 57658abdb1 spanner: update the sequence generator to allocate sequences in batch (#102435)
* spanner: update the sequence generator to allocate sequences in batch

* lock per sequence

* handle error scenario

* rollback on error

* mutex-hat

* implement sequent generator
2025-03-21 20:58:35 +01:00
Johnny Kartheiser e2b84ff828 alerting docs: add note about alert rule versions limit (#102647)
added note about alert rule versions limit
2025-03-21 14:40:58 -05:00
6d570db312 Storage: Add ascending order support for NotOlderThan queries and introduce ResourceVersionMatch_Unset as default (#102505)
* Add support for ASC ordering and introduce ResourceVersionMatch_Unset as default
Add SortAscending to continue token and add integration test for pagination.

* Change protobuf order

* Make backwards compatible

* Update pkg/storage/unified/sql/backend.go

Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com>

---------

Co-authored-by: Marco de Abreu <18629099+marcoabreu@users.noreply.github.com>
Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com>
2025-03-21 18:35:32 +02:00
Jacob Valdez 7d435e5d84 Docs: Cleaning up configure security hardening docs (#102567)
* Docs: Cleaning up configure security hardening docs

* Adjusting layout
2025-03-21 11:16:10 -05:00
IevaandIrene Rodríguez 8af271187c Docs: Remove references to group sync (#102599)
* remove references to group sync

* remove relfref and add new link

* remove relfref

* Update relfref

* remove relrefs and add admonitions

* fix URL

* remove relrefs

* replace relrefs

* replace relrefs

* replace relrefs

* replace relrefs

* replace relrefs

* replace relrefs

* replace relrefs

* replace relrefs

* run prettier

---------

Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com>
2025-03-21 16:13:44 +00:00
Misi 874751d9da Docs: AzureAD + SAML improvements (#102623)
* Docs: AzureAD + SAML improvements

* Fix
2025-03-21 17:00:12 +01:00