Commit Graph

57142 Commits

Author SHA1 Message Date
grafana-delivery-bot[bot] 561331e1a4
Release: update changelog for 11.2.7 (#100912)
Update changelog

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com>
2025-02-18 17:01:57 -07:00
grafana-delivery-bot[bot] a51e673f2e
Release: update changelog for 11.1.12 (#100900)
Update changelog

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-18 16:59:08 -07:00
Kevin Minehart 75189de4f7
CI: Post-release process branch / PR migration (#100930)
* update output for token in release-comms

* use token from needs

* generate token in individual workflows

* Set secrets

* define secrest in referenced workflows

* wrong secret lol

* oops

* grafana/grafana -> grafana/grafana-enterprise
2025-02-19 01:19:01 +02:00
Stephanie Hingtgen 3e6f40c873
K8s: Move to one feature toggle for folders and dashboards (#100911) 2025-02-19 01:11:26 +02:00
Scott Lepper 9a0e874e9b
Unified Search: remove date sort fields (#100924) 2025-02-18 17:34:04 -05:00
Pepe Cano e1c1cc34af
Alerting docs: Update `Amazon SNS` integration (#100754)
* Update `Configure Amazon SNS notifications`

* Clarify templateable fields

* correct prop description
2025-02-18 22:50:13 +01:00
Ryan McKinley 66932600ec
K8s: DecisionNoOpinion for claims.TypeAnonymous (#100880) 2025-02-18 13:49:54 -08:00
Kevin Minehart 14477a7fe9
CI: release comms should trigger on merges to release- branches (#100901)
release comms should trigger on merges to release- branches
2025-02-18 22:34:21 +02:00
grafana-delivery-bot[bot] 10eb1d9062
Release: update changelog for 11.0.11 (#100895)
Update changelog

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-18 13:02:17 -07:00
grafana-delivery-bot[bot] 2bd63a6d71
Release: update changelog for 10.4.16 (#100890)
Update changelog

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-18 12:36:25 -07:00
Stephanie Hingtgen 67be9aeed6
K8s: Search fallback: Support all sort by methods (#100776) 2025-02-18 12:30:11 -06:00
Piotr Jamróz 7b3b165c3d
Ci: Use app token during checkout (#100889)
Use app token during checkout
2025-02-18 11:29:26 -07:00
Ezequiel Victorero fd8a2158f1
Docs: Image renderer https configuration using environment variables (#100846) 2025-02-18 14:35:40 -03:00
Ivana Huckova 67d8610e31
SQL data sources: Use correct error source for sql processing errors (#100872)
* SQL data sources: Use correct error source for sql processing errors

* Fix lint

* Fix  cyclomatic complexity

* Nit rename variable to make it more clear what those errors are
2025-02-18 18:24:44 +01:00
Jack Westbrook 08000eeece
Chore: refresh betterer results file (#100863)
* chore(betterer): refresh results file

* ci(betterer): add betterer:ci script to catch out of sync results file
2025-02-18 18:23:32 +02:00
Matheus Macabu 6f0191403d
Chore: Increase golangci-lint timeout to 15min (#100811) 2025-02-18 17:00:30 +01:00
Fiona Liao 070ae1af61
Fix typo for prepare time series transformation (#100436) 2025-02-18 09:49:51 -06:00
Mariell Hoversholm 98fdcd52b3
CI: Output HTML coverage page in artifact (#100875)
* CI: Output HTML coverage page in artifact

* CI: Use correct artifact source
2025-02-18 16:13:52 +01:00
Tobias Skarhed 4c8a63320c
Multi/Combobox: Use pointer cursor when not focused (#100878)
Combobox: Add pointer when not focused
2025-02-18 15:57:53 +01:00
Piotr Jamróz 4979dd4eec
CI: test if test-plugins folder exists before adding (#100876) 2025-02-18 15:38:36 +01:00
Haris Rozajac f25d163a82
Dashboard Schema V2: Fix query variable bug (#100773)
fix
2025-02-18 07:18:45 -07:00
Ansh Goyal 870c65a80f
Docs: update contributor/developer-guide for file watchers and heap limit errors (#96197)
* Update developer-guide.md

* Update developer-guide.md

* Add commands for macOS systems

* refine text

* Run prettier

---------

Co-authored-by: Matheus Macabu <macabu.matheus@gmail.com>
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com>
2025-02-18 15:03:11 +01:00
Mariell Hoversholm 6f9fc8fa0c
CI: Track backend code coverage (#100856)
* CI: Track backend code coverage

This is a super rudimentary way to track this coverage. The important bit for me is the ability to extract the coverage
files.

* CI: Allow tests to fail

* Codeowners: Assign ownership of coverage tracking

* CI: Join coverage info in the job

* CI: Attempt to parallellise tests

* CI: Upload despite failures

* CI: Pattern is not regex

* CI: Set up repository and Go before merging

* CI: Generate go before checking coverage

* CI: Multi-line string

* CI: Backticks execute commands; avoid them

* CI: Make the output a bit prettier

Tabs are absurdly large.

* CI: Remove comment on retention
2025-02-18 14:35:06 +01:00
Victor Cinaglia 46a537aa02
iam: Fix debouncing in user, team and service account pickers (#100830)
iam: fix debouncing in user, team and service account pickers
2025-02-18 08:34:37 -05:00
Nicolas Simonds 678d1847b8
chore: remove duplicated section in sample.ini (#98566) 2025-02-18 13:18:30 +00:00
Misi 768ec4c2c5
Auth: Fix AzureAD config UI's ClientAuthentication dropdown (#100752)
* wip

* Address feedback
2025-02-18 12:42:09 +01:00
Konrad Lalik 3bdb6ee11c
Alerting: Improve rules fuzzy search (#100822)
* Add string search fallback for long and unusual search queries

* Add a test for fallback search
2025-02-18 11:29:39 +01: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
grafana-pr-automation[bot] 61d959d04b
I18n: Download translations from Crowdin (#100850)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-18 02:32:09 +02:00
Matheus Macabu aceda85a4d
Chore: Regenerate go.work.sum (#100816) 2025-02-17 22:44:02 +02:00
Ezequiel Victorero 9df6412e92
Reporting: Add new creation drawer feature flag (#100759)
Reporting: Add new creation drawer
2025-02-17 16:05:46 -03:00
Mat Ryer 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
Andrej Ocenas 78ef9fd9d9
QueryLibrary: rename API from peakq to querylibrary (#100813) 2025-02-17 17:49:11 +01:00
Ashley Harrison 7a6f4ced06
Themes: Temporary fix for initialising saved grafanacon themes (#100810)
temporary fix for initialising saved grafanacon themes
2025-02-17 16:39:04 +00:00
Sonia Aguilar 3bb3a74ac1
Alerting: Add tracking for the mode used in query and notifications step when c… (#100824)
Add tracking for the mode used in query and notifications step when creating a grafana rule
2025-02-17 18:09:02 +02:00
Robert Goltz 27837ee937
Chore: Update alpine docker image (minor) - 3.20.5 to 3.20.6 [security] (#100791)
* Chore: Update alpine docker image (minor) - 3.20.5 to 3.20.6 [sec-fixes]

* Chore: Regenerate .drone.yml

---------

Co-authored-by: Matheus Macabu <macabu.matheus@gmail.com>
2025-02-17 16:41:38 +01:00
Sonia Aguilar 67722de343
Alerting: Add DAG errors to alert rule creation and view (#99423)
* catch error in query tab when running query throws an error

* add translations

* fix translations

* update query runner to omit nodes that failed to link

* remove unused function

* add DAG errors to AlertingQueryRunner

* bump CI

* fix test

* update test

* fix i18n

* revert code pieve

* Bring the piece of code back 😁

* bail from runner when no queries are to be executed

* add tests and translations

* refactor prepareQueries to omit broken refs and exclude descendant nodes

* update code comments

* fix omitting descendant nodes

* add all broken or missing nodes to panel errors

* go go drone

* remove unused function

* fix prettier and translations

* add export

---------

Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2025-02-17 16:11:52 +01:00
Hugo Kiyodi Oshiro 29afe7d2cc
Plugins: Remove managedPluginsInstall feature toggle (#100416)
* Plugins: Remove managedPluginsInstall feature toggle

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2025-02-17 16:07:41 +01:00
Marcus Andersson 39b424b8a7
PluginExtensions: Making it possible to set secureJsonData on datasource config page. (#100726)
* Added setSecureJsonData to the configure context.

* Exposing which fields are set in secureJsonData.

* removed omit.
2025-02-17 15:20:35 +01:00
Ashley Harrison 60fa83ea53
Theme: ensure feedback link is gated behind config option (#100815)
ensure feedback link is behind config option
2025-02-17 16:15:03 +02:00
Marcus Andersson 84d22e176b
PluginExtensions: Exposing registry meta for components returned via `usePluginComponents` (#100587)
Exposing meta information from registry via Component.meta.
2025-02-17 14:50:35 +01:00
renovate[bot] 187a18ea25
Update dependency i18next-parser to v9.3.0 (#100800)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-17 13:50:19 +00:00
Bogdan Matei d4fdffc387
Explore: Fix key error (#100812) 2025-02-17 15:37:55 +02:00
Karl Persson e9b2f69137
Authz: Only have two modes for authz client (#100803)
* Only have "inproc" and "clod" mode
2025-02-17 14:37:25 +01:00
Roberto Jiménez Sánchez 8edfff1bba
[Enterprise] Consolidate extensions folders and keep them around (#98486)
* WIP: copy approach

* Fix package name

* Do not ignore .keep for frontend extensions

* Add keep file for frontend extensions

* Tweak makefile to generate enterprise swagger or not

* Remove duplicate imports

* Add build extensions

* Add CMD extensions

* Add keep to e2e extensions

* Add .keep

* Reduce file structure changes

* Ignore boring crypto

* Add e2e extensions keep file

* Remove enterprise file

* Update .gitignore

* Move things around

* Update git ignore

* Consolidate backend extensions folder

* Move enterprise deps

* Update comment

* Do not use build tags

* Ignore setting enterprise

* Revert changes in makefile

* Revert package changes

* Add back extensions main.go

* Update git ignore

* Ignore spanner tests

* Trick ignore files only by git

* Add .ignore file to CODEOWNERS for frontend-ops

* Fix issue with noisy duplicate targets
2025-02-17 14:00:21 +01:00
Sonia Aguilar 2014d27def
Alerting: Add alert rule version history - part1 (#99490)
* Add alertingRuleVersionHistory feature toggle

* WIP: Add version history tab

* revert temp change in index.ts

* wip2

* --wip--

* sync code with the BE changes in the endpoint

* add translations

* Add translations

* use ff only for restore feature

* WIP: Add tracking, make version required, and start mapping dif results
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com>

* Tweak more translations and improve types

* Add button to show/hide JSON diff

* update type for top level rule fields

* Create types

* Make updated_by/version properties optional

* Update mocks to remove updated by and version

* add comments to restore code

* rename fetature flag, as we use this one only for the restore feature

* Update version history to handle special cases

* Add diff numbers

* Fix conflicts

* Move generic computeVersionDiff to a utils file

* Update DOM structure of version summary and tidy up types

* Add tests for version comparison logic

* Lint fix utils file

* Rename props and add docs

* Change to EmptyState and log when no versions

* Remove CreatedBy component and simplify

* Add missing i18n for version history

* add test for computeVersionDiff

* update test

* fix number diff order and add a test

* fix prettier

* fix prettier

* Add promise resolve back in

* Rename to humanReadableDiff and tweak translation

* Show tab for recording rules as well

* Split components out to separate files

* Add optional interval seconds

* Update i18n

* Remove commented code

* Remove value

* Remove unneeded version

* Consistent rendering of updated by

* Mode parseVersionInfo to a separate pure function

* update invalidate/provide tags for getAlertVersionHistory

* Use checkedVersions state only in the parent component

* update getSpecialUidMap name and create an interface

* Fix prettier

* update tab description

* use set instead of map for checkedVersions

---------

Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com>
2025-02-17 13:25:32 +01:00
Dominik Prokop c9250c9135
Transformation: Add support for variables to ALL transformations (#100225)
* Transformation: generic support for variables, yay

* clean up value matcher editors

* clean

* clean up filterByValue

* more

* clean

* clean

* more!

* lint

* Revert "Transformation: generic support for variables, yay"

This reverts commit deec7c306b.

* Bump scenes to canary

* filterByValue - remove irrelevant tests

* filterByName tests update

* calculateField test update

* nit

* is that gonna work?

* Update grafana-data tscnig config to use grafana-ui's react table types

---------

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
Co-authored-by: oscarkilhed <oscar.kilhed@grafana.com>
2025-02-17 13:07:11 +01:00
Tobias Skarhed f15c961a90
MultiCombobox: Add basic docs and make story public (#100806)
* MutliCombobox: Add basic docs and make story public

* Apply suggestions from code review

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>

---------

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2025-02-17 13:52:11 +02:00
Oscar Kilhed 855eadcabd
Dashboards: Tabs layout persistence (#100485)
* Tabs layout persistence

* fix lint issue

* Add tests, add tabs serializer to registry

* Fix deserialize tabs

* more tests

* tab item title optional

* change TabItemKind -> TabLayoutTabKind

* add tests for tabs serializer

* fix name in test

* Fix test after renaming tabs
2025-02-17 12:50:26 +01:00
Jack Westbrook 497491846e
Grafana Prometheus: Clean up package dependencies (#97398)
* chore(grafana-prometheus): use knip to clean up deps and dev deps

* update

---------

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
2025-02-17 12:48:17 +01:00