Leon Sorokin
1b24b24fd2
Heatmap: Handle bounds <= 0 with sparse/native histograms
2024-11-14 13:36:08 -06:00
owensmallwood
9240cf1930
Unified storage Indexer: Add kind to hardcoded resource types ( #96149 )
...
* add kind to hardcoded resource types for indexer
* call ListOptions in Watch
* Use GaugeVec instead of CounterVec
* index folders before dashboards
2024-11-14 14:28:52 -05:00
Matthew Jacobson
64c93217ff
Alerting: Fix incorrect 500 code on missing alert rule dashboardUID / panelID ( #96491 )
2024-11-14 21:24:48 +02:00
renovate[bot]
97347a1f94
Update dependency @eslint/compat to v1.2.3 ( #96487 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 17:59:56 +00:00
renovate[bot]
4f095bcd65
Update dependency @grafana/faro-web-sdk to v1.12.0 ( #96485 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 17:02:42 +00:00
Ieva
d5cbb9fdc4
GAS: Document group attribute sync roles and permissions ( #96087 )
...
document GAS roles and permissions
2024-11-14 16:37:57 +00:00
Leon Sorokin
39fe0b29ff
XYChart: Remove old implementation ( #96416 )
2024-11-14 10:36:18 -06:00
renovate[bot]
c6f85579db
Update dependency @grafana/plugin-e2e to v1.12.1 ( #96476 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 16:33:48 +00:00
Andrej Ocenas
19844c4ba8
Sidecar: Route handling rework ( #96337 )
2024-11-14 17:28:12 +01:00
Kevin Minehart
54cc666aa0
Alerting: Add useReturnTo hook to safely handle returnTo parameter ( #96474 )
...
Add useReturnTo hook to safely handle returnTo parameter
Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com >
2024-11-14 18:08:58 +02:00
renovate[bot]
8375fcd350
Update scenes to v5.25.0 ( #96463 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 16:05:18 +00:00
Jacob Valdez
28ad9684e9
Docs/adding information on using variable expansion and env variable for TLS certs when provisioning data sources ( #96400 )
...
Docs/adding information on using variable expansion and env variables for TLS certs when provisioning data sources
2024-11-14 17:32:42 +02:00
Isabel Matwawana
af31ae0593
Docs: Add canvas custom images and icon guidance ( #91806 )
...
Co-authored-by: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com >
2024-11-14 17:25:18 +02:00
dependabot[bot]
0b84d8afe7
Bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 ( #95807 )
...
* Bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt ) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/golang-jwt/jwt/releases )
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md )
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.5.0...v4.5.1 )
---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix make workspace update
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jo <me@jguer.space >
2024-11-14 17:06:12 +02:00
renovate[bot]
a983e8254c
Update dependency @grafana/faro-web-sdk to v1.12.0 ( #96462 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 16:59:14 +02:00
renovate[bot]
0e4bfefd37
Update dependency @grafana/faro-core to v1.12.0 ( #96461 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 16:40:05 +02:00
Joao Silva
b23fdd63a6
New Select: Fix not being able to click around the caret ( #96026 )
2024-11-14 14:24:26 +00:00
Joao Silva
b820fc0111
Bookmarks: Lazy loading page ( #96455 )
2024-11-14 14:24:03 +00:00
grafana-pr-automation[bot]
09fa80a7cb
I18n: Download translations from Crowdin ( #96460 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-14 16:20:18 +02:00
colin-stuart
6abe99efd6
Auth: Passwordless Login Option Using Magic Links ( #95436 )
...
* initial passwordless client
* passwordless login page
* Working basic e2e flow
* Add todo comments
* Improve the passwordless login flow
* improved passwordless login, backend for passwordless signup
* add expiration to emails
* update email templates & render username & name fields on signup
* improve email templates
* change login page text while awaiting passwordless code
* fix merge conflicts
* use claims.TypeUser
* add initial passwordless tests
* better error messages
* simplified error name
* remove completed TODOs
* linting & minor test improvements & rename passwordless routes
* more linting fixes
* move code generation to its own func, use locationService to get query params
* fix ampersand in email templates & use passwordless api routes in LoginCtrl
* txt emails more closely match html email copy
* move passwordless auth behind experimental feature toggle
* fix PasswordlessLogin property failing typecheck
* make update-workspace
* user correct placeholder
* Update emails/templates/passwordless_verify_existing_user.txt
Co-authored-by: Dan Cech <dcech@grafana.com >
* Update emails/templates/passwordless_verify_existing_user.mjml
Co-authored-by: Dan Cech <dcech@grafana.com >
* Update emails/templates/passwordless_verify_new_user.txt
Co-authored-by: Dan Cech <dcech@grafana.com >
* Update emails/templates/passwordless_verify_new_user.txt
Co-authored-by: Dan Cech <dcech@grafana.com >
* Update emails/templates/passwordless_verify_new_user.mjml
Co-authored-by: Dan Cech <dcech@grafana.com >
* use & in email templates
* Update emails/templates/passwordless_verify_existing_user.txt
Co-authored-by: Dan Cech <dcech@grafana.com >
* remove IP address validation
* struct for passwordless settings
* revert go.work.sum changes
* mock locationService.getSearch in failing test
---------
Co-authored-by: Mihaly Gyongyosi <mgyongyosi@users.noreply.github.com >
Co-authored-by: Dan Cech <dcech@grafana.com >
2024-11-14 08:50:55 -05:00
renovate[bot]
c865958292
Update dependency sass to v1.80.7 ( #96459 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 15:43:26 +02:00
Ezequiel Victorero
dd3bbbe317
Docs: Add allow list email domain configuration ( #95882 )
2024-11-14 10:32:01 -03:00
grafana-pr-automation[bot]
ba3a0d897b
I18n: Download translations from Crowdin ( #96440 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-14 13:28:09 +00:00
renovate[bot]
6300591c6b
Update dependency rollup to v4.26.0 ( #96456 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 15:25:22 +02:00
dependabot[bot]
093f99ad75
Chore(deps): Bump http-proxy-middleware from 2.0.4 to 2.0.7 ( #95682 )
...
Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware ) from 2.0.4 to 2.0.7.
- [Release notes](https://github.com/chimurai/http-proxy-middleware/releases )
- [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.7/CHANGELOG.md )
- [Commits](https://github.com/chimurai/http-proxy-middleware/compare/v2.0.4...v2.0.7 )
---
updated-dependencies:
- dependency-name: http-proxy-middleware
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-14 14:22:02 +01:00
renovate[bot]
144c1b0c9d
Update dependency react-dropzone to v14.3.5 ( #96453 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 12:44:01 +00:00
Andres Martinez Gotor
e886079d4c
Enable preinstallAutoUpdate by default ( #96446 )
2024-11-14 13:37:21 +01:00
Andres Martinez Gotor
369d0a6aca
Preinstall: Allow to extend default list ( #96402 )
2024-11-14 13:36:57 +01:00
renovate[bot]
4051df1f6c
Update dependency react-calendar to v5.1.0 ( #96449 )
...
* Update dependency react-calendar to v5.1.0
* use properly exported CalendarType
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-11-14 14:30:52 +02:00
Laura Fernández
6a8755a8af
New Select: decrease item height ( #95952 )
2024-11-14 13:24:02 +01:00
renovate[bot]
c8aaefd54a
Update dependency rc-tree to v5.10.1 ( #96445 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 12:11:54 +00:00
Ashley Harrison
192423956b
GrafanaUI: Mark ScrollContainer as stable and deprecate CustomScrollbar ( #96331 )
...
* deprecate CustomScrollbar, promote ScrollContainer
* add documentation start
* use the properly exported ScrollContainer
* Update packages/grafana-ui/src/components/ScrollContainer/ScrollContainer.mdx
Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com >
---------
Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com >
2024-11-14 12:06:21 +00:00
Alexander Akhmetov
324503ee8b
Alerting: Add simplified_notifications_section field to the alert rule metadata ( #95988 )
2024-11-14 12:55:54 +01:00
Sam Jewell
c8a5be0bb3
Set CoreServices as codeowners for SQL Expressions ( #96342 )
...
* Set CoreServices as codeowners for SQL Expressions
* Set CoreServices as CodeOwners for ALL SSEs
Don't limit to SQL Expressions alone, but take all of the
Server Side Expressions
2024-11-14 11:54:26 +00:00
renovate[bot]
c023b441f5
Update dependency rc-cascader to v3.30.0 ( #96444 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 11:37:29 +00:00
Isabel Matwawana
1d4b336f26
Docs: update docs for singleTopNav ( #95663 )
...
* updated kiosk behaviour
* Removed TV mode and updated Normal mode
* Updated kiosk mode and other small edits
* Removed dashboard controls from playlist controls section and reformatted
* Added playlist controls behaviour in kiosk mode
* Updated Use dashboards image and descriptions
2024-11-14 11:28:41 +00:00
renovate[bot]
bd0ee50e7c
Update dependency msw to v2.6.4 ( #96436 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 10:55:17 +00:00
renovate[bot]
64047be78c
Update dependency knip to v5.37.0 ( #96435 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 10:54:34 +00:00
brendamuir
14d868a791
Alerting docs: adds cloud alert rule limits ( #96441 )
2024-11-14 11:34:46 +01:00
Tobias Skarhed
a8ab82c80f
Combobox: Documentation ( #96307 )
...
* Initial Combobobox docs
* Add test docs
* Add docs to props
* Add ComboboxOption docs
* Apply suggestions from code review
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-11-14 11:01:43 +01:00
Tom Ratcliffe
7a414a04a0
Alerting: Fix permissions for timeintervals UI and improve display of contact points in notification policies ( #96129 )
...
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2024-11-14 09:55:15 +00:00
Misi
9233ad6462
Docs: Update GitLab, GitHub, Okta, Generic OAuth docs ( #96386 )
...
* GitHub docs changes
* Bunch of updates
* More updates
2024-11-14 10:47:25 +01:00
renovate[bot]
98caf47b22
Update dependency eslint-plugin-testing-library to v6.4.0 ( #96391 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 11:16:43 +02:00
renovate[bot]
1911256fbb
Update dependency i18next to v23.16.5 ( #96392 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 11:15:15 +02:00
Karl Persson
5115247818
Zanana: Fix list test ( #96401 )
...
Fix: List operation are not guaranteed to respond in a certain order
2024-11-14 10:13:59 +01:00
Timur Olzhabayev
c5320e2ae7
Docs: fixing angular migration link ( #96431 )
...
fixing docs link
2024-11-14 09:00:04 +00:00
Brendan O'Handley
ad3fc95755
Revert "Prometheus: Check both error and http status for source of error " ( #96396 )
2024-11-14 04:19:30 +02:00
Leon Sorokin
7038bbe318
Matchers: Require explicit regexp syntax in byRefId matcher ( #96358 )
2024-11-13 14:57:17 -06:00
Tom Ratcliffe
bfecce320a
Alerting: Fix some templates RBAC UI action control/checks ( #94898 )
2024-11-13 17:14:15 +00:00
Santiago
9e408f842c
Alerting: Skip sanitizing labels when sending alerts to the remote Alertmanager ( #96251 )
...
* Alerting: Skip sanitizing labels when sending alerts to the remote Alertmanager
* fix drone image name
2024-11-13 11:21:44 -03:00
Isabel Matwawana
30b9f3e22a
Docs: Add auth entries to what's new 11.2 ( #96353 )
2024-11-13 09:14:27 -05:00
Roberto Jiménez Sánchez
7bfaf2a7bf
[Cloud Migrations] Fix panic in unit tests ( #96389 )
...
* Fix panic in unit test
* Reset mock to new one between tests
2024-11-13 16:06:32 +02:00
Carl Bergquist
16330e4113
Loki: Adds a suggestions resource call that inject scopes for finding label/labelvalues ( #96025 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
2024-11-13 14:36:12 +01:00
Victor Marin
19c04168c3
Fix dashboards listing table appearing distorted ( #96371 )
...
* fix CSS
* approx height calc to account for header div
2024-11-13 15:30:29 +02:00
renovate[bot]
7ecdad5a2d
Update dependency eslint-plugin-no-barrel-files to v1.2.0 ( #96387 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 13:28:18 +00:00
renovate[bot]
20fa35f931
Update dependency eslint-plugin-jsdoc to v50.5.0 ( #96385 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 15:26:28 +02:00
Vardan Torosyan
82fdd4f03f
Docs: Clean up basic auth, anonymous access and main pages for auth configuration ( #96259 )
...
* Docs: Clean up basic auth, anonymous access and main pages for auth configuration
* Fix the typo
* Prettier should fix this
* fix minor typo
* Update docs/sources/setup-grafana/configure-security/configure-authentication/_index.md
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com >
---------
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com >
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com >
2024-11-13 14:25:37 +01:00
renovate[bot]
85caabf8e4
Update dependency eslint-plugin-jest to v28.9.0 ( #96383 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 13:02:12 +00:00
renovate[bot]
ed707098e1
Update dependency eslint to v9.14.0 ( #96382 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 13:01:43 +00:00
Leon Sorokin
0459a1eb80
BarChart: Fix decimals=0 config ( #96354 )
2024-11-13 06:43:16 -06:00
Ryan McKinley
d9b87ef987
Storage: Add authz access client stubs ( #95548 )
...
authz stubs
authz stubs
lint fix
Add folder
move check.Name on creat
fix watch
2024-11-13 13:17:15 +01:00
renovate[bot]
1129647039
Update dependency dompurify to v3.2.0 ( #96380 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 11:56:07 +00:00
renovate[bot]
6db8aa2d40
Update dependency core-js to v3.39.0 ( #96379 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 11:55:19 +00:00
Misi
092b2ef5d2
Docs: Improve Google OAuth docs ( #96377 )
...
* Add Configuration options to the bottom, align the setup with Cloud docs
* Fixes, format changes
* Update docs/sources/setup-grafana/configure-security/configure-authentication/google/index.md
Co-authored-by: xavi <114113189+volcanonoodle@users.noreply.github.com >
* fix
---------
Co-authored-by: xavi <114113189+volcanonoodle@users.noreply.github.com >
2024-11-13 11:38:43 +00:00
Matheus Macabu
29ee90bc26
CloudMigrations: add parent folder name to alert rule resource ( #96366 )
2024-11-13 12:20:56 +01:00
Dana Axinte
924b0d0863
CloudMigration: Add user uid to on prem event collection ( #94804 )
...
* add useruid to report events
* test
2024-11-13 11:07:00 +00:00
renovate[bot]
3e9033c3bc
Update dependency @testing-library/jest-dom to v6.6.3 ( #96374 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 11:04:40 +00:00
renovate[bot]
94762d1e10
Update dependency @stylistic/eslint-plugin-ts to v2.10.1 ( #96373 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 11:04:15 +00:00
Gilles De Mey
f0c57622f8
Alerting: useProduceNewAlertmanagerConfiguration for notification templates ( #95290 )
2024-11-13 11:46:10 +01:00
renovate[bot]
33b4c71cb2
Update dependency @reduxjs/toolkit to v2.3.0 ( #96370 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 10:18:43 +00:00
Misi
f5bd4d078b
Docs: Extend SAML docs (improvements, assertion mapping) ( #96367 )
...
* Move the configuration options to the bottom and extend it
* Improve assertion mapping docs for Okta
* fix typo
* Update index.md
---------
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com >
2024-11-13 11:18:27 +01:00
renovate[bot]
483a6c7fe2
Update dependency @grafana/plugin-e2e to v1.12.0 ( #96368 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 10:17:51 +00:00
Tom Ratcliffe
c28c8f920f
Alerting: Increase timeout and add retry to flaky EditContactPoint test ( #96372 )
2024-11-13 12:13:33 +02:00
Andres Martinez Gotor
8eff84661a
Plugin history: Hide downgrade or upgrade buttons for preinstalled plugins ( #96332 )
2024-11-13 12:08:21 +02:00
renovate[bot]
aacce9e5f7
Update dependency @grafana/faro-web-tracing to v1.11.0 ( #96341 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 09:40:14 +00:00
renovate[bot]
ba836dec63
Update dependency @formatjs/intl-durationformat to ^0.6.0 ( #96340 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 09:39:54 +00:00
Misi
275ee55e8f
Auth: Extend the SAMLStrategy with entity_id ( #96234 )
...
Add the ability to specify EntityID
2024-11-13 10:36:46 +01:00
Esteban Beltran
acf57aa556
Frontend Sandbox: Do not consider internal plugins as elegible ( #96325 )
2024-11-13 10:28:19 +02:00
Jacob Valdez
f83f7332a1
Docs/removing outdated versioning info in OSS data source docs ( #96351 )
...
docs/removing outdated versioning info in oss data source docs
2024-11-12 14:55:05 -06:00
lean.dev
750a0bed71
MigrationAssistant: Restrict dashboards, folders and datasources by the org id of the signed in user ( #96339 )
...
apply security patch: main/206-202410241510.patch
2024-11-12 13:03:16 -06:00
Kristina
9f02acd4ca
Transformations: Window calculation should use 0 if value in window does not exist ( #95625 )
...
* Use 0 for window functions if value does not exist
* Simplify logic, add test
* Fix tests, have first value count as 0 if null as well
* evaluate entire array instead of individual values
* Adjust logic, move prior results back
2024-11-12 12:50:38 -06:00
Matias Chomicki
68db1c6e68
Legacy annotations: add dataplane support ( #96226 )
2024-11-12 18:44:06 +00:00
Alexander Akhmetov
580d073b96
Alerting: Add context to the logger in state manager Warm ( #96228 )
2024-11-12 19:41:05 +01:00
Ieva
d4d9d56e9d
GAS: Add docs for group attribute sync ( #96090 )
...
* add docs describing what GAS is and how it can be configured
* Update configure-group-attribute-sync.md
* Update configure-group-attribute-sync.md
---------
Co-authored-by: Aaron Godin <aaron.godin@grafana.com >
2024-11-12 18:05:46 +00:00
Matias Chomicki
01d2376782
Shard query splitting: stop querying on failure ( #96284 )
...
Shard query splitting: stop querying on final errors
2024-11-12 11:46:25 -06:00
Ryan McKinley
e9956f2345
Storage: Always set a UID in the apiserver ( #96086 )
2024-11-12 18:58:32 +02:00
Roberto Jiménez Sánchez
7f99e943a6
Do not use the span recorder in test ( #96324 )
2024-11-12 17:55:53 +01:00
Joao Silva
6414bcb6aa
Combobox: Increase min height of the menu ( #96327 )
2024-11-12 16:39:49 +00:00
Alex Khomenko
1fcc0a8454
Alerting: Remove history patches ( #95407 )
2024-11-12 17:24:51 +01:00
renovate[bot]
29bcf7dbe9
Update babel monorepo to v7.26.0 ( #96333 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 18:23:05 +02:00
renovate[bot]
e1533ff39b
Update dependency @faker-js/faker to v9.2.0 ( #96334 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 18:21:48 +02:00
Sven Grossmann
1c25d2ac2b
Explore Metrics: Hide errors when fetching loki rules ( #96328 )
2024-11-12 18:17:08 +02:00
ismail simsek
7b3364cbc9
Chore: Rename the sorting option in explore metrics ( #96160 )
...
rename the option
2024-11-12 11:15:32 -05:00
grafana-delivery-bot[bot]
eaa6ba81cf
Release: update changelog for 11.3.0+security-01 ( #96294 )
...
* Update changelog
* add relevant CVE fix to the changelog
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sergej-Vlasov <sergej.s.vlasov@gmail.com >
2024-11-12 16:11:34 +00:00
grafana-delivery-bot[bot]
9e1812dc3e
Release: update changelog for 11.2.3+security-01 ( #96264 )
...
* Update changelog
* add relevant CVE fix to changelog
* remove irrelevant changelog
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sergej-Vlasov <sergej.s.vlasov@gmail.com >
2024-11-12 16:01:22 +00:00
Ashley Harrison
1e001451bd
ScrollContainer: Replace CustomScrollbar usage ( #96229 )
...
* replace CustomScrollbar
* use ScrollContainer in RolePickerMenu and PanelDataPane
2024-11-12 15:43:04 +00:00
renovate[bot]
108d611205
Update dependency sass-loader to v16.0.3 ( #96322 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 15:34:09 +00:00
renovate[bot]
ec32f47db3
Update dependency rudder-sdk-js to v2.48.26 ( #96321 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 15:32:26 +00:00
Alyssa (Bull) Joyner
2e687a1090
Azure Monitor: Fix JSON parsing error ( #96004 )
2024-11-12 08:07:43 -07:00
Piotr Jamróz
3a6858cf26
Frontend o11y: Report browser crashes to Faro ( #95772 )
...
* Report browser crashes to Faro
* Fix linting
* Change context log context prefix
* Update types
* Update crash detection library to report stale tabs
* Post merge fixes
2024-11-12 16:07:27 +01:00
Señor Performo - Leandro Melendez
6e7de36a67
docs: Fixed title wording from bar gauge to canvas ( #96312 )
2024-11-12 09:51:57 -05:00
Karl Persson
ae95a6158f
Zanana: Remove opefga from client and implement compile ( #96275 )
...
Zanana: Remove opefga from client and implement Compile
2024-11-12 15:30:34 +01:00
renovate[bot]
095be20f8e
Update dependency react-select to v5.8.3 ( #96302 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 14:30:09 +00:00
renovate[bot]
f3a3ce7691
Update dependency react-hook-form to v7.53.2 ( #96301 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 14:27:15 +00:00
Georges Chaudy
f4e91da6b1
Unistore: fix fodler migration ( #96299 )
...
configure default migration for resource folder
2024-11-12 16:06:42 +02:00
Isabella Siu
749f59b3e3
Elasticsearch: Mark elasticsearch errors as downstream ( #96152 )
...
Elasticsearch: mark elasticsearch errors as downstream
2024-11-12 08:46:31 -05:00
renovate[bot]
9df0f8a98d
Update dependency re-resizable to v6.10.1 ( #96293 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 13:41:32 +00:00
renovate[bot]
70b7453f78
Update dependency postcss to v8.4.49 ( #96292 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 13:40:16 +00:00
Kristina
06f2f62223
Annotations: Hide edit/delete if annotations are from loki ( #96141 )
...
add in logic to hide edit/delete on annotations from loki
2024-11-12 07:38:33 -06:00
renovate[bot]
ed623f52db
Update dependency nanoid to v5.0.8 ( #96285 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 13:17:34 +00:00
renovate[bot]
d07977d366
Update dependency browserslist to v4.24.2 ( #96276 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 13:16:52 +00:00
Ashley Harrison
265342fbae
Combobox: only render ScrollContainer when menu is open ( #96271 )
...
only render ScrollContainer when menu is open
2024-11-12 13:15:22 +00:00
Ieva
69a38c634c
RBAC: Enable action sets by default ( #96286 )
...
enable action sets by default
2024-11-12 12:39:51 +00:00
Josh Hunt
b9beb14da0
Revert "Update dependency lerna to v8.1.9" ( #96279 )
...
* Revert "Update dependency lerna to v8.1.9 (#96239 )"
This reverts commit 3b7c793c37 .
* pause updating lerna with renovate
2024-11-12 12:16:35 +00:00
Andres Martinez Gotor
c3494614e3
PoC: Define userstorage API ( #95557 )
2024-11-12 12:56:41 +01:00
Georges Chaudy
c3571752b6
Unitstore: Fix the Folder migration ( #96078 )
...
* UniStore: Add folder to the SQL backend
This reverts commit aaa4f4a23e .
* fix folder migration
2024-11-12 12:52:04 +01:00
renovate[bot]
7f675cd218
Update dependency mini-css-extract-plugin to v2.9.2 ( #96280 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 11:48:58 +00:00
renovate[bot]
be7a1d8805
Update dependency marked-mangle to v1.1.10 ( #96278 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 11:25:17 +00:00
Eric Leijonmarck
6fa06a1406
Serviceaccounts: FIX nul for field for toString ( #96267 )
...
Switch to uid for profilerow
2024-11-12 11:10:37 +00:00
Torkel Ödegaard
8a1bbe7517
PanelEdit: Fixes issue with repeat options ( #96260 )
2024-11-12 12:01:08 +01:00
renovate[bot]
7090fd5b34
Update dependency @tanstack/react-virtual to v3.10.9 ( #96266 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 11:00:55 +00:00
Karl Persson
db6422c8a3
Zanzana: Use correct namespace when evaluating permission ( #96258 )
...
Use correct namespace
2024-11-12 11:52:29 +01:00
renovate[bot]
7812cb83e9
Update dependency eslint-plugin-jsdoc to v50.4.3 ( #96238 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 10:46:13 +00:00
brendamuir
35572c9731
Alerting docs: adds prereqs to configure data source ( #96272 )
...
* Alerting docs: adds prereqs to configure data source
* fixes numbering
2024-11-12 11:44:42 +01:00
Younjin Song
44d206c272
Azure: Unify credentials in frontend ( #95354 )
...
* init
* fix lint
* fix lint
* lint
* update version
* fix
2024-11-12 10:36:48 +00:00
Sonia Aguilar
2f58311eea
Alerting: Fix setting datasource uid, when datasource is string in old version ( #96085 )
...
fix setting datasource uid, when datasource is string in old versions rules
2024-11-12 11:35:01 +01:00
Roberto Jiménez Sánchez
fde9ddfc8c
[Cloud Migration] Skip flaky cloud migration unit test ( #96256 )
...
Skip Flaky Cloud Migration test
2024-11-12 11:08:35 +01:00
Misi
a2c998ba1d
Docs: Azure AD/ Entra ID docs improvements ( #96225 )
...
* Add Configuration options to Azure/Entra docs
* Update docs/sources/setup-grafana/configure-security/configure-authentication/azuread/index.md
Co-authored-by: Vardan Torosyan <vardants@gmail.com >
* Address feedback
* Address other feedback
* Fix link
---------
Co-authored-by: Vardan Torosyan <vardants@gmail.com >
2024-11-12 11:04:39 +01:00
renovate[bot]
3b7c793c37
Update dependency lerna to v8.1.9 ( #96239 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 10:02:29 +00:00
Jara Suárez de Puga García
b14d58a890
Update images-in-notifications for Alerting ( #95765 )
...
* Update images-in-notifications for Alerting
* Review I
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Clarify it's only on Emails
Co-authored-by: Santiago <santiagohernandez.1997@gmail.com >
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
Co-authored-by: Santiago <santiagohernandez.1997@gmail.com >
2024-11-12 10:34:36 +01:00
Gabriel MABILLE
cc9cdbe82d
Authz: Move extension proto up a layer ( #96254 )
...
* Authz: Move extension proto up a layer
* Lint
2024-11-12 10:19:12 +01:00
MAFLO321
ab813cb601
Postgresql: Support tables from non-default schema ( #95636 )
...
* Postgresql: Support tables from non-default schema
- Add support for schema-qualified table names.
- Partially resolve an issue where the column type of a table from the
wrong schema with the same table name was incorrectly used. Now
limited to tables of schemas within the search_path.
* Support schema in raw query editor
---------
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com >
2024-11-12 09:18:29 +00:00
Karl Persson
8d74296b6c
Authn: Always set namespace ( #96230 )
...
* Rename from AllowedKubernetesNamespace to Namespace
* Use a sync hook to always set namespace for Identity.
* format
* Don't set uid when authenticating as user
2024-11-12 10:12:47 +01:00
Vardan Torosyan
7eb4b974e0
Docs: Better explanation for enabling lookup and a small fix on okta role mapping ( #96232 )
...
* Docs: Better explanation for enabling lookup and a small fix on okta role mapping
* Run prettier
2024-11-12 09:44:49 +01:00
Agnès Toulet
d2aca99d38
Public Dashboard: Support relative time range in panels when time picker is disabled ( #96076 )
...
Public Dashboard: Support relative time range in panels
2024-11-12 09:21:13 +01:00
Erik Sundell
4c0dde6f2f
Plugin Extensions: Streamline log messages ( #95943 )
...
* streamline log messages
* cleanup
* fix tests
* only log errors to the console
* more cleanup again
* cleanup
* Update public/app/features/plugins/extensions/errors.ts
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
* pr feedback
* remove white space
* Update public/app/features/plugins/extensions/registry/ExposedComponentsRegistry.ts
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
* revert touched file
* revert touched file
* fix tests
---------
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
2024-11-12 08:55:04 +01:00
Roberto Jiménez Sánchez
477326b9c3
[CloudMigrations] Fetch cloud migration status asynchronously ( #96084 )
...
* Single go-routine without touching too many lines.
* Fix unit tests
* Use require for Eventually
* Use a 10 second internal to poll for new results.
2024-11-11 19:26:30 +01:00
Adela Almasan
754351273b
Actions: Fix interpolation ( #96161 )
2024-11-11 11:08:15 -06:00
Eric Leijonmarck
4f24a91484
LBAC for datasources: FIX adds missing uid in endpoint url ( #96241 )
...
FIX: adds missing uid in endpoint ulrl
2024-11-11 17:06:07 +00:00
Ieva
c8f3173f2c
GAS: Set group attribute sync to private preview ( #96146 )
...
set GAS to private preview
2024-11-11 16:25:17 +00:00
Ieva
fa498e4836
GAS: Add HTTP API docs for group attribute sync ( #96088 )
...
add HTTP API docs for GAS
2024-11-11 16:24:26 +00:00
renovate[bot]
de6a37e1c5
Update dependency comlink to v4.4.2 ( #96231 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 16:17:03 +00:00
renovate[bot]
2799e5aa75
Update dependency @types/lodash to v4.17.13 ( #96159 )
...
* Update dependency @types/lodash to v4.17.13
* fix types
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-11-11 18:16:20 +02:00
Alexander Zobnin
b1fb581ab1
Zanzana: Evaluate access with Check request (server-side) ( #96213 )
...
* Zanzana: Evaluate access with Check request (server-side)
* Pass parent folder for checking access
* Review suggestions
* remove fixme comment
2024-11-11 16:39:21 +01:00
renovate[bot]
27a0491f30
Update dependency @swc/helpers to v0.5.15 ( #96224 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 15:11:53 +00:00
Will Browne
6bd1865749
Plugins: Fix flaky reverse proxy response tests ( #96051 )
...
tidy
2024-11-11 14:35:42 +00:00
Josh Hunt
e8241636b8
Combobox: Improve async UX ( #96054 )
...
* Refactor basic usage with stateReducer
This is a combination of 3 commits.
This is the 1st commit message:
more wip
This is the commit message #2 :
even more wip
This is the commit message #3 :
got basic usage working well with stateReducer
remove unrelated change
todo tests
* fix behaviour for async
* clean up dev stuff
* story
* Fix options being cleared for non-async combobox
* Fill out tests!
* put story back
* clean up metriccombobox test
* show selected value as placeholder while menu is open
* properly fallback placeholder to the prop
2024-11-11 16:35:37 +02:00
renovate[bot]
3a242d8274
Update dependency @grafana/azure-sdk to v0.0.5 ( #96220 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 14:19:57 +00:00
Misi
1dcce86cce
Docs: Update Okta docs ( #96216 )
...
* Update Okta docs
* fix typo
* fix typo
---------
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com >
2024-11-11 14:49:18 +01:00
renovate[bot]
b9f8e66806
Update dependency @rollup/plugin-typescript to v12.1.1 ( #96210 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 13:45:39 +00:00
Tom Ratcliffe
cbe8b8a290
Alerting: Lint and remove unused object properties ( #92996 )
2024-11-11 13:02:46 +00:00
brendamuir
ca04cf780b
Alerting docs: fixes broken oncall link ( #96215 )
2024-11-11 14:00:30 +01:00
Karl Persson
9f66843915
Zanzana: use namespace when performing reconciliation ( #96205 )
...
* Special handling for zanzana reconciliation if stack id is configured
* remove sync call
2024-11-11 13:48:49 +01:00
brendamuir
19bed65d9b
Alerting docs: updates to landing page ( #96200 )
...
* Alerting docs: updates to landing page
* Update docs/sources/alerting/_index.md
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com >
---------
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com >
2024-11-11 13:39:02 +01:00
Josh Hunt
436f8db3e3
AutoSizeInput: Fix controlled value being ignored when it's empty string ( #96212 )
2024-11-11 12:35:30 +00:00
Laura Fernández
a459f648b5
Combobox: Add default border-radius to the menu/dropdown ( #96208 )
2024-11-11 13:27:54 +01:00
Ivana Huckova
e5519161f2
Zipkin: Run resource calls through backend with feature toggle enabled ( #96139 )
...
* Zipkin: Run resource calls througgh backend with feature toggle enabled
* Update
* Don't return early in createZipkinURL and add tests
* Update pkg/tsdb/zipkin/client.go
Co-authored-by: Sriram <153843+yesoreyeram@users.noreply.github.com >
* Update pkg/tsdb/zipkin/client.go
Co-authored-by: Sriram <153843+yesoreyeram@users.noreply.github.com >
* Update pkg/tsdb/zipkin/client.go
Co-authored-by: Sriram <153843+yesoreyeram@users.noreply.github.com >
* Update pkg/tsdb/zipkin/client_test.go
Co-authored-by: Sriram <153843+yesoreyeram@users.noreply.github.com >
* Update pkg/tsdb/zipkin/client_test.go
Co-authored-by: Sriram <153843+yesoreyeram@users.noreply.github.com >
* Update pkg/tsdb/zipkin/client_test.go
Co-authored-by: Sriram <153843+yesoreyeram@users.noreply.github.com >
* Update pkg/tsdb/zipkin/client_test.go
Co-authored-by: Sriram <153843+yesoreyeram@users.noreply.github.com >
* Fix lint
* Fix tests
---------
Co-authored-by: Sriram <153843+yesoreyeram@users.noreply.github.com >
2024-11-11 13:04:22 +01:00
Carl Bergquist
c7b6822a5e
Loki: Apply scopes to expression if feature toggle is enabled. ( #95917 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
Co-authored-by: Kyle Brandt <kyle@grafana.com >
2024-11-11 12:53:24 +01:00
Erik Sundell
8148f0c3bb
Plugin extensions: Make description optional ( #95555 )
...
make description optional
2024-11-11 12:22:57 +01:00
grafana-pr-automation[bot]
5bce96e8e7
I18n: Download translations from Crowdin ( #96142 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-11 13:19:50 +02:00
jackyin
3012d4c043
Flame Graph: Fix crash when it receives empty data ( #95604 )
...
flame graph crash
2024-11-11 11:09:11 +00:00
renovate[bot]
c7aef6a375
Update dependency @grafana/plugin-e2e to v1.11.3 ( #96204 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 11:05:45 +00:00
Tobias Skarhed
4f433ada14
Combobox: Fix stories ( #96206 )
...
Spread args onto component in stories
2024-11-11 12:02:58 +01:00
Pepe Cano
7112a79b35
Alerting UI: Update help button and descriptions for recording rules ( #96047 )
...
* Hide `Instances` field in RuleDetails view for recording rules
* Alerting UI: add `helpLink` to Recording Rules docs
* Make the Metric input placeholder more explicit for recording rules
2024-11-11 11:59:53 +01:00
Pepe Cano
154a2e0d06
Alerting docs: Move Meta monitoring to Additional configuration section ( #96150 )
2024-11-11 11:08:12 +01:00
Leonor Oliveira
a1de4cc5fc
Allow downgrade from any mode to mode 1 or 2. Allow setting all dual writer combinations ( #95968 )
...
* Allow downgrade from any mode to mode 1 or 2
* Allow for all combinations of dual writer setting
* Add all cases
* Include mode3
2024-11-11 10:52:36 +01:00
Ashley Harrison
ee7f521c08
ScrollContainer: Use ScrollContainer in some dashboard components ( #95668 )
...
* use ScrollContainer in some dashboard components
* remove unnecessary wrapper
* remove unnecessary minHeight
2024-11-11 09:50:35 +00:00
renovate[bot]
c04236b60d
Update dependency @floating-ui/react to v0.26.27 ( #96158 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 09:43:56 +00:00
Jack Westbrook
787f3b8d6c
Webpack: Set eslint plugin config to flat to prevent cli errors ( #96199 )
...
fix(webpack): set eslint plugin config to flat to prevent cli errors
2024-11-11 10:23:24 +02:00
Elliot Kirk
e22deeac04
Frontend Monitoring: adding ignoreUrls param to EchoSrvTransport ( #95801 )
...
* adding ignoreUrls param to EchoSrvTransport
* adding test for ignore urls
* linting
* cleaning up
* adding a new error message to the list of ignored errors
2024-11-11 09:15:24 +01:00
Ryan McKinley
c0de407fee
K8s/Dashboards: Delegate large objects to blob store ( #94943 )
2024-11-09 08:09:46 +03:00
renovate[bot]
b1c5aa0929
Update dependency @prometheus-io/lezer-promql to v0.55.1 ( #95272 )
...
* Update dependency @prometheus-io/lezer-promql to v0.55.1
* chore(grafana-prometheus): update type import
* fix duration resolver
* fix unit test
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
2024-11-09 01:16:51 +02:00
Ben Sully
b4644580cf
chore: bump @bsull/augurs to v0.6.0 ( #96119 )
2024-11-08 22:35:22 +00:00
renovate[bot]
66f0d97aad
Update dependency @eslint/compat to v1.2.2 ( #96156 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-08 22:32:45 +00:00
renovate[bot]
8d3faabc90
Update dependency @lezer/lr to v1.4.2 ( #87522 )
...
* Update dependency @lezer/lr to v1.4.2
* Fix: Update dependency @lezer/lr to v1.4.2 (#94818 )
* Update dependency @lezer/lr to v1.4.2
* Tempo: Update error detection shift in error lookup
Since lezer 1.3.8 the position seems to be shifted + 1
* Add back looking for errors behind the cursor
* Post-merge fixes
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Fix the resolvers for loki situation
* grammar
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
2024-11-08 23:09:52 +01:00
Scott Lepper
f93fd77c9c
search: list and filter tags ( #96130 )
...
search: list and filter tags on the dashboard list
2024-11-08 16:39:08 -05:00
Brendan O'Handley
3f81f0d145
Prometheus: Check both error and http status for source of error ( #96060 )
...
* check error for source and check http status for source
* refactor
* add source to health check status code as well
* remove error where it will be nil
2024-11-08 23:19:14 +02:00
Fayzal Ghantiwala
5a143be653
Alerting: Add pagination to /api/prometheus/grafana/api/v1/rules ( #95959 )
...
* Intermediate step before refactoring
* Sort groups to paginate on them
* Formatting and improved test
* Address comments
* Update tests
2024-11-08 16:58:14 +00:00
Ashley Harrison
2458329f4f
ScrollContainer: use in Explore pages ( #95830 )
...
use ScrollContainer in explore pages
2024-11-08 16:46:07 +00:00
Ashley Harrison
4a362d41a6
Chore: Remove/replace CustomScrollbar in alerting ( #96102 )
...
remove/replace CustomScrollbar in alerting code
2024-11-08 16:45:30 +00:00
Kristina
95692b3d68
BarChart: Fix threshold lines rendering for horizontal orientation ( #95737 )
...
* Use different threshold x/y coordinates depending on orientation
* invert wording / semantics
---------
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2024-11-08 10:43:23 -06:00
Todd Treece
7bb1b352e1
CI: Use grot for dependabot go workspace commits ( #96136 )
2024-11-08 18:26:26 +02:00
Sonia Aguilar
d92e17ee55
Alerting: Create reusable components for threshold ( #94045 )
...
* Create reusable components for threshold
* update translations
* do not use capital letters for keys in translations
2024-11-08 18:15:29 +02:00
Karl Persson
acf119a12c
Zanzana: resource sets on folder grants read on all children ( #96127 )
...
* resource sets on folder grants read on all children
* remove comment
* Add type for consistency
2024-11-08 16:53:51 +01:00
ismail simsek
40637a221e
Chore: Don't require exemplar query for instant query when "Both" query type is selected ( #96122 )
...
Don't require exemplar for instant query
2024-11-08 17:51:14 +02:00
maicon
b5e636b126
UniStore: Legacy List Folders must return all folders ( #96062 )
...
* UniStore: Legacy List Folders must return all folders
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2024-11-08 12:38:34 -03:00
Marc M.
9525891455
Pyroscope: Add limit number of series returned by the data source ( #95780 )
2024-11-08 17:22:29 +02:00
Sonia Aguilar
ea0a6a1f7f
Alerting: Force refetch prom rules when refreshing panel ( #96120 )
...
Force refetch prom rules when refreshing panel
2024-11-08 17:07:43 +02:00
Pepe Cano
b953190328
Alerting docs: reuse Additional configuration page for Cloud docs ( #96101 )
2024-11-08 16:03:47 +01:00
Gabriel MABILLE
bd53fa9580
LocalSigner: Remove unused dependency ( #96118 )
...
ID Token Signer: Remove unecessary deps
2024-11-08 15:46:16 +01:00
ismail simsek
c972ec9737
Explore Metrics: Persist otel experience toggle state in local storage ( #96057 )
...
persist otel experience toggle state in local storage
2024-11-08 15:39:46 +01:00
Victor Marin
d9dfa3ece3
DashboardScenes: Fix queryOptions interval not resetting on empty minInterval ( #95659 )
...
* Fix queryOptions interval not resetting on empty minInterval
* fix
* refactor + tests
2024-11-08 16:22:20 +02:00
grafana-delivery-bot[bot]
3dfbae7331
Release: update changelog for 10.4.12 ( #96108 )
...
* Update changelog
* Update changelog
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
2024-11-08 14:12:35 +00:00
Alexander Zobnin
910ec7e7dc
Zanzana: Use separate store for each org ( #96015 )
...
* Move server init into server package
* map store name to id
* refactor model loading
* pass namespace into reconcilers and collectors
* refactor
* Extend authz server with Read and Write methods
* use new read/write in reconciler
* implement server side read and write
* Sync permissions for every org
* handle namespace in check and list
* split read and write
* provide conditions
* Fix client implementation
* fix nil conditions
* remove unused client code
* use lock for store access
* move type translators to common package
* fix folder collector
* fix store creation
* remove unused AuthorizationModelId
* fix server tests
* fix linter
2024-11-08 14:54:36 +01:00
brendamuir
86bc087257
Alerting docs: changes advanced to additional ( #96083 )
2024-11-08 13:29:10 +01:00
Eric Leijonmarck
e86283e8b1
LBAC for datasources: Adds teamUID to lbac rules for terraform resource consumption ( #96048 )
...
Add teamUID to lbac rules swagger
2024-11-08 08:53:38 +00:00
Mariell Hoversholm
741aa91e6f
docs: clarify incompatibility with unsupported databases ( #96073 )
...
* docs: clarify incompatibility with unsupported databases
* fix: missed a quote
2024-11-08 09:47:59 +01:00
Karl Persson
f0a5b444e3
Zanzana: generic resource only ( #96019 )
...
* Remove collectors
* Remove zanzana search check, we need to rewrite that part to the new schema
* Only use generic resource schema and cleanup code we don't want to keep / need to re-write
2024-11-08 09:30:41 +01:00
Adam Simpson
9b0644e5c8
chore: move DatasourceUid parsing to ruler instead ( #95972 )
...
Reverts #95629
This reverts commit 3adc7c8771 .
2024-11-07 21:48:29 -05:00
Todd Treece
0b06dca472
CI: Add Dependabot go workspace action ( #96064 )
2024-11-07 20:14:04 -05:00
Stephanie Hingtgen
4e318e6285
Revert "Chore: Enable cache on golangci linter" ( #96069 )
...
Revert "Chore: Enable cache on golangci linter (#95471 )"
This reverts commit d5cde0b60a .
2024-11-08 01:05:14 +02:00
Stephanie Hingtgen
a5bef386ad
Revert "Chore: Clean up some excludes and fix makefile" ( #96068 )
...
Revert "Chore: Clean up some excludes and fix makefile (#96052 )"
This reverts commit f2998037e5 .
2024-11-08 00:44:35 +02:00
Eric Leijonmarck
00c3c17035
Flaky tests alerting ( #96055 )
2024-11-07 21:08:51 +00:00
owensmallwood
d023cb5931
Unified Storage: Adds metric to count indexed docs by kind ( #96056 )
...
Adds metric to count indexed docs by kind
2024-11-07 16:12:13 -03:00
Fayzal Ghantiwala
1fdc48faba
Alerting: Make context deadline on AlertNG service startup configurable ( #96053 )
...
* Make alerting context deadline configurable
* Remove debug logs
* Change default timeout
* Update tests
2024-11-07 18:23:55 +00:00
Serge Zaitsev
f2998037e5
Chore: Clean up some excludes and fix makefile ( #96052 )
...
clean up some excludes and fix makefile
2024-11-07 20:05:10 +02:00
Kristina
ac88461fe6
Canvas: Fix references for ResourcePicker ( #95580 )
...
* useRef instead of create ref for functional components, pass function to close popper if needed
* Cleanup, hide on save as well
* add comment about when hidePopper is available to content
2024-11-07 11:37:49 -06:00
Serge Zaitsev
d5cde0b60a
Chore: Enable cache on golangci linter ( #95471 )
...
* try to enable cache on golangci linter
* bump version
* exclude G115
* reduce timeout
* remove deprecated linter
* bump linter version in bingo
* try a different syntax for workspace modules
* try another command
* add apps to linter path
* try disabling cue codegen
* skip some linting in devenv
* exclude dirs and try again
* try workaround for pkg
* try path instead of dir
* make it one line
* replace package prefix
* exclude xorm
* exclude wire
* file-based aproach to nolint in workspaces
* missing quote
* simplify command line
* change ownership
2024-11-07 18:15:52 +01:00
Brendan O'Handley
6638dd9a83
Revert "Prometheus: Add error source to differentiate errors for api server work" ( #96043 )
...
Revert "Prometheus: Add error source to differentiate errors for api server w…"
This reverts commit b9b5445090 .
2024-11-07 16:52:42 +00:00
Jacob Valdez
4cc204affe
Docs: clarify the description of actions_allow_post_url ( #95995 )
...
* Docs: clarify the description of actions_allow_post_url
* adding a word to clarify this extends the default behavior and doesn't replace it
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Beverly Buchanan <131809838+BeverlyJaneJ@users.noreply.github.com >
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Beverly Buchanan <131809838+BeverlyJaneJ@users.noreply.github.com >
---------
Co-authored-by: Beverly Buchanan <131809838+BeverlyJaneJ@users.noreply.github.com >
2024-11-07 09:55:49 -06:00
Ivana Huckova
4d0a7637b2
Zipkin: Run health check through backend ( #96031 )
...
* Zipkin: Run health check through backend
* Mark some errors as downstream
* Update pkg/tsdb/zipkin/zipkin.go
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
* Use errors.New where error formatting is not needed
* Remove executable in plugin.json
* Fix joining the path
* Keep logger as global and then create from context
* Close the res body
---------
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
2024-11-07 16:48:00 +01:00
ismail simsek
21ba507bcb
Revert "Prometheus: Fix escaping of quotation marks for variables" ( #96038 )
...
Revert "Prometheus: Fix escaping of quotation marks for variables (#93415 )"
This reverts commit 2bfdee73e3 .
2024-11-07 16:38:05 +01:00
Pepe Cano
ff2f612412
Alerting docs: Introduction - brief overview of notification messages. ( #95987 )
...
* Intro: simplify `Architecture`. Add a new guideline
* Define `Notification policies` as an advanced option
* Intro: include about "Notification messages"
* Minor copy changes
2024-11-07 16:35:27 +01:00
Jack Westbrook
8c41137bcf
Frontend: Update to Eslint 9 ( #94823 )
...
* chore(eslint): bump all eslint related packages to latest
* chore(eslint): update linting scripts work with v9
* chore(eslint): introduce flat config
* chore(eslint): delete legacy configs
* feat(grafana-eslint-rules): update rules to use eslint 9 APIs
* chore(eslint): migrate all nested eslintrc files over to root config
* chore(packages): bump eslint dependencies
* feat(betterer): make it work with eslint 9
* style(grafana-data): remove non-existant ban-types rule from disable declarations
* chore(wip): [wip] link eslint-config-grafana
* chore(packages): add @eslint/compat
* chore(eslint): add compat to testing library and fix alerting rules
* chore(eslint): bump grafana eslint-config to v8
* chore(explore): delete legacy eslint config
* chore: clean codeowners file, remove grafana/eslint-config from e2e plugins
* test(eslint-rules): fix no-border-radius-literal and no-aria-label-e2e-selectors rule tests
* Add .js to prettier checks so new eslint.config.js file isn't missed
* chore(eslint): move emotion/syntax-preference to grafana/defaults
* test(eslint): use core-js structured-clone
* revert(services): undo merge backend-format githook changes
* test(eslint-rules): remove structured-clone polyfill from tests
* chore(eslint): add back public/lib/monaco to ignore list, sort alphabetically
* chore(e2e-plugins): remove eslint config 7 from plugins package.json
---------
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
2024-11-07 16:31:06 +01:00
ismail simsek
8956400498
Explore Metrics: Fix showing related logs scene ( #96036 )
...
remove related logs scene from label breakdown
2024-11-07 17:30:01 +02:00
Alex Khomenko
6bfb24c7b0
BrowseDashboards: Append orgId to folder URL ( #96029 )
...
* BrowseDashboards: Append orgId to folder URL
* Extract folder URL creation logic
2024-11-07 17:12:45 +02:00
Gábor Farkas
a45deafc96
query: add missing x-rule headers ( #95948 )
2024-11-07 16:03:54 +01:00
Brendan O'Handley
b9b5445090
Prometheus: Add error source to differentiate errors for api server work ( #95999 )
...
add error source to differentiate errors for api server work
2024-11-07 08:59:53 -06:00
brendamuir
b2af163dc5
Alerting docs: adds advanced config section ( #96013 )
...
* Alerting docs: adds advanced config section
* corrects ref
* feedback from pepe
* renames detect and respond
2024-11-07 15:59:00 +01:00
Scott Lepper
05dda7f0a1
search: dashboard list link ( #95996 )
...
search: dashboard list link
2024-11-07 09:40:05 -05:00
linoman
3d51ca7377
SCIM: Add feature flag ( #96021 )
...
* Add feature flag
2024-11-07 15:38:46 +01:00
Arati R.
7fa4a979e3
K8s/Folders: Add write access hook before creating index server ( #96030 )
...
Change order of when to add write access hook
2024-11-07 16:20:07 +02:00
jackyin
1e58747a39
trend: choose trend crash ( #95451 )
...
* fix bug
* optimise warning return
2024-11-07 07:48:50 -06:00
Andres Martinez Gotor
a415c0b831
Preinstall: Automatic updates if no version is specified ( #95970 )
2024-11-07 13:14:25 +01:00
Ryan McKinley
6c9afba607
Reporting: update swagger with deprecations ( #96008 )
2024-11-07 15:08:03 +03:00
Will Browne
b87c76ad21
Plugins: Add metric to track plugin backend target ( #95976 )
...
* add metric to track plugin backend target
* tidy
* fix test
2024-11-07 12:01:46 +00:00
Carl Bergquist
5722569676
loki: disable flaky tests for scopes injection ( #96018 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-11-07 13:03:42 +02:00
Andrej Ocenas
e55100fa90
Sidecar: isAppOpened returns true only if there are 2 apps rendered ( #95978 )
...
* Check if sidecar is used
* Update packages/grafana-runtime/src/services/SidecarService_EXPERIMENTAL.ts
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
---------
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
2024-11-07 11:50:05 +01:00
Andrej Ocenas
bee29c14c6
Sidecar: Make header consistently 100% width so the X button is visible ( #95982 )
...
Make a wrapper overflow so that header can stay 100%
2024-11-07 11:33:07 +01:00
Gabriel MABILLE
df8b6e6862
Fix: Close grpc_authenticator fallback trace ( #96009 )
...
Fix: Close grpc_authenticator trace
2024-11-07 11:29:25 +01:00
Ivana Huckova
c151021b16
Zipkin: Add feature toggle for backend migration ( #95973 )
2024-11-07 10:35:53 +01:00
Ryan McKinley
8ffc25784c
Chore: Add vscode launcher to attach test process ( #95718 )
2024-11-07 10:05:55 +01:00
Marcus Andersson
df4a5aeaf1
PluginExtensions: Logs panel takes full height/width ( #95825 )
...
Making the log panel taking full space of page.
2024-11-07 09:54:50 +01:00
Señor Performo - Leandro Melendez
cd3a71e7cb
docs: Update CanvasDoc adding video link ( #95953 )
...
Update CanvasDoc adding video link
2024-11-06 21:53:08 +01:00
Scott Lepper
3dbeacfebc
search: dashboard list sorting ( #95983 )
...
search: dashboard list sorting
2024-11-06 15:25:44 -05:00
owensmallwood
b6596db75e
Unified Storage Indexer: Build tenant indexes concurrently ( #95795 )
...
* WIP - build tenant indexes concurrently
* adds local dev seeders and readme for indexer
* update logging and adds locking in getShard()
* update logs
* Adds Namespaces func. Initializes index after ResourceServer is created.
* fixes Count() and updates test lint issues
* Initialize index separately. Don't do it when creating the resource server. Makes testing really awkward.
* fix lint error
* handles error when getting namespaces
* updates test and index helper funcs
2024-11-06 12:58:07 -06:00
Eric Leijonmarck
3877537dc0
Reverse proxy: Skip flaky test for 5xx status codes ( #95839 )
...
add 5xx status codes
2024-11-06 17:54:34 +00:00
Alexander Akhmetov
4ce1abc6f9
Alerting: Fix saving advanced mode toggle state in the alert rule editor ( #95924 )
2024-11-06 18:39:15 +01:00
renovate[bot]
70c21a2e4d
Update scenes to v5.23.1 ( #95951 )
...
* Update scenes to v5.23.1
* Fix e2e tests
* Fix unit tests
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Bogdan Matei <bogdan.matei@grafana.com >
2024-11-06 19:20:27 +02:00
Timur Olzhabayev
fbbb4463f8
Adding Marcus to Hall of Fame and updating codeowners ( #95957 )
...
* Adding Marcus to Hall of Fame and updating codeowners
* fixing prettier issue
2024-11-06 19:19:59 +02:00
Yuri Tseretyan
af513964c8
Alerting: Migration to remove scope from permission alert.notifications.receivers:create ( #95805 )
...
add migration to remove scope from receivers:create permission
2024-11-06 11:31:40 -05:00
Todd Treece
f41f0eac80
Chore: Use fork of github.com/goccy/go-json ( #95969 )
2024-11-06 11:29:43 -05:00
grafana-pr-automation[bot]
c565e9869e
I18n: Download translations from Crowdin ( #95975 )
2024-11-06 17:23:14 +01:00
Ashley Harrison
b85b18288a
Chore: Fix some theme nits ( #95887 )
...
fix some theme nits
2024-11-06 16:03:45 +00:00
Tobias Skarhed
0629a34ae4
Combobox: Add no options message and aria live region ( #95938 )
...
* Add no options message and aria live region
* Add i18n
* Extract message layout and use Trans component
* Fix unused imports
2024-11-06 17:10:06 +02:00
Leonor Oliveira
aaa4f4a23e
Revert "UniStore: Add folder to the SQL backend" ( #95966 )
...
Revert "UniStore: Add folder to the SQL backend (#95671 )"
This reverts commit f075662696 .
2024-11-06 17:04:57 +02:00
kay delaney
26b0e8f105
Dashboard datasource: Return annotations as series when query topic is "annotations" ( #95965 )
2024-11-06 15:03:06 +00:00
Tobias Skarhed
a279220d74
Combobox: Use ScrollContainer to show scroll indicators ( #95962 )
...
Add CustomScrollbar
2024-11-06 15:35:31 +01:00
Syerikjan Kh
06bdfe8e96
ref: remove alias check - moved to gcom ( #95955 )
2024-11-06 09:30:24 -05:00
Pepe Cano
290612e366
Alerting docs: specify using multiple contact point integrations in the UI and HTTP API ( #95890 )
...
* Sort list of contact points on the sidebar
* Update `Configure contact points` to clarify contact point integrations
* Alerting HTTP API: fix `EmbeddedContactPoint` properties table
* HTTP Alerting API: clarify how `ContactPoint.name` groups contact points
* Update docs/sources/alerting/configure-notifications/manage-contact-points/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-11-06 15:28:44 +01:00
Bogdan Matei
52f4bd64e0
Dashboard: Append orgId to URL ( #95960 )
2024-11-06 16:01:55 +02:00
Josh Hunt
8d765cfba1
Prometheus: enable custom values in MetricCombobox ( #95950 )
2024-11-06 13:59:55 +00:00
kay delaney
9d4a087d77
Dashboard datasource: Include source panel annotations ( #95958 )
2024-11-06 15:52:54 +02:00
Sergej-Vlasov
d225e0a95c
DiffViewer: update to newer react-diff-viewer-continued for performance improvements ( #95729 )
...
update to newer react-diff-viewer-continued for performance improvements
2024-11-06 13:36:12 +00:00
Carl Bergquist
70223b2e3d
Loki: Add support for injecting scopes into loki expressions. ( #95591 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
Co-authored-by: Kyle Brandt <kyle@grafana.com >
2024-11-06 15:28:42 +02:00
Bogdan Matei
a80517d6fe
Scopes: Add scopes to metrics explore ( #94802 )
2024-11-06 15:11:33 +02:00
Karl Persson
3311df6e3d
Docs: Remove org id from create team request docs ( #95947 )
...
* Remove org id from create team request docs
* remove reference to orgId
2024-11-06 13:53:48 +01:00
Andrej Ocenas
86ef3c916d
TimeRangeProvider: Fix synced status being kept when only one picker is mounted ( #95885 )
2024-11-06 13:40:17 +01:00
Mariell Hoversholm
f15f6022de
fix: pass context into secrets logs ( #95944 )
2024-11-06 12:52:29 +01:00
Sonia Aguilar
3c1a5ab439
Alerting: Handle regex matchers with flags ( #95883 )
...
* handle regex matchers with flags
* add test in alertmanager.test.ts
* refactor to use the same matching functions
* lint
* lint again
* move matchers functions to matchers.ts
---------
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2024-11-06 13:40:55 +02:00
Ashley Harrison
f8ae71e458
Frontend: Replace deprecated meta tag with correct version ( #95939 )
...
replace deprecated meta tag with correct version
2024-11-06 10:34:14 +00:00
grafana-pr-automation[bot]
0007ede9de
I18n: Download translations from Crowdin ( #95942 )
2024-11-06 12:20:22 +02:00
Brad Cowie
2bfdee73e3
Prometheus: Fix escaping of quotation marks for variables ( #93415 )
...
* Prometheus: Fix escaping of quotation marks for non-regex variables
* Prometheus: Fix escaping of double quotation marks for regex variables
* Prometheus: Add escaping for adhoc filter label queries
2024-11-06 11:19:09 +01:00
grafana-pr-automation[bot]
228bf711f9
I18n: Download translations from Crowdin ( #95891 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-06 10:39:59 +01:00
Hugo Kiyodi Oshiro
058b28aaad
Plugins: Add install specific version feature in plugins version tab ( #93922 )
2024-11-06 10:29:03 +01:00
Tobias Skarhed
70e05c6a3a
Combobox: Remove Chance to generate options in story ( #95842 )
...
Generate basic options
2024-11-06 09:48:44 +01:00
Misi
ab974ddf14
ServerLock: Fix pg concurrency/locking issue ( #95916 )
...
Fix pg unique constraint validation in serverlock
2024-11-06 09:47:32 +01:00
Ryan McKinley
7f560c13e4
Search: Make the existing dashboard parsing code public ( #95649 )
2024-11-06 07:35:15 +03:00
Todd Treece
ed52515ae3
Playlist: Fix mutation logic ( #95925 )
2024-11-05 21:00:10 -05:00
Todd Treece
280c27507c
Playlist: Add mutation and validation ( #95708 )
2024-11-05 17:45:09 -05:00
ismail simsek
c125ead121
Explore Metrics: Reverse the sorting of outliers ( #95919 )
...
reverse the sorting of outliers
2024-11-06 00:35:14 +02:00
Jacob Valdez
9a1e7de79d
Docs: Updating steps for pulling Grafana metrics into Prometheus ( #95913 )
...
* Docs: Updating steps for pulling Grafana metrics into Prometheus
* slight update based on review
2024-11-05 22:13:47 +00:00
Scott Lepper
1feaf6df99
search: add OR filter for kinds ( #95915 )
...
search: add OR filter for kinds
2024-11-05 17:02:13 -05:00
Todd Treece
cd9fcd08aa
K8s: APIGroupBuilder runner admission support ( #95705 )
2024-11-05 23:57:20 +02:00
Scott Lepper
6d8ee5fde0
search: use US searcher from dashboard list page ( #95888 )
...
search: wire up unified storage searcher
2024-11-05 14:30:10 -05:00
Kim Nylander
78c5fe61df
[DOC] Add Pyroscope to list of products ( #95884 )
...
* Add Pyroscope to list of products
* Update docs/sources/shared/basics/what-is-grafana.md
* Apply suggestions from code review
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
Co-authored-by: Bryan Huhta <32787160+bryanhuhta@users.noreply.github.com >
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
Co-authored-by: Bryan Huhta <32787160+bryanhuhta@users.noreply.github.com >
2024-11-05 14:24:42 -05:00
Juan Cabanas
ef4640abfb
ShareButton: Add dropdown tracking ( #95905 )
2024-11-05 15:32:07 -03:00
Andreas Christou
da1a5426d0
Azure: Handle namespace request rejection ( #95574 )
...
Handle rejection and add test
2024-11-05 17:54:47 +00:00
Jacob Valdez
a8578484bb
Docs: updating auto_refresh_license information ( #95804 )
2024-11-05 11:35:09 -06:00
Dave Henderson
04d71068d1
ci: Update Dependabot with a single multi-directory config for gomod ( #95881 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-11-05 18:24:43 +01:00
Matias Chomicki
a3d3af35da
Shard query splitting: improve error handling ( #95824 )
...
* Shard query splitting: Improve error handling
* Formatting
* Shard query splitting: do not shard instant queries
* Shard query splitting: stop querying on parse errors
2024-11-05 17:34:22 +01:00
ismail simsek
82ac9e2bb6
Explore Metrics: Explore Logs integration ( #94656 )
...
* initial logs integration
* rename back to Integrations
* remove comments
* connect related logs in metrics with logsIntegration service
* rename
* remove comments
* feat: related logs with loki expr
* fix: layout & var updates
* refactor: prefer scene state to context
* fix: limit DS select to relevant loki DSes
* refactor: use existing utils
* refactor: types
* fix: tests and types
* refactor: simplify
* refactor: prefer precise data updates
* refactor: prefer variable for key
* refactor: simplify panel search
* refactor: remove unnecessary short-circuit
* fix: ensure single network request for logs
* fix: add missing limit to fetched log lines
* refactor: add clarity
* refactor: organize imports
* feat: messaging for No Related Logs case
* fix: add missing space
* chore: add `exploreMetricsRelatedLogs` feature toggle
* feat: link to Explore Logs app
* fix: i18n
* fix: use sentence case consistent with design system
* style: avoid competing with metricscene buttons
* fix: capitalization for names
* fix: a11y
* refactor: clean up and document utils
* fix: formatting
* chore: run `make i18n-extract`
* test: improve coverage
* test: fix module resolution side-effects
* extract only the first rule
refactor: organize imports
* remove unnecessary test files
---------
Co-authored-by: Nick Richmond <nick.richmond@grafana.com >
2024-11-05 17:28:43 +01:00
Marcus Andersson
c7a7f7dce5
PluginExtensions: Made it possible to enable extensions admin page in non-development environments ( #95820 )
...
* Added feature flag for toggling extensions admin page.
* fixed typo.
* require restart
---------
Co-authored-by: Erik Sundell <erik.sundell87@gmail.com >
2024-11-05 16:55:10 +01:00
Torkel Ödegaard
6fd3620d50
Dashboards: Fixes issue with panel header showing even when hide time override was enabled ( #95814 )
...
* Dashboards: Fixes issue with panel header showing even when hide time override was enabled
* fixes
* fixed test
2024-11-05 16:40:43 +01:00
Luis Rodrigues
bfa1f03315
Prometheus: Fix query editor crash in response to invalid query ( #94421 )
...
* Quick fix for RenderParams Function
* Removing unnecessary optional chaining
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
* Removing unittests for RenderParams
---------
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
2024-11-05 10:29:52 -05:00
Ashley Harrison
c05bfdf71f
Theme: Add debug theme behind extraThemes toggle ( #95838 )
...
add debug theme
2024-11-05 14:37:09 +00:00
Scott Lepper
ef29ce5b85
[search] - folder tests; search by ids ( #95797 )
...
[search] - folder tests; search by ids
2024-11-05 09:34:54 -05:00
Carl Bergquist
af6ddad058
go: run gomod updates daily ( #95841 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-11-05 15:27:03 +01:00
Konrad Lalik
3c8d29fa46
Alerting: Fix contact points secure settings migration ( #95787 )
...
Add missing migration for secure settings, add types to notifiers mocks
2024-11-05 14:46:17 +01:00
Konrad Lalik
91088d1f56
Alerting: Optimize Prometheus rules query params ( #95833 )
...
Load alert instances only when label filter is applied
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2024-11-05 14:35:53 +01:00
Victor Marin
34991f5b44
Chore: Fix dashboards label adding workflow ( #95778 )
...
* change auth for dashboards workflow
* fix
* fix
* final changes/ tested action
* fix
2024-11-05 14:43:47 +02:00
Andres Martinez Gotor
e6353dcd68
Chore: make update-workspace ( #95821 )
2024-11-05 11:22:23 +01:00
Ashley Harrison
0fae3579e8
Chore: improve some types ( #95728 )
...
* fix some typings
* fix some more
* more type fixes
* fix some graphite types
* few influx fixes
2024-11-05 09:57:30 +00:00
Ashley Harrison
34269a03c0
ScrollContainer: Apply to dashboard panels ( #95724 )
...
* add ScrollContainer to panels
* remove unnecessary wrapper
* fix text panel
2024-11-05 09:56:57 +00:00
Georges Chaudy
f075662696
UniStore: Add folder to the SQL backend ( #95671 )
...
* Add folder to the SQL backend
* remove unused key
* fix tests
* Return folders from watch
2024-11-05 10:37:23 +01:00
Tom Ratcliffe
7e34c015ee
Alerting: Load alerting state view based on prom primary feature toggle ( #95045 )
2024-11-05 09:33:54 +00:00
Pepe Cano
facca37f4d
Alerting docs: Update Create alert rules from panels ( #95566 )
...
* Alerting docs: Update `Create alert rules from panels`
* Remove screenshots except when the panel displays alert status
* Further changes sync with Brenda
* minor changes
* Relocate admonition
* Specify `dashboardUId` and `panelId` must be set together
* Update docs/sources/alerting/alerting-rules/link-alert-rules-to-dashboards.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* change title
* change URL
* fix spell error
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-11-05 10:00:59 +01:00
grafana-pr-automation[bot]
2b370d6e27
I18n: Download translations from Crowdin ( #95781 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-05 09:20:43 +01:00
ismail simsek
bcdcb1f74b
Explore Metrics: Introduce augurs sorting options in breakdown view ( #91189 )
...
* refactor breakdown scene
* refactor BreakdownScene along with LayoutSwitcher
* rename
* don't pass default layout
* better type handling
* betterer
* add @bsull/augurs
* implement LabelBreakdownScene
* integrate SortByScene in LabelBreakdownScene
* move to new directory
* introduce BreakdownSearchScene
* integrate searchScene
* cleaning
* initialize @bsull/augurs
* add interaction
* use new breakdown scene
* resolve merge conflicts
* ugrade @bsull/augurs
* update import
* update css
* update tooltip text
* refine sorting
* fix unit test
* fix
* implement outlier detector
* support wasm
* jest testing fix
* localization fix
* use unknown instead of any
* update i18n
* update betterer
* fix locales
* update test
* fix tests maybe
* prettier
* chore: update jest config
* chore: create mock for @bsull/augurs (#92156 )
chore: create mock for bsull/augurs
@bsull/augurs assumes it will be running as an ESM, not
a CommonJS module, so can't be loaded by Jest (specifically
because it contains a reference to import.meta.url).
This PR provides a mock implementation which gets tests passing
again.
Ideally we'd be able to load the actual @bsull/augurs module
in tests so this is just a stopgap really, until a better
solution appears.
* fix unit tests
* remove unused BreakdownScene.tsx
* set outliers as undefined if an error occurs
* Add labels
* betterer
* reset event implemented
* fix controls positioning
* update augurs
* betterer
* i18n
* conflict fixes
* update texts
---------
Co-authored-by: Matias Chomicki <matyax@gmail.com >
Co-authored-by: Ben Sully <ben.sully@grafana.com >
2024-11-05 08:34:09 +01:00
Vijay Karthik
297ccfc52c
Prometheus: Show notice when there is no data ( #93936 )
...
Show notice when there is no data
2024-11-05 08:25:28 +01:00
Torkel Ödegaard
2485286c03
DashboardScene: Move DashboardGridItem ( #95768 )
...
* DashboardScene: Move DashboardGridItem
* fix lints
* fixes
2024-11-05 08:05:09 +01:00
Patrick Easters
a43ba7bd44
Docs: Fix hyphens in adaptive metrics permissions ( #95803 )
2024-11-05 06:38:39 +00:00
Todd Treece
517a1bef08
Playlist: Migrate to App SDK ( #95691 )
2024-11-04 14:18:49 -05:00
Jo
4452d0932a
Users: Fix potential panics on UID translation ( #95794 )
...
fix potential panics on UID translation
2024-11-04 18:50:26 +01:00
Alexander Akhmetov
305123df91
Alerting: Keep state manager cache during cache warm-up ( #95727 )
...
* Alerting: Keep state manager cache during cache warm-up
Instead of overwriting the state manager cache during warm-up,
we update the data in the cache if it is not there yet. If the cache
already contains a state entry with the same key, we do not overwrite it.
2024-11-04 18:26:52 +01:00
Aaron Godin
ede0b7e9ed
IAM - Fix panic from accessing nil serviceAccount ( #95681 )
...
Fix panic from accessing nil serviceAccount
2024-11-04 11:18:31 -06:00
Kristina
68aefc73b6
Timeseries: Utilize min/max on stacking percentage ( #95581 )
...
* Bring in defined min/max into stacking range
* simplify logic
* different approach
---------
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2024-11-04 11:02:09 -06:00
Jo
ddf766567b
RemoteCache: Refactor remote cache settings ( #95672 )
...
* refactor remote cache settings
* fix cache error getting treating as application error
* fix cache error getting treating as application error
2024-11-04 17:35:31 +01:00
Zoltán Bedi
85c696c4ad
SQL: Add macro support in select case ( #88514 )
...
* Feat: timeGroup macro handling in VQB
* Add tests
* Add functions to SQL ds
* Fix lint errors
* Add feature toggle
* Add rendering based on object
* Fix lint
* Fix CI failures
* Fix tests
* Address review comments
* Add docs
* Fix JSX runtime warnings
* Remove docs part that mentions suggest more macros
* Update docs/sources/shared/datasources/sql-query-builder-macros.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Add smoke test for this feature
* lint
* Add supported macros to influx
* Add setupTests.ts to include in tsconfig.json
* Import jest-dom instead of setupTests.ts
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-11-04 17:13:35 +01:00
Tom Ratcliffe
aacc83be5c
Alerting: Change any alert notifiers that use templates to be text areas ( #95080 )
2024-11-04 15:59:28 +00:00
renovate[bot]
b4012b6ac8
Update scenes to v5.22.1 ( #95655 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-04 15:41:01 +00:00
Zoltán Bedi
bd8da0cf25
JaegerDS: Remove whitespace from traceID in query ( #95786 )
2024-11-04 15:45:41 +01:00
Tom Ratcliffe
2c57ecc085
Alerting: Only show "misconfigured" warning for templates if AM is not Grafana ( #95596 )
2024-11-04 14:20:35 +00:00
Konrad Lalik
e43bec2cd8
Alerting: Fix contact points secrets validation ( #95651 )
...
Add new condition to the determineRequired function
2024-11-04 13:15:48 +01:00
Laura Fernández
0802ebcd1a
SingleTopNav: add property to grafana_mega_menu_open ( #95774 )
2024-11-04 13:12:59 +01:00
Joao Silva
afcd620d21
Combobox: Handle error if async fails ( #95740 )
2024-11-04 12:08:51 +00:00
Pepe Cano
9d937725ad
Alerting docs: add Time type documentation for notification templates ( #95688 )
...
* Improve `tz` and `date` docs
* Add documentation for `Time` type
2024-11-04 12:21:28 +01:00
Alessandro Chitarrini
c490b29d34
Update Discord contact point documentation for use_discord_username type ( #95011 )
2024-11-04 10:02:19 +00:00
Ashley Harrison
7fd4f220b8
RefreshPicker: Fix styling ( #95739 )
...
need to set clear borderRadius explicitly on ButtonSelect
2024-11-04 10:00:12 +00:00
Eric Leijonmarck
fe6ec1258f
CLI: Remove manager-users conflict users cli ( #95135 )
...
* Remove conflict_user cli
* Delete pkg/build/cmd/exportversion.go
2024-11-04 09:38:08 +00:00
Misi
986c024dd7
Auth: Update SAML lib ( #94745 )
...
* Update lib
* Add missing TestIntegration prefix
* Update go.sum, go.work.sum
2024-11-04 09:55:29 +01:00
Karl Persson
3bcbf231ee
IDToken: fix namespace format ( #95341 )
...
* Bump authlib version
* Remove temporary formatter and start signing tokens with `stacks-` prefix
* update workspace
2024-11-04 09:33:03 +01:00
Pepe Cano
8a0c920106
Alerting docs: fix alertname label name ( #95665 )
2024-11-04 09:25:06 +01:00
Pepe Cano
d3a3e53354
Alerting docs: Add one notification template example that prints a title or subject ( #95680 )
2024-11-04 09:24:40 +01:00
Todd Treece
003b2f14db
K8s: Add tracing to apiserver startup ( #95744 )
...
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com >
2024-11-02 00:44:40 +01:00
Todd Treece
c5178807be
Semconv: Add service name attribute ( #95743 )
2024-11-01 23:29:14 +01:00
Isabella Siu
d0ba4f18d3
CloudWatch: Metric Insights builder should wrap keywords in quotes ( #95742 )
2024-11-01 18:00:54 -04:00
Todd Treece
403b60723d
Playlist: Add watch feature toggle ( #95730 )
2024-11-01 13:47:24 -04:00
Ashley Harrison
620fb87fb8
AppChromeMenu: Fix selector when checking for outside click ( #95736 )
...
need quotes...
2024-11-01 17:25:01 +01:00
Erik Sundell
3deffe58f6
Selectors: Remove outdated comment ( #95735 )
...
remove comment
2024-11-01 17:08:25 +01:00
Josh Hunt
eb781dd46d
Prometheus: Add Metrics Explorer button next to MetricCombobox ( #95647 )
2024-11-01 15:32:17 +00:00
Isabella Siu
5f4944117c
Elasticsearch: Stop escaping backslash in regex adhoc filter ( #94577 )
2024-11-01 11:06:13 -04:00
owensmallwood
0eb7b755e2
Unified Storage Indexer: Add integration tests ( #95687 )
...
* indexer integration tests WIP
* make protobuf
* Adds a few more integration test cases to cover the basics. Use Limit instead of Size param from SearchRequest.
* skip if testing.Short()
* adds test comments
2024-11-01 07:58:10 -06:00
Erik Sundell
c548a2357b
Chore: Remove commented out selectors ( #95719 )
...
remove commented out selectors
2024-11-01 13:20:58 +00:00
Todd Treece
30b1e3b289
K8s: APIGroupBuilder App SDK Support ( #95638 )
2024-11-01 08:28:56 -04:00
Dana Axinte
2ba1740698
CloudMigrations: increase size of resource_uid column ( #95684 )
...
* len 255
* comment
* Update pkg/services/sqlstore/migrations/cloud_migrations.go
* comment on sqlite
* postgres varchar
---------
Co-authored-by: Michael Mandrus <41969079+mmandrus@users.noreply.github.com >
2024-11-01 09:09:50 +00:00
Erik Sundell
9c16622160
Plugins: Add buildMode to the plugin.json schema ( #95660 )
...
* add buildmode
* improve description
2024-11-01 09:29:31 +01:00
Erik Sundell
c29ed503db
Test plugins: Add datasource test plugin with field tests ( #95472 )
...
* add new test plugin
* add some field validation tests
* update lockfile
* fix bad test file name
2024-11-01 08:25:27 +01:00
Alex Khomenko
f3bdf4455c
Routing: Explicitly handle goto redirects ( #95559 )
2024-11-01 07:52:33 +02:00
Liza Detrick
85ee91aa77
chore: (@grafana/ui) - table documentation explain applyFieldOverrides ( #95523 )
...
* chore: (@grafana/ui) - table documentation explain applyFieldOverrides
Co-authored-by: Galen Kistler <109082771+gtk-grafana@users.noreply.github.com >
2024-10-31 11:14:59 -07:00
Adam Simpson
3adc7c8771
ds-querier: parse datasourceUid correctly ( #95629 )
...
* ds-querier: parse datasourceUid correctly
Co-authored-by: Sarah Zinger <sarah.zinger@grafana.com >
* make test case smaller
---------
Co-authored-by: Sarah Zinger <sarah.zinger@grafana.com >
2024-10-31 14:07:26 -04:00
Adam Simpson
6f74c19d75
Update CODEOWNERS with core-services ( #95202 )
2024-10-31 13:52:51 -04:00
Scott Lepper
f8a5813573
[search] grouping - support indexing dashboard tags, filtering by tag, listing tags ( #95670 )
...
[search] grouping
2024-10-31 13:09:17 -04:00
Matias Chomicki
f539a70d6d
Loki shard splitting: QOL improvements ( #95602 )
...
* Scan direction: add experimental badge
* Logs model: keep data when the response contains errors
* SupplementaryResultError: extend behaviors
* LogsVolumePanel: add custom message for partial shard data
* SupplementaryResultError: add size prop
* SupplementaryResultError: remove size prop and adjust sizes
* Infinite scroll: disable when direction is scan
* Fix lint issues
* logsModel: add logs volume test
* chore: unfocus test
* modifyQuery: add function to add drop statement to queries
* Shard query splitting: split metric queries
* Shard query splitting: drop stream shard from metric queries
* Fix tests
* logsModel: skip coverage data when the direction is scan
2024-10-31 16:58:02 +00:00
Sergej-Vlasov
9f5258717e
E2E: remove duplicate loki e2e tests ( #95644 )
...
* remove duplicate loki e2e tests to avoid flakiness
* unskip test
* adjust panel ids
2024-10-31 15:49:28 +00:00
Ashley Harrison
ada6249280
Chore: use ScrollContainer across frontend platform components ( #95601 )
...
* use ScrollContainer in grafana-ui
* remove extraneous labels
* fix unit tests
2024-10-31 15:27:35 +00:00
Jo
9f43724b57
AccessControl: Use UIDs for Resource permissions frontend ( #95552 )
...
* frontend can use uids to set resource permissions
* lint
* add uids to folder acl
* Update public/app/core/components/Select/UserPicker.tsx
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
* simplify conditions
---------
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2024-10-31 16:17:13 +01:00
Georges Chaudy
76b43267c8
Unified Storage: Use ssl_mode instead of sslmode ( #95658 )
...
change unistore to use ssl_mode instead of sslmode
2024-10-31 16:10:47 +01:00
Ashley Harrison
b42c34070a
SingleTopNav: Fix org switcher in overlayed MegaMenu ( #95654 )
...
fix org switcher in singleTopNav
2024-10-31 14:48:01 +00:00
Jo
d77fc50198
Users: Add numerical indentifiers to detail pages ( #95620 )
...
* add numerical indentifiers to frontend while they're still valid
* lowercase identifier
2024-10-31 14:05:18 +00:00
Haris Rozajac
6c45f7f556
Dashboard Scene: Add Missing Overrides Tab to Panel Edit ( #95276 )
...
Add overrides tab
2024-10-31 07:58:53 -06:00
Ida Štambuk
8f2893edd3
Features: Move cloudwatchMetricInsightsCrossAccount toggle to GA and enabled by deafault ( #94985 )
2024-10-31 13:58:09 +00:00
Syerikjan Kh
35697381d2
fix: make org_id not nullable and set default value ( #95610 )
2024-10-31 09:53:33 -04:00
Jacob Valdez
0261e8fe80
Docs: Updating versions in activating AWS marketplace license ( #95633 )
2024-10-31 08:42:44 -05:00
Karl Persson
dfa8f786d2
Zanzana: fix generic schema ( #95648 )
...
* Change schema so that resource checks on a folder walks the tree
2024-10-31 14:34:48 +01:00
Ryan McKinley
4e1f0dadbd
UnifiedStorage: Default to running unified-grpc in integration tests ( #93492 )
2024-10-31 16:29:32 +03:00
Jack Westbrook
a93de5f0d8
CI: Assert NPM package types are bundled correctly ( #95533 )
...
* ci(npm-packages): use attw cli to assert package types are built corrctly
* fix(validate-npm-packages): correct path to tarball
2024-10-31 14:29:21 +01:00
Jack Westbrook
2bcc46c338
Frontend: Enable TS IsolatedModules ( #95586 )
...
* chore(typescript): enable isolatedModules
* chore(frontend): fix ts errors related to isolated modules
2024-10-31 14:00:32 +01:00
Scott Lepper
7619d9cb11
[search] minimal dashboard indexing ( #95631 )
...
[search] minimal dashboard indexing
2024-10-31 07:46:00 -04:00
Leonor Oliveira
b1157dbd7a
Validate if we are creating a folder more than 5 levels deep ( #95579 )
...
* Add getter to FolderAPIBuilder so that we can access it in admission
* Remove deprecated return
* Fix test
* Update pkg/registry/apis/folders/register_test.go
Co-authored-by: maicon <maiconscosta@gmail.com >
* Fix maxNested folder test
* Remove log
---------
Co-authored-by: maicon <maiconscosta@gmail.com >
2024-10-31 12:19:53 +01:00
Alex Khomenko
841a87c978
PluginDetailsBody: Use proper cases for the styles ( #95640 )
2024-10-31 13:03:27 +02:00
Alex Khomenko
f7e9aeac6e
FormattedValueDisplay: Improve styles check ( #95639 )
2024-10-31 12:59:46 +02:00
Josh Hunt
bf6056f2fa
Prometheus: Use Combobox for metric select ( #93262 )
...
* Uses Combobox in Prometheus for the metrics select, behind feature toggle
* switch to new async combobox api
* clean up MetricCombobox, add in dev slowness
* wip
* reset combobox changes to other pr https://github.com/grafana/grafana/pull/95191
* restore placeholder
* wip
* tests :)
* remove history comment
* use main import
2024-10-31 10:36:27 +00:00
Joao Silva
e40b19c7a6
Combobox: Debounce async calls ( #95485 )
2024-10-31 10:27:14 +00:00
grafana-pr-automation[bot]
69bda0b803
I18n: Download translations from Crowdin ( #95627 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-31 08:21:34 +00:00
Brendan O'Handley
d2d7ae2e86
Explore metrics: Add OTel resource attributes in overview and breakdown scenes ( #95009 )
...
* add new otel grouping variables
* add call for resource attributes for a metric
* add function to update variables for otel join
* interpolate metric in match param
* update group left when starting trail
* process the group left before setting the metric and showing the metric scene
* add attributes to metric overview list
* change label name to attributes because it contains resource attributes and metric attributes
* add resource attributes to label breakdown select
* add otel resource attribute to filters from label breakdown
* add otel flag for rudderstack event when breakdown label selected
* for translations
* add test for new variable in datatrail spec
* add test for filtering otel resource attributes
* update documentation
* add tests for updating the join query with group left resource attributes
* use Nick and Ismail's suggestions, return early, space and no type needed for timerange
* remove unused import
2024-10-30 19:29:08 +00:00
owensmallwood
2b0a439ad3
Unified Storage Indexer: Dont create temp dir for indexDir ( #95626 )
...
* dont create temp dir for indexDir
* uses logger from trace ctx so traceID is on logs
2024-10-30 18:20:42 +00:00
grafana-pr-automation[bot]
3c8bfb539d
I18n: Download translations from Crowdin ( #95624 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-30 17:41:17 +00:00
Kat Yang
a2755117ac
Feat: New homepage design ( #93354 )
...
* wip: homepage (new user)
* fix: spacing between button and text; wip refactor: separating bookmarks and recent metrics from home page
* feat: new user homepage; wip: need to clean up code
* fix: change rocket icon to svg
* wip feat: rendering recent metrics
* chore: add comments to understand code, will need to delete / cleanup later / pare down into documentation comments
* wip: new recent metric card design
* wip: display recent metrics cards in rows of 3 (height still incorrect)
* feat: apply conditional styling to remainder recent metrics exploration cards (any cards that are not a complete row of 3)
* fix: render new recent metrics explorations without refresh
* style: render recent metrics explorations in rows of 3 using grid instead of flex; fix: remove remainder card styling
* fix: remove delete button from recent metrics exp cards
* style: make background color for each card take up the entire card/grid space; make height of cards for each row the tallest card
* chore: clean up code
* fix: fix eslint errors
* style: implement recent metrics card header styling
* style: in recent metrics exp cards, format datasource line
* fix: add initial value for _lastModified to fix eslint err
* style: format date correctly; chore: clean up code; wip: get date to render properly on bottom left
* style: make inner card height match outer card height; style: add date footer; style: wrap last metric name; style: wrap labels
* style: adjust font for label name and label value
* style: truncate singular label if value is greater than 35 characters
* style: truncate singular long labels at 44 characters; style: truncate multiple labels at 3 lines; style: correct the border width and radius
* style: make background border radius match the border
* style: correct gap between rows and columns of cards; style: correct padding inside card
* chore: clean up code
* refactor: apply new card UI to DataTrailCard component
* feat: add bookmarks (not formatted correctly), only render section if there are bookmarks, hook up delete functionality
* style: add horizontal line above bookmarks header; style: add bookmarks header
* style: add additional padding above bookmarks divider; chore: delete unused code
* style: add carrot button to bookmarks; style: format heading font style
* refactor: separate bookmarks into functional component; feat: make bookmarks section collapsed by default; feat: allow toggle to expand bookmarks section
* style: position delete button for bookmarks in bottom right of card
* fix: only render recent metrics and bookmarks headings if there are any
* style: add show more button (not functional); style: fix padding around show more button
* chore: delete unused code
* fix: add back gap underneath bookmarks header
* feat: implement show more/less button for recent metrics
* fix: do not show select metric card if user does not actually select a metric
* chore: preliminary code clean up
* chore: delete console.logs, comments
* chore: clean up styling
* Update public/app/features/trails/DataTrailCard.tsx
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
* fix: add i18nKey to Trans tags
* fix: attempt to remove go.work.sum changes that are unrelated to my PR
* fix: add Trans tags
* refactor: sepearate recent metrics into functional component; chore: delete unused code; fix: add Trans tags
* chore: generate translation json
* trigger drone
* trigger drone
* fix: add trans tag to date
* chore: abbreviate descriptive key, regenerate json
* Update public/app/features/trails/DataTrailBookmarks.tsx
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
* Update public/app/features/trails/DataTrailsRecentMetrics.tsx
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
* Update public/app/features/trails/DataTrailBookmarks.tsx
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
* fix: revert trans tag on date created to fix formatting
* chore: return null immediately if no recent metrics
* style: add margin between bookmarks header and carrot toggle button
* style: adjust margin to 8px between bookmarks header and carrot toggle button
* style: make margins multiples of 4
* Update public/app/features/trails/DataTrailBookmarks.tsx
Co-authored-by: Brendan O'Handley <brendan.ohandley@grafana.com >
* style: fix light mode styles; style: fix border radius
* fix: save select metric view as recent metric card if labels are applied
* Update public/app/features/trails/DataTrailCard.tsx
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
* refactor: move rocket svgs into assets folder
* chore: add back accidentally deleted console log
* Update public/app/features/trails/DataTrail.tsx
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
* Update public/app/features/trails/DataTrailBookmarks.tsx
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
* chore: revert lastModified related changes since behavior appears to remain the same
* fix: add back lastModified changes because they make the recent metrics show more functionality work
---------
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
Co-authored-by: Brendan O'Handley <brendan.ohandley@grafana.com >
2024-10-30 13:03:01 -04:00
Josh Hunt
55bcbcef83
GrafanaUI: Export Combobox from @grafana/ui ( #95622 )
2024-10-30 16:59:28 +00:00
Jacob Valdez
acebe9bee5
Docs: adding SAML name parameter configuration info ( #95575 )
2024-10-30 11:38:29 -05:00
kay delaney
db5f893ea6
Chore: Remove code related to viz/widget split feature ( #95614 )
2024-10-30 16:12:03 +00:00
Andreas Christou
08e880a823
GCM: Fix error checking for GCE project getter ( #95613 )
...
Appropriately check error
2024-10-30 15:28:53 +00:00
Josh Hunt
fe4f44723d
Combobox: Call loadOptions with current input value when reopening menu ( #95573 )
2024-10-30 14:27:13 +00:00
Bogdan Matei
048ba14c34
Fix relative time range parsing ( #95603 )
2024-10-30 15:52:19 +02:00
Galen Kistler
777979965d
Loki: pass backendSrv request options ( #95608 )
...
* chore: allow passthrough of options, reject promise on error
2024-10-30 13:50:51 +00:00
Jo
90d2f4659e
Users: Allow specifying user UIDs in params ( #95424 )
...
* add user ID API translation
* add uid to user frontend
* use users' UIDs in admin pages
* fix ldapSync page
* use global user search for user by UID
* remove active org filtering
* remove orgID params
2024-10-30 14:14:42 +01:00
Syerikjan Kh
f0391e31d2
Revert "fix: make org_id not nullable and provide default value" ( #95606 )
...
Revert "fix: make org_id not nullable and provide default value (#95556 )"
This reverts commit 261b4a5564 .
2024-10-30 08:55:02 -04:00
Laura Fernández
0bd0dc374a
BrowseDashboardPage: remove error property from tracking event ( #95599 )
2024-10-30 13:02:28 +01:00
renovate[bot]
3034bcaa72
Update dependency ansicolor to v2 ( #95543 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-30 12:31:45 +01:00
Shane Kenney
1f70aa8f80
Loki: Adds support for Loki derived fields to open links in a new tab ( #92265 )
...
* Open in new tab for loki derived fields
* Refactor styles
* Update documentation
* Initialise as boolean
2024-10-30 07:07:34 -04:00
Ieva
092a1813ef
Folders: Don't show error pop-up if the user can't fetch the root folder ( #95569 )
...
don't show error pop-up if the user can't read general folder
2024-10-30 10:48:34 +00:00
Ashley Harrison
87c2bc44b2
GrafanaUI: Add new unstable ScrollContainer component ( #95547 )
...
add new unstable ScrollContainer component
2024-10-30 10:19:42 +00:00
antonio
9b773b8501
sandboxfy alerting tutorial part 2 ( #95260 )
...
* sandboxfy alerting tutorial part 2
* format
* format2
* added frontmatter
* all pretty no pity
* added setup, login
* link
* STEPS
* login link
* update steps
* improve visibility of part 2
* link
* new diagram image
* img
* all pretty, no pity
2024-10-30 09:58:05 +00:00
Jack Baldry
6fcfd132e5
Remove second aliases section ( #95587 )
2024-10-30 09:56:36 +00:00
Yuri Tseretyan
c5bad9f843
Alerting: Update documentation to include new permissions for routes ( #95437 )
...
* update documentation
* Update index.md
2024-10-30 10:09:32 +01:00
Oscar Kilhed
5673fafbfb
Chore: Rename activateInActiveParents -> activateSceneObjectAndParentTree ( #95534 )
...
* Activate parents of query runner when using dashboard ds
* Set plugin loading util to fix test because activating the ancestors of the query runner needs to be able to load the plugin for the panel
* Rename activateInActiveParents -> activateSceneObjectAndParentTree
* Add back but deprecate activeInActiveParents
2024-10-30 09:55:16 +01:00
grafana-pr-automation[bot]
a20c9db6b7
I18n: Download translations from Crowdin ( #95561 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-30 08:53:05 +00:00
owensmallwood
50a6069532
Unified Storage Indexer: Uses in-memory index ( #95576 )
...
uses in-memory index
2024-10-29 21:40:25 +00:00
maicon
af1a732821
UniStore: test folders circular reference ( #95496 )
...
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2024-10-29 21:06:55 +00:00
dependabot[bot]
a115d5db03
Bump aquasecurity/setup-trivy from 0.2.1 to 0.2.2 ( #95456 )
...
Bumps [aquasecurity/setup-trivy](https://github.com/aquasecurity/setup-trivy ) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/aquasecurity/setup-trivy/releases )
- [Commits](https://github.com/aquasecurity/setup-trivy/compare/v0.2.1...v0.2.2 )
---
updated-dependencies:
- dependency-name: aquasecurity/setup-trivy
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-10-29 19:20:45 +00:00
Galen Kistler
7fa0ae48c5
Loki: add detected_field/.../values support to language provider ( #95204 )
...
* add detected_field values to language provider
2024-10-29 13:54:28 -05:00
owensmallwood
995128d1db
Search PoC: Improves initial indexing speed. Makes params configurable. ( #95439 )
...
* Improves initial indexing speed. Makes params configurable.
* fix linter errors
* removes kind param
* updates index test
* remove println from test
* removes error check in test
* adds log for high index latency ands updates max goroutine var with workers config var
* fix test timing out - set worker limit
* set the batch size
---------
Co-authored-by: Scott Lepper <scott.lepper@gmail.com >
2024-10-29 12:24:31 -06:00
Josh Hunt
189802d3c3
EchoSrv: Add BrowserConsoleBackend to log analytics events ( #95554 )
...
* EchoSrv: Add BrowserConsoleBackend to log analytics events
* rename config name
* warn on non-scalar property values
2024-10-29 18:20:54 +00:00
Jacob Valdez
d480900a9b
Docs: Adding memory requirements to image renderer docs ( #95571 )
...
Adding memory requirements to image renderer docs
2024-10-29 13:04:29 -05:00
Josh Hunt
952957248f
Combobox: Squish the menu height in small viewports ( #95568 )
...
* Combobox: Squish the menu height in small viewports
* rename constants
2024-10-29 17:47:31 +00:00
Syerikjan Kh
261b4a5564
fix: make org_id not nullable and provide default value ( #95556 )
2024-10-29 13:21:48 -04:00
Nick Richmond
6be787dd47
Prometheus: Ensure auth config can be switched away from Azure option ( #95003 )
...
fix: sanitize jsondata when azure auth disabled
2024-10-29 12:15:19 -04:00
Tom Ratcliffe
03715f062b
Chore: Move structured-clone polyfill to setupTests ( #95406 )
...
* Add structured-clone polyfill to setupTests
* Remove manual structured-clone imports
2024-10-29 16:40:05 +01:00
Leonor Oliveira
55afbdc6be
[Folder] Add general UID validation ( #95549 )
...
* Add general UID validation
* [REVIEW] group all folder validation rules into struct
* Fix test
2024-10-29 16:09:28 +01:00
Yulia Shanyrova
3e1046ee2e
Plugins: Show latest commit date at plugin details right panel ( #95333 )
...
* get last commit info from backend
* change last commit date type
* fix tests
* add tests to check lastCommitDate
2024-10-29 16:09:02 +01:00
renovate[bot]
61929b785a
Migrate renovate config ( #95504 )
...
* Migrate config .github/renovate.json5
* readd comments
* remove space
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-10-29 14:24:48 +00:00
antonio
0ef08ca737
docs>alerting:tutorial update ( #95402 )
...
* updated steps
* update before you begin
* updated title
* update title 2
* elaborated on 'Sample logs' section
* updates to improve visibility
* updated links
* format
* updated link
* links and steps
* updated call-to-action boxes
* updated box
* title
* format
* steps
* format
* Made docs live in the now
* all pretty, no pity
2024-10-29 12:18:07 +00:00
Stephanie Hingtgen
fe74dfcb77
Logging: Add error logging to syslog ( #95525 )
2024-10-29 06:57:15 -05:00
David Harris
985b390a46
docs: clarify release stage for frontend sandbox ( #95530 )
2024-10-29 11:39:01 +01:00
Alexa V
f062c66f89
Dashboard: Add new dashboardSchemaV2 feature toggle ( #95536 )
...
Dashboard Scene: Add new dashboardSchemaV2 feature toggle
2024-10-29 11:35:18 +01:00
Erik Sundell
1d8f8178ee
E2E Selectors: Force plugin-e2e to use workspace version of e2e-selectors ( #95511 )
...
* provoke an error
* resolve local selectors package
* Update package.json
* bump plugin-e2e
* Revert "provoke an error"
This reverts commit a2df215189 .
* update readme
2024-10-29 10:54:56 +01:00
Jo
2b867d9850
AccessControl: Resource permission translator ( #95423 )
...
* Standardize Resource Translator in options
* Add resource UID translator for resource permissions
* fix comments
* fix comments
2024-10-29 10:21:39 +01:00
Marc M.
fb51a5e21f
Tempo: escape span names in TraceQL editor ( #95483 )
2024-10-29 11:19:17 +02:00
Jack Westbrook
eae83609b8
Grafana UI: Remove re-export of Ansicolor package ( #95531 )
...
chore(grafana-ui): remove re-export of ansicolor package
2024-10-29 10:04:33 +01:00
Oscar Kilhed
97027834a1
Dashboard datasource: Activate parents of query runner when using dashboard ds ( #95507 )
...
* Activate parents of query runner when using dashboard ds
* Set plugin loading util to fix test because activating the ancestors of the query runner needs to be able to load the plugin for the panel
2024-10-29 09:55:13 +01:00
Pepe Cano
9b91be739d
Alerting docs: Update Recording Rules ( #95435 )
...
* WIP - Restructure recording rule pages
* Add more `Recording rules` use cases
* Update `Intro > Alert rules`. Minor style changes and updates to the recording rules section
* Minor verb change
* Switch `aliases` and fix broken link
* Bold for clarity
* Complete `Create recording rules in Grafana Alerting`
* Complete data source-managed recording rules
* Final update
2024-10-29 09:41:59 +01:00
Ryan McKinley
2f40fd6741
Dashboards: Remove unique name constraints ( #90687 )
2024-10-29 08:58:39 +03:00
Todd Treece
c8238c7914
K8s: Add admission mutation support to builder ( #95526 )
2024-10-29 03:14:07 +02:00
Todd Treece
4508d6c143
Chore: Add additional builder validation tests ( #95518 )
2024-10-28 20:42:10 -04:00
Russ
9f2da249fd
Chore: update Asserts menu icon again ( #95522 )
2024-10-28 23:55:19 +02:00
Isabel Matwawana
097fa053e4
Docs: Update variables creation tasks ( #95078 )
2024-10-28 16:04:31 -04:00
Scott Lepper
337f2a0a8b
[search] add index; increase page size ( #95515 )
...
[search] add index; increase page size
2024-10-28 15:48:49 -04:00
Josh Hunt
c9abe04d46
Prometheus: Add instrumentation for query patterns ( #95288 )
...
Prometheus: Add instrumentation for query patterns/kickstart your query
2024-10-28 20:46:08 +02:00
renovate[bot]
5717cb5055
Update dependency rudder-sdk-js to v2.48.23
2024-10-28 18:42:14 +00:00
renovate[bot]
bac7fb6c32
Update dependency rollup to v4.24.2
2024-10-28 17:23:07 +00:00
grafana-pr-automation[bot]
39d0db05f3
I18n: Download translations from Crowdin ( #95484 )
2024-10-28 19:21:21 +02:00
Eric Leijonmarck
32c43f3f06
Chore: Add to gitignore ( #95509 )
...
Add to gitignore
2024-10-28 16:50:24 +00:00
Isabel Matwawana
b2b169c666
Docs: Update ad hoc filters docs ( #94828 )
2024-10-28 12:42:55 -04:00
Matias Chomicki
d6efd6d606
Logs Panel: Added support to pass custom options to the log rows menu ( #95330 )
...
* LogsPanel: add props to prepend or append icons to the log row menu
* LogsPanel: add test and type guard
* LogsPanel: add test
* Fix addonBefore position
* Refactor to be an array of ReactNode
* Remove comment
* chore: add docs
* Linting issues
2024-10-28 17:39:12 +01:00
renovate[bot]
d68b5d222a
Update dependency react-select to v5.8.2
2024-10-28 16:38:06 +00:00
Erik Sundell
8f0c8778b4
E2E Selectors: Remove orphan comment ( #95505 )
...
remove comments
2024-10-28 18:14:47 +02:00
renovate[bot]
abee323789
Update dependency nanoid to v5.0.8
2024-10-28 15:43:17 +00:00
Todd Treece
5533b30135
K8s: Add validation support to builder ( #95502 )
2024-10-28 11:40:25 -04:00
Karl Persson
e0163c93c2
Zanzana: reconcile generic schema ( #95492 )
...
* Rename to CheckObject
* Implement authz.AccessClient
* Move folder tree to reconciler and use new schema
* Move shared functionality to common package
* Add reconciler for managed permissions and resource translations
* Add support for folder resources
2024-10-28 16:32:16 +01:00
Esteban Beltran
7b5c84f366
Docs: Clarify plugin frontend sandbox ( #95501 )
...
Add missing message for sandbox docs
2024-10-28 15:29:57 +00:00
renovate[bot]
865be67dd1
Update dependency eslint-plugin-jsx-a11y to v6.10.2
2024-10-28 15:20:29 +00:00
Alex Khomenko
ba2d004161
Routing: Enforce imports from the compat package ( #95499 )
2024-10-28 17:18:49 +02:00
jackyin
6f888720de
Alert: unexpected error log occur ( #95491 )
2024-10-28 15:34:07 +01:00
renovate[bot]
209dbcf894
Update dependency @playwright/test to v1.48.2
2024-10-28 14:23:31 +00:00
Esteban Beltran
c7cdaedd6f
Docs: Add documentation about the frontend sandbox ( #95467 )
...
* Docs: Add documentation about the frontend sandbox
* Clarify
* minor style fix
* fix list style
* Update docs/sources/administration/plugin-management/index.md
Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com >
* Update docs/sources/administration/plugin-management/index.md
Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com >
* Add grafana version required for the plugin frontend sandbox
---------
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com >
Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com >
2024-10-28 14:20:54 +00:00
Ashley Harrison
55673e2f41
Chore: Add emotion object syntax rule to eslint ( #95429 )
...
add object syntax rule to eslint
2024-10-28 13:47:46 +00:00
maicon
f6a5e03bfb
UniStore: Add testcase for trimming folder title ( #95405 )
...
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2024-10-28 10:24:28 -03:00
Jack Baldry
47b8379194
Replace myself with Irene who oversees Grafana documentation ( #95477 )
...
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com >
2024-10-28 13:15:42 +00:00
Tobias Skarhed
c9984cbb7a
Frontend Traces: Ignore Faro tracking of Google Analytics and Rudderstack ( #95322 )
...
* Ignore Faro tracking of Google Analytics and Rudderstack
* Fix test
* Fancy it up Tom style
2024-10-28 13:44:52 +01:00
Gabriel MABILLE
5a0ef46280
Add tracing to the gRPC Authentication flow ( #94466 )
...
commit ad4df4b3f63bdf3e16423ac8c3fdb1a7fae5582e
Author: gamab <gabriel.mabille@grafana.com >
Date: Thu Oct 24 10:24:04 2024 +0200
nit
commit eb8b9cf2f3e27cae258b3ae310f1584da5ba36b5
Author: gamab <gabriel.mabille@grafana.com >
Date: Thu Oct 24 10:23:25 2024 +0200
miss
commit aab1aed204a5dedcc6dd187b2f636995bbe2c5c6
Merge: 5aafdec9233 7fe710b141
Author: gamab <gabriel.mabille@grafana.com >
Date: Thu Oct 24 10:22:05 2024 +0200
Merge remote-tracking branch 'origin/main' into gamab/resourcestore/tracing
commit 5aafdec9233d6824cba977b069d71eabc3d21a8d
Author: gamab <gabriel.mabille@grafana.com >
Date: Wed Oct 16 18:03:56 2024 +0200
Did not fix the issue
commit 20522a7f64222fad27268ac640d4b4fb9259c748
Author: gamab <gabriel.mabille@grafana.com >
Date: Wed Oct 16 17:42:35 2024 +0200
Test
commit b45199a341b6a57e93927c9eb7de8d7758ed7619
Merge: c0fbbdb95d4 e9e2b11ba2
Author: gamab <gabriel.mabille@grafana.com >
Date: Wed Oct 16 17:31:59 2024 +0200
Merge remote-tracking branch 'origin/drclau/unistor/replace-authenticators-3' into gamab/resourcestore/tracing
commit e9e2b11ba2
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Wed Oct 16 18:28:31 2024 +0300
PR feedback: simplified fallback implementation
Co-Authored-By: Gabriel MABILLE <gamab@users.noreply.github.com >
commit b5209dba64
Author: Claudiu Dragalina-Paraipan <drclau@users.noreply.github.com >
Date: Wed Oct 16 18:03:06 2024 +0300
Update pkg/services/authn/grpcutils/grpc_authenticator.go
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
commit c0fbbdb95d4605f349b902ca8698e7b560433867
Author: gamab <gabriel.mabille@grafana.com >
Date: Wed Oct 16 10:32:52 2024 +0200
Add traces to fallback
commit 75aa8dcbd49288f1dca53cdf6e9a7b41688dff38
Merge: d92fafcaf0d 562d499e85
Author: gamab <gabriel.mabille@grafana.com >
Date: Wed Oct 16 10:29:41 2024 +0200
Merge remote-tracking branch 'origin/drclau/unistor/replace-authenticators-3' into gamab/resourcestore/tracing
commit 562d499e85
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Wed Oct 16 11:05:01 2024 +0300
switched to features.IsEnabledGlobally()
commit addc6aaca4
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Wed Oct 16 10:21:31 2024 +0300
imports cleanup
commit 7c6d80f6aa
Merge: 64a5e55d61 9dc2ccdbfd
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Wed Oct 16 10:18:54 2024 +0300
Merge branch 'main' into drclau/unistor/replace-authenticators-3
commit 64a5e55d61
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Tue Oct 15 11:01:54 2024 +0300
cleanup
commit 4fe2c03457
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Tue Oct 15 10:31:06 2024 +0300
always enable FlagAppPlatformGrpcClientAuth for k8s int tests
commit c7e36759cd
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Tue Oct 15 10:30:43 2024 +0300
use sync.Once as it's more idiomatic
commit f5c2c79981
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Mon Oct 14 20:43:48 2024 +0300
remove client side namespace extractor
commit 742295c89a
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Mon Oct 14 20:04:11 2024 +0300
avoid double registration of metrics (fallbackCounter)
commit a45998c8d3
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Mon Oct 14 19:03:41 2024 +0300
use FlagAppPlatformGrpcClientAuth to enable new behavior, instead of legacy
commit ffdc301718
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Mon Oct 14 18:37:22 2024 +0300
remove the NamespaceAuthorizer
The NamespaceAuthorizer would fail in legacy mode. It will be added back in the future.
commit 4a03ed7d7d
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Mon Oct 14 15:59:08 2024 +0300
allow using the legacy resource client via
commit a2c30f5328
Merge: ead390f608 2f3c539d9b
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Mon Oct 14 14:08:32 2024 +0300
Merge branch 'main' into drclau/unistor/replace-authenticators-3
commit ead390f608
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Fri Oct 11 09:38:49 2024 +0300
added server side gRPC authn fallback-to-legacy mechanism
- brought back the old gRPC authenticator
- added `grpc_server_authentication.legacy_fallback` config option
- introduced `AuthenticatorWithFallback`
- added telemetry to track fallbacks
commit d92fafcaf0db9c8d97a5d071759fc21ede7d8848
Author: gamab <gabriel.mabille@grafana.com >
Date: Wed Oct 9 14:58:25 2024 +0200
Fix test
commit 54f05ff0fecf3d696a0e98621db6991282503917
Author: gamab <gabriel.mabille@grafana.com >
Date: Wed Oct 9 14:42:18 2024 +0200
Forgot the tracer 😁
commit 3948048880c7a0eb2360a35b0cc9f3686f2edfef
Author: gamab <gabriel.mabille@grafana.com >
Date: Wed Oct 9 14:02:41 2024 +0200
Add traces to NamespaceAuthorizer
commit cc695bb77c37a097174556303721fbc48b9464a0
Author: gamab <gabriel.mabille@grafana.com >
Date: Wed Oct 9 13:56:48 2024 +0200
Add traces to authentication flow
commit 8686c46be5
Merge: 08c3d237dc 4a3ce66193
Author: gamab <gabriel.mabille@grafana.com >
Date: Wed Oct 9 13:56:26 2024 +0200
Merge remote-tracking branch 'origin/main' into drclau/unistor/replace-authenticators-3
commit 08c3d237dc
Merge: 33fd104cfd 84d580179d
Author: gamab <gabriel.mabille@grafana.com >
Date: Wed Oct 9 12:41:57 2024 +0200
Merge remote-tracking branch 'origin/main' into drclau/unistor/replace-authenticators-3
commit 33fd104cfd
Merge: 68af25fbc3 38f57d270a
Author: gamab <gabriel.mabille@grafana.com >
Date: Wed Oct 9 12:13:25 2024 +0200
Merge remote-tracking branch 'origin/main' into drclau/unistor/replace-authenticators-3
commit 68af25fbc3
Author: Gabriel MABILLE <gamab@users.noreply.github.com >
Date: Mon Oct 7 16:31:09 2024 +0200
Update pkg/services/authz/config.go
commit 4fba5c9b32
Author: gamab <gabriel.mabille@grafana.com >
Date: Fri Oct 4 15:17:41 2024 +0200
PR Feedback
commit 86867a14ca
Author: Gabriel MABILLE <gamab@users.noreply.github.com >
Date: Fri Oct 4 15:13:06 2024 +0200
Update pkg/services/authn/grpcutils/config.go
Co-authored-by: Dan Cech <dcech@grafana.com >
commit c591631135
Merge: c80c46ca6a e37b43117b
Author: gamab <gabriel.mabille@grafana.com >
Date: Fri Oct 4 13:07:48 2024 +0200
Merge remote-tracking branch 'origin/main' into drclau/unistor/replace-authenticators-3
commit c80c46ca6a
Merge: 3acada9d47 4224d05934
Author: gamab <gabriel.mabille@grafana.com >
Date: Thu Oct 3 14:58:51 2024 +0200
Merge remote-tracking branch 'origin/main' into drclau/unistor/replace-authenticators-3
commit 3acada9d47
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Fri Sep 27 17:39:59 2024 +0300
introducing `mode` config for gRPC auth server & client side
commit 914ca237e2
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Thu Sep 26 20:47:57 2024 +0300
Fixed integration tests
commit 71c33dcbe3
Merge: 52f248eebb 920d79680d
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Thu Sep 26 19:25:33 2024 +0300
Merge branch 'main' into drclau/unistor/replace-authenticators-3
commit 52f248eebb
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Tue Sep 24 18:44:38 2024 +0300
updated namespace extractor usage
commit a6c977ba4d
Merge: fb7bbf743b 8da1d78c92
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Tue Sep 24 17:35:03 2024 +0300
Merge branch 'main' into drclau/unistor/replace-authenticators-3
commit fb7bbf743b
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Tue Sep 24 17:34:36 2024 +0300
unistor client side updates
commit a28440c40b
Merge: 79d9969aa8 a8b07b0c81
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Tue Sep 24 10:45:09 2024 +0300
Merge branch 'main' into drclau/unistor/replace-authenticators-3
commit 79d9969aa8
Author: gamab <gabriel.mabille@grafana.com >
Date: Mon Sep 9 16:14:02 2024 +0200
Rename NewResourceClient funcs
commit 36b3752490
Merge: 8ce354bb06 b89f3f8115
Author: gamab <gabriel.mabille@grafana.com >
Date: Mon Sep 9 16:00:54 2024 +0200
Merge remote-tracking branch 'origin/main' into drclau/unistor/replace-authenticators-3
commit 8ce354bb06
Author: gamab <gabriel.mabille@grafana.com >
Date: Mon Sep 9 10:40:06 2024 +0200
Align
commit bdf79f3b2f
Merge: 8f4df8973d 8eb7e55f8f
Author: gamab <gabriel.mabille@grafana.com >
Date: Mon Sep 9 10:38:45 2024 +0200
Merge remote-tracking branch 'origin/main' into drclau/unistor/replace-authenticators-3
commit 8f4df8973d
Merge: 2441cd8d53 9338e40dc3
Author: gamab <gabriel.mabille@grafana.com >
Date: Thu Sep 5 11:26:39 2024 +0200
Merge remote-tracking branch 'origin/main' into drclau/unistor/replace-authenticators-3
commit 2441cd8d53
Merge: 2904074a2f 2bbce8a7f7
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Tue Sep 3 17:31:36 2024 +0300
Merge branch 'main' into drclau/unistor/replace-authenticators-3
commit 2904074a2f
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Tue Sep 3 16:35:25 2024 +0300
refactoring
Co-Authored-By: Gabriel MABILLE <gamab@users.noreply.github.com >
commit 125cb3c834
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Tue Sep 3 16:34:18 2024 +0300
refactoring (aesthetics)
Co-Authored-By: Gabriel MABILLE <gamab@users.noreply.github.com >
commit 499a31df53
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Tue Sep 3 15:59:09 2024 +0300
update usage of ReadGprcServerConfig()
commit f5d383644d
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Tue Sep 3 15:44:09 2024 +0300
make update-workspace
commit 755485751e
Author: gamab <gabriel.mabille@grafana.com >
Date: Tue Sep 3 14:43:22 2024 +0200
Fix trace
commit d09e14c26a
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Tue Sep 3 15:42:50 2024 +0300
removed WithIDTokenExtractorOption, and other PR feedback
commit 21220c2cca
Author: gamab <gabriel.mabille@grafana.com >
Date: Tue Sep 3 14:36:59 2024 +0200
Else statement
commit 6cf1efdcc4
Author: gamab <gabriel.mabille@grafana.com >
Date: Tue Sep 3 14:35:02 2024 +0200
Mod update
commit 4b73a93883
Author: gamab <gabriel.mabille@grafana.com >
Date: Tue Sep 3 14:32:20 2024 +0200
Add Auth func overrides
commit 6032ab3ae1
Author: gamab <gabriel.mabille@grafana.com >
Date: Tue Sep 3 14:26:18 2024 +0200
Use NamespaceAuthorizer
commit 601beb5327
Author: gamab <gabriel.mabille@grafana.com >
Date: Tue Sep 3 14:20:47 2024 +0200
Update authlib
commit a1b6408127
Merge: 0d70225c1a 1128c417d8
Author: gamab <gabriel.mabille@grafana.com >
Date: Tue Sep 3 14:18:49 2024 +0200
Merge remote-tracking branch 'origin/main' into drclau/unistor/replace-authenticators-3
commit 0d70225c1a
Author: Claudiu Dragalina-Paraipan <drclau@users.noreply.github.com >
Date: Tue Sep 3 15:15:54 2024 +0300
Update pkg/services/authn/grpcutils/grpc_authenticator.go
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
commit 62f165f6f9
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Tue Sep 3 10:55:45 2024 +0300
refactoring NamespaceAccessChecker usage and use CloudNamespaceFormatter in Cloud
Co-Authored-By: Gabriel MABILLE <gamab@users.noreply.github.com >
commit bb5ee88d4f
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Tue Sep 3 10:39:11 2024 +0300
added stackIdExtractor for cloud mode
Co-Authored-By: Gabriel MABILLE <gamab@users.noreply.github.com >
commit 84866a8a51
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Tue Sep 3 10:38:19 2024 +0300
authz client cfg changes
- removed ModeCloud, relying on ModeGrpc and stackID instead to discover if we're running in Cloud
- reusing settings from "grpc_client_authentication", instead of duplicating in "authorization" section
Co-Authored-By: Gabriel MABILLE <gamab@users.noreply.github.com >
commit 14a1021605
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Mon Sep 2 21:44:35 2024 +0300
make update-workspace
commit 84f8c9be94
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Mon Sep 2 21:36:10 2024 +0300
cleanup: refactoring leftover
commit 7fe8d62304
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Mon Sep 2 19:30:51 2024 +0300
update authlib version (small fix)
commit 7c2353ae25
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Mon Sep 2 19:17:11 2024 +0300
cleanup: remove unused `GrpcServerConfig.Mode`
commit 52b7cf8550
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Mon Sep 2 19:06:59 2024 +0300
make update-workspace
commit 14ddfbd8fb
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Mon Sep 2 19:02:40 2024 +0300
finalize authlib grpc interceptors usage
commit 884c4a8c24
Merge: 0fd1988bed a1190b165b
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Mon Sep 2 19:00:07 2024 +0300
Merge branch 'main' into drclau/unistor/replace-authenticators-3
commit 0fd1988bed
Merge: b766bfb24f e0950a1283
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Fri Aug 30 10:45:51 2024 +0300
Merge branch 'main' into drclau/unistor/replace-authenticators-3
commit b766bfb24f
Merge: 6993f108a2 68751ed310
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Wed Aug 28 15:46:04 2024 +0300
Merge branch 'main' into drclau/unistor/replace-authenticators-3
commit 6993f108a2
Merge: 5f073b04d0 f1ba609b34
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Tue Aug 27 12:51:07 2024 +0300
Merge branch 'main' into drclau/unistor/replace-authenticators-3
commit 5f073b04d0
Merge: 0620891d45 ac5ebe6e4d
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Mon Aug 19 21:09:44 2024 +0300
Merge branch 'main' into drclau/unistor/replace-authenticators-3
commit 0620891d45
Merge: 6a272e8e2a 15f2b08f00
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Mon Aug 12 14:14:44 2024 +0300
Merge branch 'main' into drclau/unistor/replace-authenticators-3
commit 6a272e8e2a
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Thu Aug 8 18:53:43 2024 +0300
allow insecure conns in dev mode + refactoring
commit 31c7b030ba
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Thu Aug 8 10:31:13 2024 +0300
allow insecure connections (for testing purposes); remove audience checks
audience checks will still need to be done for Access tokens, but not for ID tokens
commit 0fdd2ff802
Merge: 763961210c f384759ad1
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Wed Aug 7 14:42:39 2024 +0300
Merge branch 'main' into drclau/unistor/replace-authenticators-3
commit 763961210c
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Fri Aug 2 18:54:29 2024 +0300
wip
commit c46b42a595
Merge: 92aba937a9 0145b0fe70
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Fri Aug 2 14:44:06 2024 +0300
Merge branch 'main' into drclau/unistor/replace-authenticators-3
commit 92aba937a9
Author: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Date: Thu Aug 1 18:32:19 2024 +0300
authn: client side updates
Co-Authored-By: Gabriel MABILLE <gamab@users.noreply.github.com >
2024-10-28 14:35:30 +02:00
Misi
fedcf47702
User: Check SignedInUser OrgID in RevokeInvite ( #95476 )
...
Check SignedInUser OrgID in RevokeInvite
2024-10-28 13:20:17 +01:00
Arati R.
4a13580a2f
K8s/Folders: Fix folder status error message ( #95464 )
...
* Fix folder status error message
* Add test for folder creation response message
* Add TestFoldersCreateAPIEndpointK8S fixes
* Fix message returned when user has no permissions
2024-10-28 12:33:56 +01:00
Matheus Macabu
69f185b459
CloudMigrations: handle provisioned data source error ( #95473 )
2024-10-28 12:02:46 +01:00
Tobias Skarhed
187111368a
Frontend Monitoring: Only write to custom Faro endpoint if origins are the same in iframe ( #95381 )
...
* Only enable Faro if origins are the same in iframe
* Handle non-iframe case
* Remove console logs
* Use try catch to identify cross origin iframe
* Only disable transport
2024-10-28 11:48:44 +01:00
grafana-pr-automation[bot]
712974b26c
I18n: Download translations from Crowdin ( #95427 )
2024-10-28 12:21:22 +02:00
Leonor Oliveira
5cf86c981f
Test Folder's GetAuthorizer ( #95266 )
...
* WIP: setup to test folders GetAuthorizer
* Setup test
* Extract authorizer fn for tests
* Setup internal test fn
* Better define test inputs
* Add FolderAPI builder to the test
* First test passing
* Test getAuthorize for the create method
* Change authorizerFunc's signature
* [REVIEW] code readability
* Name error
* [REVIEW] add one more test case. Lint
* Remove empty line
2024-10-28 12:00:19 +02:00
Jay
4a4ad66210
Update _index.md ( #95460 )
...
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com >
2024-10-28 09:57:56 +00:00
Jo
ed1ad34f9b
ServiceAccounts: Allow use of UIDs for Service Account routes ( #95401 )
2024-10-28 10:49:48 +01:00
Jay
39d53e65a7
Update _index.md ( #95461 )
...
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com >
2024-10-28 09:23:12 +00:00
Alex Khomenko
16b9cf07f4
Dashboards: Fix home dashboard loading ( #95376 )
...
Dashboards: Fix home dashboard load
2024-10-28 09:19:59 +02:00
Dave Henderson
0880329796
ci(trivy): Use non-default DB registry to avoid rate limits ( #95434 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-10-25 22:12:41 +03:00
Dana Axinte
fd99b82f78
Cloud migrations: Add cloud migration to auditing docs ( #95148 )
...
* add cloud migration management
* use feature toggle note
* just annotation
* Update docs/sources/setup-grafana/configure-security/audit-grafana.md
* Updates from prettier
---------
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com >
Co-authored-by: Kim Nylander <kim.nylander@grafana.com >
2024-10-25 16:48:45 +01:00
Tom Ratcliffe
b0e116c5fa
Alerting: Fix template editing issues for contact points ( #95387 )
2024-10-25 16:41:25 +01:00
Matheus Macabu
b2de69d741
CloudMigrations: create snapshot for Alert Rules ( #95404 )
...
* CloudMigrations: create snapshot for Alert Rules
* CloudMigrations: display Alert Rules in resource list summary
2024-10-25 17:20:05 +02:00
Kim Nylander
6f4a9eb07b
[DOC] Add link to blog post for Explore apps ( #95418 )
...
* Add link to blog post for Explore apps
* Updates from prettier
2024-10-25 10:54:57 -04:00
Kevin Minehart
4e6a7121ed
CI: Consolidate package and docker steps ( #95375 )
...
* Consolidate package and docker steps
* load docker images (if there are any); fix tag-format casing
* I guess e2e tests use pkg/build...
* lint starlark
2024-10-25 09:25:29 -05:00
Eric Leijonmarck
cc1976693b
LBAC for datasources: Docs update HTTP API ( #95392 )
2024-10-25 15:20:36 +01:00
Ashley Harrison
94bbc081c8
Chore: Finish converting emotion styles to object syntax ( #95399 )
...
* convert some emotion styles to object syntax
* convert more styles to object syntax
* fix placeholder content
2024-10-25 14:50:28 +01:00
Gabriel MABILLE
2788817107
AuthZ: Implement Check ( #95162 )
...
* AuthZ: Implement Check
---------
Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com >
2024-10-25 14:57:39 +02:00
Bogdan Matei
97c0ff2ae4
Dashboards: Reload the dashboard based on time range and filters changes ( #94190 )
2024-10-25 15:56:54 +03:00
Laura Fernández
bdab0bc8c0
SingleTopNav: Add kiosk mode tracking events ( #95397 )
2024-10-25 14:40:34 +02:00
Andreas Christou
fd4fc106d9
Azure: Improve handling of deprecated query types ( #95363 )
...
* Add logic for handling deprecated query types
* Test
* Improve documentation
2024-10-25 13:25:00 +01:00
Karl Persson
bdbe12e980
Zanzana: Implement initial check and list with schema for generic resources ( #95056 )
...
* Implement initial check with schema for generic resources
* Implement List and add tests
* Add namespace type and change to folder_resource name
* Handle namespace grants for typed resources
* Run tests as integration tests
* Add support for verb in list requests
2024-10-25 14:19:11 +02:00
Jack Westbrook
e894b19c1a
Build: Fix failing CSS asset paths ( #95380 )
...
* build(webpack): set publicpath and process urls to resolve assets correctly
* build(webpack): add back --progress to build
* Add local cdn
(cherry picked from commit 7a19523fa476fd5ff2d7669d116f5be462b100f5)
* chore(devenv): fix local_cdn path in ngnix conf
* chore(codeowners): add frontend-ops as owners of local_cdn docker block
---------
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
2024-10-25 13:45:44 +02:00
Ashley Harrison
d0e124e2f9
Playlists: don't show TV mode in singleTopNav ( #95339 )
...
don't show TV mode in singleTopNav
2024-10-25 11:09:05 +01:00
Ashley Harrison
d1a00540dd
SingleTopNav: Ignore searchBarHidden/kiosk=tv flags ( #95344 )
...
ignore searchBarHidden/kiosk=tv flags
2024-10-25 10:46:40 +01:00
Bogdan Matei
69f888e296
Scopes: Fix rendering of the scopes list for large chunk of items ( #95327 )
...
* Scopes: Fix rendering of the scopes list for large chunk of items
* Fix outline for overflow
* Fix outline for overflow
2024-10-25 12:27:30 +03:00
Eric Leijonmarck
b1e1297bb3
LBAC for datasources: Move validation of rules from datasources to LBAC Rules ( #94622 )
...
* FIX: Remove the checks for lbac rules inside of datasources
* Remove json validation for lbac rules
* Preserve lbac rules in updates
* Refactored test to remove the table structure
* refactor: change to allow naming and concise override instead of complex branching
* refactor to make sure we set an empty field for updates
* bugfix
* check for datasources.JsonData
* fix merge
* add datasource to check for field presence only
* add function call for readability
2024-10-25 10:07:53 +01:00
Matias Chomicki
226dcdde0f
Query splitting: limit retries ( #95364 )
2024-10-25 11:53:03 +03:00
Tobias Skarhed
5ee5c7af7b
Combobox: Invalidate async calls using counter instead of value ( #95049 )
...
* Combobox async: Invalidate using timestamp instead of value
* Simulate keyboard delay in test
* Use a counter instead of timestamps
* Fix feedback
* Expand tests to include case discussed on PR
---------
Co-authored-by: Joao Silva <joao.silva@grafana.com >
2024-10-25 10:10:02 +02:00
Karl Persson
beaac3c885
Zanzana: Remove model and store initiation from client ( #95328 )
...
* Remove model and store initiation from client
2024-10-25 09:31:27 +02:00
maicon
f5ed2f52f7
UniStore: expand nested folders testing ( #95374 )
...
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2024-10-24 19:54:33 -03:00
Kevin Minehart
67b3848fd9
CI: Remove drone steps for building windows because it's done in grafana-… ( #95373 )
...
Remove drone steps for building windows because it's done in grafana-build now
2024-10-24 17:04:25 -05:00
owensmallwood
5e3e7cca0e
Search PoC: Adds traces to indexer ( #95372 )
...
* adds traces to indexer
* fix linting errors
2024-10-25 00:05:33 +03:00
owensmallwood
ecebaf1bdf
Unified Storage: Add traces to poller ( #95369 )
...
add traces to poller
2024-10-24 22:49:38 +03:00
Yuri Tseretyan
2deced7d40
Alerting: Notifications Routes API ( #91550 )
...
* Introduce new models RoutingTree, RouteDefaults and Route and api-server to serve them that is backed by provisioning notification policy service.
* update method UpdatePolicyTree of notification policy service to return route and new version
* declare new actions alert.notifications.routes:read and alert.notifications.routes:write and two corresponding fixed roles.
---------
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com >
2024-10-24 13:53:03 -04:00
Jev Forsberg
fb0221d561
Chore: Delegate codeowners responsibilities to @grafana/grafana-developer-enablement-squad ( #95362 )
...
* baldm0mma/update_codeowners/ update go.mod
* baldm0mma/update_codeowners/ update codeowners
* baldm0mma/update_codeowners/ update go.mod
2024-10-24 19:49:48 +03:00
grafana-pr-automation[bot]
0d272a3b9c
I18n: Download translations from Crowdin ( #95334 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-24 19:20:32 +03:00
Syerikjan Kh
2f965a07ab
Ref: datasource picker rudderstack events ( #95074 )
...
* ref: ds picker events added
* ref: track opendropdown only on click
* ref: update/update all payload added to the event
* ref: configure more ds button event path to from path
* ref: result count fix, enable/disable track
* ref: debounce search tracks
* ref: track connections_plugin_card_clicked
* ref: call tracking from the child comp with result count
* ref: change event names, add creator_team and schema version
2024-10-24 12:03:17 -04:00
Sarah Zinger
59f5c1edfb
Query Service: Add trace ids to logs in expressions ( #95203 )
2024-10-24 12:01:14 -04:00
Misi
b8b7c7901c
Auth: Increase name_id and session_id length to 1024 in user_external_session ( #95352 )
...
Increase name_id and session_id length to 1024
2024-10-24 17:14:38 +02:00
Diego Augusto Molina
257aca5340
Unistore Chore: Fix span name ( #94965 )
...
fix span name
2024-10-24 12:12:20 -03:00
maicon
f379329127
UniStore: add FoldersCreate Endpoint test ( #95253 )
...
* UniStore: add FoldersCreate Endpoint test
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2024-10-24 12:04:32 -03:00
Jacob Valdez
0c73403e00
Docs: initial pruning of outdated versioning info ( #95212 )
...
* initial pruning of outdated versioning info
* removing erroneous file
2024-10-24 09:42:04 -05:00
Erik Sundell
967b9ed22c
E2E: Fix broken selector ( #95357 )
...
fix broken selector
2024-10-24 17:36:53 +03:00
Josh Hunt
0b842eb48e
Chore: Change filterTable nth-child to nth-of-type ( #95331 )
...
Chore: Change filterTable nth-child styles to fix console warning
2024-10-24 17:27:25 +03:00
Sonia Aguilar
f5bd197cdb
Alerting: Move logic for simple mode in QueryAndExpressionsStep to a separate hook ( #94709 )
...
* Move logic for simple mode in QueryAndExpressionsStep to a separate hook and add tests
* remove unnecessary jest.clearAllMocks
2024-10-24 16:26:46 +02:00
Ashley Harrison
5fb1c7f512
Card: Set an explicit displayName for Card ( #95353 )
...
set an explicit displayName for Card
2024-10-24 17:18:05 +03:00
Kazuho Cryer-Shinozuka
06e826d3af
Alerting: Fix the unnecessary FolderCreationModal that is displayed twice ( #94654 )
2024-10-24 16:12:52 +02:00
Levente Balogh
d0d0d86880
Extensions: Add base log labels to console warn and error logs ( #95348 )
...
feat: add base labels to console logs
2024-10-24 16:58:54 +03:00
Matheus Macabu
152b83b3fb
CloudMigrations: handle more error codes from GMS backend ( #95257 )
...
* CloudMigrations: remove unnecessary if feature toggle gating
* CloudMigrations: handle new error codes from backend
2024-10-24 15:55:02 +02:00
Esteban Beltran
77b8b505ad
Catalog: Allow extensions to render in the plugin catalog subtitle ( #95239 )
...
* Plugins Catalog: Allow plugin subtitle additional extensions to register and render
* Add tests
* Fix prettier issues
* Fix typo
* Empty commit
2024-10-24 15:44:50 +02:00
Andreas Christou
2a65de8aaa
Azure Monitor: Limit the log rows to 30000 ( #93901 )
...
* Limit the amount of rows to 30000
* Lint
* Remove unneeded goldenframe check
* Add feature toggle
* Update toggles
* Use rowLimit variable
2024-10-24 16:32:09 +03:00
Erik Sundell
ef253c99d8
Plugin extensions: Temp remove isReactComponent check ( #95343 )
...
* temp remove is react component check
* remove unused import
2024-10-24 16:21:00 +03:00
Tom Ratcliffe
9ec48075ee
Alerting: Fix escaping of silence matchers in utf8 mode ( #95067 )
...
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2024-10-24 14:12:09 +01:00
Gilles De Mey
c42f42223a
Alerting: New alert state list view ( #94068 )
2024-10-24 15:37:42 +03:00
Alex Khomenko
f671ad51fe
Alerting: Update Alert State History router import ( #95218 )
...
Update import
2024-10-24 14:27:54 +02:00
Ashley Harrison
5cb4be8c9b
SingleTopNav: Use original kiosk mode icon ( #95332 )
...
change kiosk mode icon, put profile icon back in corner
2024-10-24 14:24:28 +03:00
Ihor Yeromin
762c7dc3a5
Transformation: Fix label width ( #95159 )
...
fix label width
2024-10-24 13:11:52 +02:00
Will Browne
9ae3d049a3
Plugins: Simplify TestExtractFiles test ( #95183 )
...
simplify TestExtractFiles test
2024-10-24 12:01:00 +01:00
Will Browne
a2868fdb14
Plugins: Replace references of plugin SDK backend.Logger with Grafana logger ( #95235 )
...
replace references
2024-10-24 12:00:40 +01:00
Yulia Shanyrova
26fab52086
Plugins: Plugin details right panel improvements ( #93982 )
...
* Add installed and latest version information
* get latest changelog for changelog tab from gcom
* fix displaying signature type
* fix integration test
* add translations
* remove gcom request at local changelog method
2024-10-24 12:55:29 +02:00
Erik Sundell
37f82dab49
Docs: Improve readme about e2e selectors ( #95326 )
...
add one more bulletpoint
2024-10-24 12:30:28 +02:00
Ashley Harrison
4a9ba41f81
Switch: Improve screen reader behaviour ( #95178 )
...
* add role="switch" and only set a label if one is passed in
* fix unit tests
* fix more unit tests
2024-10-24 11:26:04 +01:00
Matias Chomicki
142797032b
Logs Volume: update timeout message ( #95277 )
...
* Logs Volume: update timeout message
* SupplementaryResultError: add list styles
* Address lint issues
* Update public/app/features/explore/Logs/LogsVolumePanelList.tsx
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
---------
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
2024-10-24 13:15:52 +03:00
Marcus Efraimsson
5c9071a6c6
Chore: Update SDK to v0.258.0 ( #95325 )
2024-10-24 12:14:19 +02:00
Erik Sundell
b0250cf027
Release: Install git in npm release step ( #95324 )
...
install git
2024-10-24 13:07:07 +03:00
Torkel Ödegaard
3523289e98
Dashboards: Fixes performance issue expanding a row ( #95311 )
...
* DashboardScene: Optimize change detection
* Remove arg
* remove console log
2024-10-24 11:05:13 +02:00
Lucas Reyna Córdoba
5fc07abef1
Docs: Contact page migration - updates contact links ( #94012 )
2024-10-24 10:43:18 +02:00
Erik Sundell
58f180d58b
E2E Selectors: Add minimum Grafana version to selectors ( #93468 )
...
* make selectors versioned
* update readme
2024-10-24 10:28:21 +02:00
Joey
5a9de531d2
Tempo: Support new TraceQL scopes ( #94858 )
...
* Support new TraceQL scopes
* Update TraceQL lezer version
2024-10-24 09:17:40 +01:00
Alex Khomenko
7fe710b141
Routing: Update AppRootPage ( #95052 )
...
* Update router
* Fix rendering case
* Switch useLocation
* Remove redundant await
2024-10-24 10:50:48 +03:00
Hugo Kiyodi Oshiro
2d27703955
Plugins: Disable plugin uninstall while plugin is installing ( #95070 )
2024-10-24 09:38:38 +02:00
Claudiu Dragalina-Paraipan
830600dab0
AuthN: Optionally use tokens for unified storage client authentication ( #91665 )
...
* extracted in-proc mode to #93124
* allow insecure conns in dev mode + refactoring
* removed ModeCloud, relying on ModeGrpc and stackID instead to discover if we're running in Cloud
* remove the NamespaceAuthorizer would fail in legacy mode. It will be added back in the future.
* use FlagAppPlatformGrpcClientAuth to enable new behavior, instead of legacy
* extracted authz package changes in #95120
* extracted server side changes in #95086
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
Co-authored-by: gamab <gabriel.mabille@grafana.com >
Co-authored-by: Dan Cech <dcech@grafana.com >
2024-10-24 09:12:37 +02:00
Leon Sorokin
f7fcc14f69
Transformations: Add field from calc - avoid frame joining in some cases ( #93602 )
...
* Transformations: Add field from calc - avoid frame joining in some cases
* Add test for multiple query, 1 field, replace all
* omit frames that had no binary ops performed on them
---------
Co-authored-by: drew08t <drew08@gmail.com >
2024-10-23 15:14:06 -07:00
owensmallwood
2ffb88b0ee
Unified Storage: Add index for poller query ( #95293 )
...
add index for poller query
2024-10-23 15:40:56 -06:00
Aaron Godin
d89235aa8c
IAM: fix GetSearchPermissionCacheKey uniqueness ( #95192 )
...
* fix: Change users permissions search to use a consistent key without collisions
* Move HashString to cacheutils
* Change error handling logic for what to do with a cache key
* Add a test that confirms search cache key consistency
2024-10-23 15:37:30 -05:00
Kevin Minehart
66c728d26b
CI: use linux to build msi installers ( #95215 )
...
* Build the MSI installers using Linux and wine
2024-10-23 22:26:52 +03:00
Isabel Matwawana
c84b6b783c
Docs: Fix shared file references ( #95287 )
2024-10-23 15:04:24 -04:00
Isabel Matwawana
aa0dc36143
Docs: Table visualization update ( #94495 )
...
Co-authored-by: Adela Almasan <88068998+adela-almasan@users.noreply.github.com >
2024-10-23 14:33:12 -04:00
Isabel Matwawana
a0ae08d774
Docs: Add correlations youtube link to What's new ( #95279 )
2024-10-23 14:26:32 -04:00
Marcus Efraimsson
8780fc554f
Chore: Update SDK to v0.257.0 ( #95250 )
2024-10-23 17:49:12 +02:00
renovate[bot]
23aca476c9
Update scenes to v5.20.4
2024-10-23 15:27:35 +00:00
renovate[bot]
7359e0bcba
Update dependency html-webpack-plugin to v5.6.3
2024-10-23 14:43:01 +00:00
Ashley Harrison
b23b6d228a
Chore: Convert styles to use emotion object syntax ( #94989 )
...
* convert to use emotion object syntax
* missed one
* review comments
* set back to 0 and disable lint rule
2024-10-23 15:25:28 +01:00
renovate[bot]
3f47621065
Update dependency eslint-plugin-react to v7.37.2
2024-10-23 14:21:14 +00:00
ismail simsek
78a00d09cd
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
2024-10-23 16:16:00 +02:00
Andre Pereira
0872eb2791
Tempo: Return a not found error if the trace is empty from v2 ( #95256 )
...
Return a not found error if the trace is empty from v2
2024-10-23 15:14:40 +01:00
Juan Cabanas
15de8a5433
SharedDashboard: Fix refresh when time picker is hidden ( #95258 )
2024-10-23 11:08:28 -03:00
ismail simsek
77cb47773f
Prometheus: Fix field name setting for heatmap-cells type ( #95097 )
...
* add unit test
* ignore setting valueField name if the frame type is heatmap-cells
* return early
2024-10-23 16:07:00 +02:00
Adam Simpson
61b9ffd324
ds-querier: return QDR instead of k8s error ( #95184 )
...
* ds-querier: return QDR instead of k8s error
After parseQuery we know the request is a valid k8s request but we don't
know if the query is valid, therefore this change returns a QDR that
other systems, e.g. alerting ruler, can de-serialize properly.
Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com >
* ds-querier: fix tests
Co-authored-by: Sarah Zinger <sarah.zinger@grafana.com >
* tweak status
* refactor refID to empty
---------
Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com >
Co-authored-by: Sarah Zinger <sarah.zinger@grafana.com >
2024-10-23 09:58:22 -04:00
jackyin
008c51b5b1
SignupInvitedPage: Show orgName ( #94940 )
...
* no orgname
* format code
* update unit test
* delete contextSrv
* fix unit test
* run prettier
---------
Co-authored-by: Laura Benz <laura.benz@grafana.com >
2024-10-23 16:49:27 +03:00
Erik Sundell
022297f359
E2E Selectors: Add 'modified' dist-tag when release includes actual changes ( #93813 )
...
* add modified tag to e2e-selectors package
* add sleep
* pr feedback
2024-10-23 15:47:50 +02:00
renovate[bot]
f6354339ef
Update dependency @types/prismjs to v1.26.5
2024-10-23 13:45:32 +00:00
renovate[bot]
3b37e20df6
Update dependency @grafana/azure-sdk to v0.0.4 ( #95252 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-23 16:22:02 +03:00
Gabriel MABILLE
b68b69c2b4
AuthN: Use tokens for unified storage server authentication ( #95086 )
...
* Extract server code
---------
Co-authored-by: Claudiu Dragalina-Paraipan <drclau@users.noreply.github.com >
2024-10-23 15:04:15 +02:00
Eric Leijonmarck
9ab064bfc5
Folders: Add admin permissions upon creation of a folder w. SA ( #95072 )
...
* add admin permissions upon creation of a folder w. SA
* Update pkg/services/folder/folderimpl/folder.go
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
* Grant service account permissions for creation of dashboards
* Grant service account admin permissions upon creating a datasource
* fetch user using the userservice with the userid
* Revert "fetch user using the userservice with the userid"
This reverts commit 23cba78752 .
* revert back to original datasource creation
---------
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
2024-10-23 14:02:22 +01:00
Pepe Cano
b1a1e7ce61
Alerting: Add example dropdown in the Edit notification template view ( #94711 )
...
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2024-10-23 15:01:42 +02:00
renovate[bot]
b512e7be0a
Update dependency @types/node to v20.16.15
2024-10-23 12:59:48 +00:00
Andreas Christou
8bb7475e4f
Azure: Fix duplicated traces in multi-resource trace query ( #95156 )
...
Use first resource as base resource for query
2024-10-23 12:30:06 +01:00
Matias Chomicki
2573cbec08
Loki: Added support to split queries by stream shard ( #94245 )
...
* Add shard query splitting implementation
* Shard query splitting: reuse function from query splitting
* Shard query splitting: remove max line limit
* Shard query splitting: update test
* Shard query splitting: fix types and non-sharded queries
* Merge responses: fix log merging
* Merge responses: remove legacy code
* Query splitting: add support to retry failed requests
* Query splitting: unit test request retrying
* Query splitting: add unsubscriptions
* Shard query splitting: fix retrying
* Shard query splitting: switch to dynamic grouping
* Shard query splitting: update group size thresholds and fix -1 query
* Shard query splitting: update initial group size + don't retry parse errors
* Shard query splitting: update unit test
* chore: update mock value
* Shard query splitting: add support for multiple targets
* chore: update description
* Shard query splitting: use group targets
* chore: filter hidden queries
* Shard query splitting: issue initial log query without sharding
* Splitting: fix retrying in both methods
* Merge responses: keep execution time
* Shard query splitting: remove no-shard attempt
* Shard query splitting: adjust groups based on rate of change
* chore: clean up experiments
* Shard query splittng: remove log query restrictions
* Shard query splitting: remove fallback to time splitting
* Loki: add new query direction
* Missing generated file
* LokiOptionField: integrate new query direction
* Shard query splitting: delegate non-scan queries to time splitting
* Query splitting: do not retry queries with parse errors
* Loki datasource: add placeholder for feature flag
* Shard query splitting: add function with support criteria
* Shard query splitting: refactor query modification and shard logs volume
* Shard query splitting: update unit tests
* chore: Update scan direction tooltip
* chore: formatting
* LogsVolumePanel: fix missing state in logs volume panel data
* Merge responses: better handle missing nanoseconds
* LokiQueryOptionFields: display query direction for log queries
* loki: process scan direction as backward
* Loki datasource: restrict sharding to Explore
* Retrying: invert criteria and move to response utils
* Formatting
* Use log volume refId constant
* Fix import order
* Create feature flag
* Use feature toggle
* LogsVolumePanel: prevent flashing no data while streaming
2024-10-23 14:21:03 +03:00
grafana-pr-automation[bot]
a5ae8959e3
I18n: Download translations from Crowdin ( #95224 )
2024-10-23 14:19:04 +03:00
Josh Hunt
2cf6a6388b
Combobox: Add prometheusUsesCombobox feature toggle ( #95238 )
...
Add prometheusUsesCombobox feature toggle
2024-10-23 12:18:33 +01:00
Pepe Cano
813632dff1
Alerting Docs: Update Alert rule and Notification Templating ( #94069 )
...
* Update links to the new location of the Templates intro page
* Set alert rule template structure
* Update the `Template notifications` structure/sidebar
* Move examples to examples pages
* Update menu titles and URL paths
* WIP reference
* added intro to examples.md
* reference page section intros
* examples title
* Template
* Continue Alert Template Reference
* example sections
* Almost finish with Reference page
* weight pages
* WIP - template variables Intro
* Edits Alert rule templates + Differences with notification templates
* examples-draft-2
* how to map annotations to notif templates
* examples v2
* moved example
* Continue Template annotations and labels
* Preview annotation templates
* Complete `Template annotations and labels`
* Update `Differences with notification templates`
* Polish a bit `Differences with notification tempaltes`
* added logic examples to `Examples`
* Finish sharing Template language
* Minor: set `anchor` link
* Minor edit
* Minor edit
* Minor changes
* Template language changes
* Document missing functions for alert rule templates
* 'Examples' v3
* `Examples` v3.1
* `Examples` v3.2
* added context/intro to `Examples`
* added a how to section to `Examples`
* moved legacy info in `Examples`
* added examples, sections in `Examples`
* formatting
* examples v5
* examples v5.1
* Complete update to `Notification template reference`
* Update `$values` description
* moved steps to `index`
* fixed urls
* removed section in `examples`
* added refs
* fixed urls
* refs fix
* blended the use case into the explanation
* Notification template reference: Minor readibility changes
* Edit `$value` in Alert rule template reference
* Edit `Manage notification templates
* links to ref and lang pages
* Minor copy changes
* Edit Template annotation overview + Prepare Template notifications overview
* `Select` vs `Choose`
* Template Overview
* Fix `heading` does not match `title`
* examples v6
* examples v6.1
* Fix spell errors
* Run `prettier --write` to fix md format errors
* examples v7
* examples v7.1
* examples v7.2
* examples v7.4
* examples v7.5
* examples v7.6
* all pretty, no pity
* Update alert rule examples
* Complete `Labels and annotations template examples`
* Minor changes
* Use `.` notation instead of `index` in examples
* rename `extendeddata` to `notificationdata`
* Complete Notification examples
* minor changes
* Set `go` language when displaying template examples
* Revert "minor changes"
This reverts commit f647c55c87 .
* Update example and admonition for consistency
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/template-notifications/manage-notification-templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/template-notifications/manage-notification-templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/shared/alerts/template-language.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/shared/alerts/template-language.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/template-notifications/manage-notification-templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/template-notifications/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/language.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/examples.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/examples.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/template-notifications/examples.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/examples.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/template-notifications/examples.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/template-notifications/manage-notification-templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/template-notifications/manage-notification-templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/template-notifications/manage-notification-templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/template-notifications/manage-notification-templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/template-notifications/manage-notification-templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* use `add` instead of `enrich`
* fix prettier content errors
* minor copy change
* Specify which Alert properties are exclusive to Grafana-managed alerts
* Use `Monitor` instead of `Meta monitoring`
* Be more detailed about notifation template limitations
---------
Co-authored-by: tonypowa <tonypowa@gmail.com >
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-10-23 12:43:28 +02:00
renovate[bot]
3103776892
Update dependency @types/jquery to v3.5.32
2024-10-23 10:08:04 +00:00
antonio
01b75828ba
alerting>tutorials:simple alert creation flow ( #95134 )
...
* alerting>tutorials:simple alert creation flow
* change step instruction
* added ref
* added ref2
* refs3
* all pretty no pity
* Update docs/sources/tutorials/alerting-get-started/index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* updated instructions in all the tutorials
* small changes
* link
* link2
* removed will offenders
* minor update
* typo
* removed ref
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-10-23 11:53:40 +02:00
Ashley Harrison
567a3803c5
SingleTopNav: Fix losing focus when moving between menu states ( #95069 )
...
* handle button focus between states
* fix focus when closing the overlay menu from the close button
* move into a separate hook
* properly feature toggle the hook
* use constants
2024-10-23 10:52:42 +01:00
renovate[bot]
5f8af8860f
Update dependency @types/jest to v29.5.14
2024-10-23 09:40:48 +00:00
Josh Hunt
2a5afd0d1a
Combobox: Combine loading and search/caret icons ( #95191 )
...
Don't have both loading and search/caret icon at the same time
2024-10-23 10:39:03 +01:00
renovate[bot]
32d224223e
Update babel monorepo to v7.25.9
2024-10-23 09:10:18 +00:00
Torkel Ödegaard
b700de8122
Dashboard: New layouts feature toggle and basic skeleton for a responsive grid layout ( #94805 )
...
* Wip
* Update
* Fix adding new panels
* reuse fromVizPanels
* Fixes
* Update
* Update
* Update
* Fixes
* Update
2024-10-23 10:55:45 +02:00
Gábor Farkas
1dbbbd9ca7
query: handle the x-rule-uid header ( #95223 )
2024-10-23 10:49:54 +02:00
Karl Persson
6f7528f896
Migration: Remove table aliasing in delete statement to make it work for mariadb ( #95226 )
...
Migration: remove table aliasing in delete statement to make it work in mariadb
2024-10-23 10:49:20 +02:00
renovate[bot]
5e924f3a27
Update dependency @grafana/plugin-e2e to v1.9.0 ( #95179 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-23 09:44:32 +01:00
Andres Martinez Gotor
e33573d786
Docs: Rewording prune setting when provisioning datasources ( #95059 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-10-23 08:31:53 +00:00
Leonor Oliveira
a03652494c
Dual Writer simplification ( #93852 )
...
* All objects should have an UID
* Now with a different error message
* Simplify create on DW 2: use the same object to write to both storages
* Run only one test
* Add check for status code
* Add name if it's not present in mode2
* Populate UID in legacy
* Remove logs and commented code
* Change dualwriter1
* Remove commented code
* Fix list test
* remove get on update from dualwriter 2
* Get object before updating. Better var renaming
* Finish rebasing
* Comment test
* Uncomment tests
* Update legacy first. Add preconditions
* Remove preconditions
* Fix update test
* copy RV from unified to legacy objects
* revert changes to playlist xorm store
* Improve logging. Add go routines for mode3
* Add tests for async funcs in mode3
* Lint
* Lint
* Lint. Start to fix tests
* Fix watcher tests
* Fix store tests
* Fiinish fixing watcher tests
* Fix server tests
* add name check
* Update pkg/apiserver/rest/dualwriter_mode1.go
Co-authored-by: Bruno Abrantes <bruno.abrantes@grafana.com >
* All objects should have an UID
* Now with a different error message
* Simplify create on DW 2: use the same object to write to both storages
* Run only one test
* Add check for status code
* Add name if it's not present in mode2
* Populate UID in legacy
* Remove logs and commented code
* Change dualwriter1
* Remove commented code
* Fix list test
* remove get on update from dualwriter 2
* Get object before updating. Better var renaming
* Finish rebasing
* Comment test
* Uncomment tests
* Fix update test
* revert changes to playlist xorm store
* Improve logging. Add go routines for mode3
* Lint
* Fix watcher tests
* Fiinish fixing watcher tests
* Add mode 5 with etcd test case. Add early check to fail on populated RV in payload
* we can't set RV to the found object when updating
* Lint
* Don't fail on update playlists
* Name should not be different when updating and it should be not empty on creating
* Fix tests
* Update pkg/apiserver/rest/dualwriter_mode2.go
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com >
* Lint
* Fix mode 5 tests
* Lint
* Add generateName condition on every mode. Fix tests
* Lint
* Add condition on where name or generate name have to be set
* Fix test
* Lint
* Fix folders test
* We dont need to send name for mode1
* Fail if UID is not present
* Remove change from not running test
* Remove unused line
* Lint
* Update pkg/storage/unified/apistore/store.go
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com >
* Improve error message
* Fix broken watcher test
* Fail on name mismatch on update
* Remove log
* Make sure UIDs match on create in both stores
* Lint
* Write first to unified storage
* Remove uid setting
* Remove RV only in mode2
* Fix test. Remove log line
* test
* No need to asser on RV in mode3
* Remove RV check due to race condition
* Update dualwriter.go
Co-authored-by: Georges Chaudy <chaudyg@gmail.com >
* Update pkg/storage/unified/client.go
* remove unused parameter
* log an error for object is missing UID instead of returning an error
* remove obj.SetResourceVersion("")
* log an error for object is missing UID instead of returning an error
* FInalise merge
* Move RV check to where it was
* Remove name check
* Remove server check for backwards compatibility
* Remove unused fn
* Move test checks for another PR
* Dont commit go work sum changes
* Only log error if RV is present for now.
---------
Co-authored-by: Todd Treece <todd.treece@grafana.com >
Co-authored-by: Bruno Abrantes <bruno.abrantes@grafana.com >
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com >
Co-authored-by: Georges Chaudy <chaudyg@gmail.com >
2024-10-23 10:29:41 +02:00
Robby Milo
1696ac8ea5
format datasources list with columns ( #95048 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-10-23 08:18:22 +00:00
Gábor Farkas
3a719a2cfd
api: use alerting headers ( #95118 )
...
* api: use alerting headers
* improve code, add integration test
* better comment
* fixed test
* merged tests
2024-10-23 09:39:22 +02:00
owensmallwood
d9bc4f7395
Search poc: Add debug log for metric and update metric buckets ( #95217 )
...
* adds debug log for metric
* updates buckets
2024-10-23 09:35:17 +02:00
Ihor Yeromin
b189743ca0
Actions: Improve drag and drop experience ( #94263 )
...
* feat(actions): improve dnd ux
---------
Co-authored-by: Kristina Durivage <kristina.durivage@grafana.com >
2024-10-23 09:24:06 +02:00
Pepe Cano
8072286daf
Alerting docs: Update Labels and Annotations to detail use cases ( #95213 )
...
* Alerting docs: Update `Labels and Annotations` to detail use cases
* Update docs/sources/alerting/fundamentals/alert-rules/annotation-label.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-10-23 08:50:56 +02:00
Matthew Jacobson
26162a53e6
Alerting: Allow config api receiver create/delete with alertingApiServer ( #95207 )
...
Previously all receiver modifications were denied with alertingApiServer
enabled. This allows pure creates and deletes through as these specific
cases can be handled simply and without risk of rbac shenanigans.
2024-10-22 16:54:05 -04:00
Isabel Matwawana
4e725f2f74
Docs: Add what's new video ( #95173 )
2024-10-22 20:31:31 +00:00
Juan Cabanas
60915e7fe6
ShareExternally: Fix refresh when time picker is hidden ( #95206 )
...
Fix refresh when time picker is hidden
2024-10-22 23:03:04 +03:00
grafana-delivery-bot[bot]
75a28bc367
Release: update changelog for 11.3.0 ( #95197 )
...
* Update changelog
* update changelog
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Kevin Yu <kevinwcyu@users.noreply.github.com >
2024-10-22 12:39:16 -07:00
owensmallwood
9763199b53
Search Poc: Add metrics ( #95111 )
2024-10-22 12:25:08 -06:00
Ezequiel Victorero
12cc312920
Chore: Update swagger docs ( #94701 )
2024-10-22 15:18:14 -03:00
Gabriel MABILLE
7aeb1adff2
Fix: Check JSON data is not nil ( #95189 )
...
* Fix: Fix panic when json data are nil
* Use Interface()
* Feedback
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com >
* Need to check inside the if statement
---------
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com >
2024-10-22 18:09:44 +01:00
Summer
6e802e6809
Expressions: add core services project on expressions label ( #94991 )
...
---------
Co-authored-by: Sarah Zinger <sarah.zinger@grafana.com >
2024-10-22 13:05:45 -04:00
grafana-delivery-bot[bot]
9a7ec04f90
Release: update changelog for 11.2.3 ( #95176 )
...
Update changelog
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-22 09:27:34 -07:00
grafana-pr-automation[bot]
d325184287
I18n: Download translations from Crowdin ( #95175 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-22 18:54:23 +03:00
renovate[bot]
9fb956f57f
Update dependency @grafana/faro-web-tracing to v1.11.0 ( #95170 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-22 16:16:45 +01:00
grafana-delivery-bot[bot]
77bf3f5bab
Release: update changelog for 11.1.8 ( #95161 )
...
* Update changelog
* Fix changelog
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
2024-10-22 16:50:41 +02:00
Will Browne
25abd57029
Plugins: Update to latest go plugin SDK (0.256.0) ( #95065 )
...
* update to latest go plugin SDK
* make update-workspace
* update alerting tests
2024-10-22 15:44:53 +01:00
Isabel Matwawana
8f0ccf3362
Docs: Add Correlations entry to what's new ( #95169 )
2024-10-22 10:42:29 -04:00
Adela Almasan
b2e53997e2
Canvas: Fix data links target ( #95113 )
2024-10-22 09:36:48 -05:00
renovate[bot]
3ec178ae44
Update dependency @grafana/faro-web-sdk to v1.11.0 ( #95167 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-22 15:32:42 +01:00
linoman
06a0890c2e
RolePickerDrawer: Replace RolePicker modal for drawer ( #94801 )
...
* Add RolePickerDrawer
* Add RoiePickerBadges
* Add RolePickerSelect
* Replace RolePicker in OrgUsersTable
* Replace RolePicker in ServiceAccountCreatePage
* Add RolePickerDrawer test
* Add tests
* Add i18n texts
* Update RolePickerBadges
2024-10-22 16:21:10 +02:00
renovate[bot]
15340a27ef
Update dependency @grafana/faro-web-sdk to v1.11.0 ( #95160 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-22 15:05:12 +01:00
Matthew Jacobson
4aad44e848
Alerting: Fix per-receiver RBAC for receivers with long names ( #95084 )
...
* Implement uidToResourceID
* add middleware
* Move uidToResourceID to alerting package
* Only hash uid if it's too long
* Use hashed uid in access control
* Move ReceiverUidToResourceId to ScopeProvider
* resolve uid in middleware only if param exists
* Tests
* Linting
---------
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2024-10-22 10:04:13 -04:00
Dave Henderson
25e85f8947
ci: Update trivy action to run on action updates ( #95096 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-10-22 10:00:47 -04:00
renovate[bot]
112763594a
Update dependency @grafana/faro-core to v1.11.0 ( #95149 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-22 14:36:58 +01:00
grafana-delivery-bot[bot]
63b5e65eb3
Release: update changelog for 11.0.7 ( #95157 )
...
* Update changelog
* Fix changelog
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
2024-10-22 15:05:47 +02:00
Alexander Zobnin
e709de603d
Chore: Init auth model on server side ( #95142 )
...
* Chore: Init auth model on server side
* fix linter
2024-10-22 14:50:52 +02:00
Andreas Christou
986bd2f9f8
Azure Monitor: Support metric namespaces fallback ( #94722 )
...
* Update display names
* Update multi-resource types
* Update default metric namespace list
* Initialise namespace list with fallback namespaces
* Add test
* Update test
2024-10-22 13:24:54 +01:00
renovate[bot]
b1d846d7e8
Update scenes to v5.20.3
2024-10-22 12:03:41 +00:00
grafana-delivery-bot[bot]
0e0e11cdd1
Release: update changelog for 10.4.11 ( #95141 )
...
* Update changelog
* Fix changelog
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
2024-10-22 13:51:15 +02:00
renovate[bot]
3f5483b79f
Update dependency rudder-sdk-js to v2.48.22
2024-10-22 11:40:10 +00:00
Gabriel MABILLE
0704ae734f
AuthZ: Refactor authentication modes for the Authz package ( #95120 )
...
* AuthZ: Fix authentication modes for the Authz package
Co-Authored-By: Claudiu Dragalina-Paraipan <drclau@users.noreply.github.com >
2024-10-22 13:38:59 +02:00
grafana-pr-automation[bot]
229658ad83
I18n: Download translations from Crowdin ( #95129 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-22 13:32:38 +02:00
renovate[bot]
4308edb593
Update dependency msw to v2.4.13
2024-10-22 11:19:04 +00:00
Andrej Ocenas
3bf3290340
Grafana/ui: TimeRangePicker with automatic sync across instances ( #94074 )
2024-10-22 12:52:33 +02:00
renovate[bot]
5a4b051a91
Update dependency browserslist to v4.24.2
2024-10-22 10:47:43 +00:00
Tito Lins
71d04a326b
Alerting: Support tls config for webhook receiver ( #93513 )
...
Adds the ability to configure tls settings on the webhook receiver (e.g. to skip server certificate validation)
2024-10-22 12:44:32 +02:00
grafana-delivery-bot[bot]
d722a25084
Release: update changelog for 10.3.12 ( #95128 )
...
* Update changelog
* Fix changelog
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
2024-10-22 12:23:42 +02:00
Andrej Ocenas
5b1d99b8c4
Sidecar: Remove extension helpers and use the sidecar service directly ( #94979 )
2024-10-22 11:46:29 +02:00
Gilles De Mey
94f5e21493
Alerting: Fix overflow for long receiver names ( #95064 )
2024-10-22 11:08:56 +02:00
renovate[bot]
059c5a4d02
Update dependency @types/node to v20.16.14
2024-10-22 09:00:43 +00:00
linoman
3270a9c959
Session Refactor: Add auth module label to session's list ( #94958 )
...
* Add AuthModule to token API
* Add badge to UserSessions
* Change idp label rendering
* Render IdP label for User Profile page
* Add i18n labels
2024-10-22 10:57:36 +02:00
renovate[bot]
200c613672
Update dependency @formatjs/intl-durationformat to ^0.5.0 ( #95093 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-22 09:36:19 +01:00
Jara Suárez de Puga García
dd7ad4c3d6
Docs note on Cross-account observability permissions for CW datasource ( #95034 )
2024-10-22 09:31:50 +01:00
Sonia Aguilar
bef9ff3b1a
Alerting: Remove threshold as default expression for grafana-managed recording rules ( #94949 )
...
* remove threshold as default expression for grafana-managed recording rule
* fix
* remove eslint disable line
2024-10-22 10:22:42 +02:00
Mariell Hoversholm
b420fbe940
Fix(devenv): use #!/usr/bin/env for bash scripts ( #95117 )
...
This solves problems on Linux distros like NixOS and BSDs like FreeBSD that don't provide `/bin/bash`, while also
maintaining support for all other distros out there (AFAIK? even Alpine with its Busybox has /usr/bin/env).
2024-10-22 10:20:33 +02:00
Alexander Akhmetov
d0481bb568
Alerting: Refactor state manager Warm method to accept instance store as an argument ( #95098 )
2024-10-22 09:45:50 +02:00
Kristina
cfc40b23d7
Transformations: Autofocus on search when drawer opens ( #95001 )
2024-10-21 20:17:51 -05:00
owensmallwood
bda27ec8c6
Unified Storage: Add watch latency metric ( #93509 )
...
* adds metric for watch latency
* registers storage metrics when creating a new ResourceServer
* defines the latency (in milliseconds) as the diff between now and the RV. Still need to wait until PR for switching RV to millisecond timestamp is rolled out.
* should be micro seconds not milli
* for watch latency, use diff between now and resource version and convert to seconds
* fix typo
2024-10-21 17:15:11 -06:00
Scott Lepper
cab4288b88
[docs] fix provisioning folder name ( #95099 )
2024-10-21 16:38:23 -04:00
Nathan Marrs
34d1a75ab0
ElasticSearch: Add playwright smoke test ( #95092 )
...
add smoke test to elastic search
2024-10-21 13:13:40 -07:00
Nathan Marrs
c94468339c
CloudWatch: Add playwright smoke test ( #95087 )
...
add smoke test to cloudwatch
2024-10-21 13:13:22 -07:00
Leon Sorokin
594e9b1b73
BarChart: Skip formatting null-valued ticks ( #94935 )
...
Co-authored-by: Ihor Yeromin <yeryomin.igor@gmail.com >
2024-10-21 22:29:51 +03:00
renovate[bot]
5c06bbf8cf
Update dependency rudder-sdk-js to v2.48.21
2024-10-21 19:22:44 +00:00
Isabel Matwawana
2614607d60
Docs: What’s new & Upgrade guide v11.3 ( #93193 )
...
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com >
2024-10-21 14:59:30 -04:00
renovate[bot]
8d598ba5f8
Update dependency redux-mock-store to v1.5.5
2024-10-21 18:51:44 +00:00
renovate[bot]
81a3245190
Update dependency react-hook-form to v7.53.1
2024-10-21 18:29:11 +00:00
Andrej Ocenas
c3c1f6ac27
Sidecar: Move service to runtime ( #94860 )
2024-10-21 20:26:39 +02:00
renovate[bot]
b7e658c5c3
Update dependency react-dropzone to v14.2.10
2024-10-21 18:07:01 +00:00
renovate[bot]
53a0c3488e
Update dependency react-dropzone to v14.2.10
2024-10-21 17:34:30 +00:00
Matias Chomicki
89c215a9ff
Loki query editor: update CompletionDataProvider time range when it changes ( #94905 )
...
* Loki query editor: update CompletionDataProvider time range when it changes
* CompletionDataProvider: update test and add regression
* Formatting
* Completion Data Provider: clear cache when the time range changes
* Completion Data Provider: specifically test for undefined values vs empty string
2024-10-21 20:14:27 +03:00
Arati R.
f3a93a0303
K8s/Folders: Enhance k8s folder update ( #95033 )
...
* Put folder update behind feature toggle
* Set more fields when doing k8s update
* Check update in folder tests
* Uncomment remaining k8s handler methods
2024-10-21 19:08:03 +02:00
renovate[bot]
ce917e97f7
Update dependency ol-ext to v4.0.24
2024-10-21 17:06:41 +00:00
Adela Almasan
07df148400
Chore: Update tests for Heatmap tooltip utils ( #94933 )
2024-10-21 11:40:40 -05:00
renovate[bot]
53142aed07
Update dependency msw to v2.4.12
2024-10-21 16:25:18 +00:00
Syerikjan Kh
20a33632bf
feat: pass orgrole when adding rs event ( #94890 )
...
* chore: pass orgRole, orgId for RS event report
* chore: track panel plugin search
* ref: extract interaction const to separate file
2024-10-21 12:22:51 -04:00
Arati R.
8abfcdbb78
Ks8/Folders: Fix status codes returned on create ( #95055 )
...
* Fix status codes returned by k8s folder handler
* Add test for status code when creating duplicate folder
2024-10-21 13:07:11 -03:00
renovate[bot]
9d1f8fbdb0
Update dependency html-webpack-plugin to v5.6.2
2024-10-21 16:01:05 +00:00
owensmallwood
fb9cfd0d1b
Search PoC: Indexmapping per resource and transform to intermediate IndexedResource ( #94906 )
...
* Transforms raw US resource into an intermediate IndexableResource and indexes that. Pulls index mapping code out into different file. For now, we will hardcode which spec fields are indexed, per resource.
* Fixes a few bugs with field casing and timestamps not being formatted right (or not existing).
* adds readme section for using search with US
* extracts to function to transform from search hit to IndexedResource
* get folders when building index
2024-10-21 09:34:41 -06:00
renovate[bot]
40f0a72db0
Update dependency eslint-plugin-jsx-a11y to v6.10.1
2024-10-21 15:27:56 +00:00
Santiago
4f8f82f5f1
Alerting: Fix remote Alertmanager readiness check path ( #95063 )
2024-10-21 17:24:51 +02:00
renovate[bot]
b475b8f648
Update dependency @types/papaparse to v5.3.15
2024-10-21 14:46:12 +00:00
Yuri Tseretyan
19a1d9d188
Fix: Initialize tracer in file provisioning ( #95007 )
...
initialize tracer
2024-10-21 10:03:58 -04:00
renovate[bot]
b43425b527
Update dependency @types/node to v20.16.13
2024-10-21 13:59:11 +00:00
Ashley Harrison
f5078547d2
fix types
2024-10-21 16:15:42 +03:00
renovate[bot]
2974ab634f
Update dependency @types/lodash to v4.17.12
2024-10-21 16:15:42 +03:00
Eric Leijonmarck
885eb00fc3
Chore: Update go sum, via make update-workspace ( #94980 )
...
update go sum
2024-10-21 14:12:24 +01:00
Karl Persson
b4366ebed2
Zanzana: bootstrap authz server ( #95036 )
...
Bootstrap authz extended server
2024-10-21 14:58:57 +02:00
Carl Bergquist
db06a5a5d3
scopes: test case for supporting queries using __name__ ( #94954 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-10-21 08:18:40 -04:00
renovate[bot]
f92fe82b24
Update dependency @rollup/plugin-typescript to v12.1.1
2024-10-21 11:40:01 +00:00
renovate[bot]
669669f093
Update dependency @playwright/test to v1.48.1
2024-10-21 11:09:25 +00:00
Ashley Harrison
324063eb3d
SingleTopNav: Fix positioning of command palette ( #95041 )
...
fix positioning of command palette when singleTopNav is enabled
2024-10-21 14:06:44 +03:00
grafana-pr-automation[bot]
cc99e7b164
I18n: Download translations from Crowdin ( #95037 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-21 13:51:47 +03:00
Alex Khomenko
180e82992b
Routing: Clean up tests ( #95018 )
...
* Update ShareDrawer.test
* Update OptionsPaneOptions.test
* Update GenAIButton.test
* Update RouterDebugger
* Update ScopesDashboardsTreeDashboardItem.tsx
* Update ConfigEditor.tsx
* Update MuteTimings.test
* Update NewReceiverView.test
2024-10-21 13:42:30 +03:00
Ashley Harrison
975e3acc68
add new yarn version
2024-10-21 13:04:13 +03:00
renovate[bot]
2ce5f78cdd
Update Yarn to v4.5.1
2024-10-21 13:04:13 +03:00
Josh Hunt
dd7f24dfbd
Chore: bump whats new to 11.4 ( #94983 )
2024-10-21 10:55:47 +01:00
Jack Westbrook
593ab4559d
MSSQL: Add playwright smoke test ( #94977 )
...
test(mssql-datasource): add smoke test to assert decoupled plugin assets are built and load
2024-10-21 11:36:18 +02:00
renovate[bot]
532cee2ee3
Update dependency @lezer/common to v1.2.3
2024-10-21 09:32:05 +00:00
linoman
640bc0de97
SSO SAML: Remove SettingProvider settings from SSO interactions ( #94900 )
...
* Remove SettingProvider settings from SSO interactions
* Mock Settings Provider for SSO Settings test
* Ignore error from SettingsProvider
* Add test for backend
2024-10-21 11:28:55 +02:00
Ashley Harrison
cbce49b163
Internationalisation: Mark up @grafana/ui for translations ( #94951 )
...
* ensure grafana-ui is translated
* last couple
* improve name
2024-10-21 10:11:12 +01:00
grafana-pr-automation[bot]
e0446fc557
I18n: Download translations from Crowdin ( #94968 )
2024-10-21 10:59:11 +02:00
Konrad Lalik
836881b713
Alerting: Fix editing expressions refId ( #94941 )
...
Fix refId editing
2024-10-21 10:49:42 +02:00
Dana Axinte
98e5048370
CloudMigration - Display different error messages for create migration errors ( #94683 )
...
* start on tokens
* more error messages
* more handling
* rephrased with suggestions from Daniel
* separate gms parse method
* use translation
* refactor initial idea to use error obj
* use error dto result
* handle gms client
* clean logs and comments
* fix tests
* tests for gms
* test and lint
* lint
* one more handling from gms
* typing in fe
* use error interface
* use validation error
* remove unused gms error
* use errorlib and helper function in fe
* regen api
* use same error util
* one more error to handle
2024-10-21 09:45:54 +01:00
Victor Marin
d608668335
DashboardScenes: Fix missing query options in library panels ( #94808 )
...
Fix missing query options in library panels
2024-10-21 11:29:23 +03:00
Timur Olzhabayev
388023a172
Chore: Adding datasources provisioning label ( #94899 )
...
adding datasources provisioning label
2024-10-21 09:44:34 +02:00
Esteban Beltran
3a7096d0a6
Chore: Increase fork ts webpack memory to 5GB ( #94810 )
2024-10-21 09:42:35 +02:00
William Wernert
0920e8bcc6
Alerting: Clear ignored fields of recording rules for API response ( #95004 )
...
* Clear ignored fields of recording rules for API response
* Move field clearing to compat function
* Run make update-workspace
* Cleanup changes
2024-10-19 01:03:12 +03:00
Scott Lepper
5700b4b13a
[search] - restart watch ( #94981 )
...
undo go sum change
2024-10-18 15:39:51 -04:00
Yuri Tseretyan
00bb3215cb
Alerting: Fix time-interval conversion to return bad request if payload is incorrect ( #94995 )
2024-10-18 13:16:03 -04:00
Yuri Tseretyan
672d5f92f2
Chore: Fix population of details when converting from errutil errors to K8s error ( #94996 )
2024-10-18 13:15:13 -04:00
lean.dev
3438196010
Anonymous User: Adds validator service for anonymous users ( #94700 )
2024-10-18 13:10:41 -03:00
Isabella Siu
fd5f351a6f
CloudWatch: Interpolate region in log context query ( #94930 )
...
CloudWatch: interpolate region in log context query
2024-10-18 11:31:05 -04:00
William Wernert
053a806ab1
Alerting: Validate namespace when updating rules through the provisioning API ( #94643 )
...
* Also validate folder on provisioning update
* Move folder check before auth check
When checking for the existence of a folder we go through the folder
service which requires auth. Doing so prevents an unprivileged user from
accessing information about whether a particular folder exists or not.
2024-10-18 18:21:26 +03:00
Alexander Zobnin
2baf4883cc
Zanzana: add action sets to dashboard and folder schema ( #94602 )
2024-10-18 16:58:30 +02:00
Tobias Skarhed
d4546630df
Frontend Monitoring: Set correct default value in Go file ( #94976 )
2024-10-18 17:52:46 +03:00
Tobias Skarhed
bbc4dc3867
Frontend Monitoring: Add config option to enable all default instrumentations ( #94862 )
...
* Add config options to enable all faro instrumentation
* Fix ts error
* Fix type in test
* Add to default config files
2024-10-18 15:35:39 +02:00
Laura Fernández
a44f718c09
SingleTopNav: align Command Palette to the input ( #94614 )
2024-10-18 15:27:04 +02:00
Ashley Harrison
65ce173d3f
SingleTopNav: Handle explore action placement ( #94812 )
...
* move query library + share buttons to toolbar
* add share text to button
* need spacer when not in singleTopNav
* fix unit tests
* use secondary button styling when singleTopNav is enabled
2024-10-18 13:58:54 +01:00
renovate[bot]
54c500cd94
Update dependency @grafana/lezer-traceql to v0.0.20 ( #94962 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-18 13:56:31 +01:00
Gaurav Soni
a72c89bd6e
Update index.md to update Grafana Assume Role Notes ( #94961 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-10-18 12:36:01 +00:00
Konrad Lalik
5548e5976b
Alerting: Fix templates editing validation ( #94960 )
...
Fix title validation when editing template files
2024-10-18 14:28:35 +02:00
renovate[bot]
b64a5848aa
Update dependency @floating-ui/react to v0.26.25 ( #94957 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-18 13:24:04 +01:00
Andre Pereira
bbe7029d0a
Tempo: Add support for /api/v2/traces/ and partial traces in Trace View ( #94267 )
...
* Request trace by id using v2, fallback for v1 when 404
* Show partial traces badge in Trace View
* update go work sum
* Fix tests
* some linting
* Fix tests and try to ignore linter
* Move no lint
* nolint:bodyclose
* merge main
* Fix null tags in array
* Fix test
* Update go.sum
* Update go.sum
2024-10-18 15:10:22 +03:00
renovate[bot]
75fe42876a
Update React Aria
2024-10-18 11:38:05 +00:00
Karl Persson
a82d01214d
Auth: Update authlib ( #94947 )
...
* Update authlib
2024-10-18 13:36:21 +02:00
Jack Westbrook
1ec68b6917
Decoupled Plugins: Prevent copying project.json into dist directories ( #94952 )
...
fix(plugin-configs): prevent copying project.json into dist directories
2024-10-18 14:03:28 +03:00
renovate[bot]
afeb0fc792
Update dependency @types/testing-library__jest-dom to v6 ( #94607 )
...
* Update dependency @types/testing-library__jest-dom to v6
* remove package and fix types
* don't include setupTests in the build tsconfig
* exclude testUtils
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-10-18 11:59:47 +01:00
Sam Jewell
ea71201ddc
ServerSideExpressions: Disable SQL Expressions to prevent RCE and LFI vulnerability ( #94942 )
...
* disable sql expressions
remove duckdb ref
* Run `make update-workspace`
---------
Co-authored-by: Scott Lepper <scott.lepper@gmail.com >
2024-10-18 11:28:26 +01:00
Gábor Farkas
cbe1e7d63f
expr: add explicit strict-mode const ( #94838 )
...
expr: add explicit strict-mode value
2024-10-18 10:46:27 +02:00
Marcus Efraimsson
42016dc359
Chore: Update SDK to v0.255.0 ( #94894 )
2024-10-18 10:42:32 +02:00
Gábor Farkas
34bb959835
expr: improved test ( #94837 )
2024-10-18 10:31:58 +02:00
Alexander Akhmetov
0b804e720f
Alerting: Add RuleGroup field to ListAlertInstancesQuery struct ( #94615 )
...
Alerting: add RuleGroup field to ListAlertInstancesQuery struct
2024-10-18 09:44:16 +02:00
Alex Khomenko
22d5efba25
Routing: Replace Prompt component ( #94675 )
...
* Add custom Prompt component
* Add test
* Remove beforeunload handling
* Updates
* Use custom Prompt in CorrelationEditorModeBar.tsx
* Simplify component
* Update DashboardPrompt
* Simplify Prompt
* Update
* Update DashboardPrompt.tsx
* Update type
* Update tests
2024-10-18 07:49:25 +03:00
Diego Augusto Molina
3e1f5559a6
Unistore Chore: Add database-level observability ( #92266 )
...
* add testing harness
* fix mockery and linters
* WIP
* wip
* fix transactions
* fix transaction tracing; add tracing by default
* rename package
* move WithTx to simplify logic of DB implementations
* fix potential issue with context deadline
* add db instrumentation to dbutil
* add otel tests
* improve naming
* minor fix in semantics and add comprehensive OTel testing
* fix naming
* instrument resourceVersionAtomicInc
* provide a default testing tracer
* fix docs
* fix typo in docs
* add semconv for k8s
2024-10-18 00:32:08 -03:00
Adela Almasan
9125f0df20
Table: Add support for ActionsCell ( #94648 )
2024-10-18 02:15:34 +03:00
Adela Almasan
0d70dbe730
Table: Add actions support ( #94578 )
2024-10-18 01:47:39 +03:00
Santiago
4c15266a77
Alerting: Add X-Remote-Alertmanager header to the remote AM client ( #94913 )
2024-10-17 22:38:13 +02:00
Josh Hunt
8f7352e862
CI: Additional changes for +security versions ( #94854 )
...
* Build: Fix docker manifest create not using correct IMAGE_TAG
* Support publishing security versions of NPM packages
---------
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
Co-authored-by: Kevin Minehart <kmineh0151@gmail.com >
Co-authored-by: Diego Augusto Molina <diegoaugustomolina@gmail.com >
2024-10-17 22:13:42 +03:00
Edvard Falkskär
125b7c2fd8
Histogram: Fix field displayName cache ( #94685 )
2024-10-17 14:00:03 -05:00
grafana-delivery-bot[bot]
221e640264
Release: update changelog for 11.1.7+security-01 ( #94918 )
...
* Update changelog
* update changelog
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Kevin Minehart <kmineh0151@gmail.com >
2024-10-17 13:49:01 -05:00
Kyle Cunningham
d7ee3ea086
Table: Fix text wrapping applying to wrong field ( #93707 )
...
* Fix text wrap
---------
Co-authored-by: Ihor Yeromin <yeryomin.igor@gmail.com >
2024-10-17 20:33:59 +02:00
grafana-delivery-bot[bot]
37c54b4403
Release: update changelog for 11.1.6+security-01 ( #94914 )
...
* Update changelog
* remove old changes
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Kevin Minehart <kmineh0151@gmail.com >
2024-10-17 18:32:00 +00:00
grafana-delivery-bot[bot]
5fecfe9d53
Release: update changelog for 11.2.2+security-01 ( #94911 )
...
* Update changelog
* update changelog
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Kevin Minehart <kmineh0151@gmail.com >
2024-10-17 18:22:22 +00:00
Charandas
2fd4fe40f0
K8s: for tests to use kubectl access, port-forwarding requires 0.0.0.0 ( #94836 )
2024-10-17 11:15:57 -07:00
Kristina
c12a662f9f
Transformations: Allow negatives in limit ( #94746 )
...
* Allow negatives in limit
* Add test
2024-10-17 13:13:00 -05:00
grafana-delivery-bot[bot]
0ff7783745
Release: update changelog for 11.2.1+security-01 ( #94909 )
...
* Update changelog
* Update changelog
* update changelog
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Kevin Minehart <kmineh0151@gmail.com >
2024-10-17 18:12:51 +00:00
dependabot[bot]
a52d0ca5a6
Bump aquasecurity/trivy-action from 0.24.0 to 0.28.0 ( #94787 )
...
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action ) from 0.24.0 to 0.28.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases )
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.24.0...0.28.0 )
---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
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-10-17 18:12:31 +00:00
Alexander Weaver
be0d8b4f19
Docs: Update Grafana-Managed Recording Rule docs ( #94895 )
...
* Config ini section
* Extend header
* Drop hysteresis line which doesnt apply to recording rules
* Touch up evaluation behavior section
* Dissolve incorrect/unrelated section
* Update docs/sources/alerting/alerting-rules/create-mimir-loki-managed-recording-rule.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/create-mimir-loki-managed-recording-rule.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/create-mimir-loki-managed-recording-rule.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/create-mimir-loki-managed-recording-rule.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/create-mimir-loki-managed-recording-rule.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/create-mimir-loki-managed-recording-rule.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Run linter
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-10-17 12:12:35 -05:00
Galen Kistler
5fe5e8a5a6
DataLinks: Fix onClick functionality ( #94815 )
...
* fix: add onclick functionality back to DataLinks in VizPanelFooter
---------
Co-authored-by: Adela Almasan <adela.almasan@grafana.com >
Co-authored-by: Matias Chomicki <matyax@gmail.com >
2024-10-17 12:07:22 -05:00
grafana-delivery-bot[bot]
c062389f66
Release: update changelog for 11.0.6+security-01 ( #94901 )
...
* Update changelog
* Update CHANGELOG.md
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com >
2024-10-17 16:58:21 +00:00
grafana-delivery-bot[bot]
27e005c4c4
Release: update changelog for 11.0.5+security-01 ( #94889 )
...
* Update changelog
* Update CHANGELOG.md
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com >
2024-10-17 17:44:35 +01:00
grafana-pr-automation[bot]
3d715840f1
I18n: Download translations from Crowdin ( #94877 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-17 18:20:06 +03:00
Matheus Macabu
8673c757a5
CloudMigrations: only append notification policy if feature flag is on and it exists ( #94896 )
2024-10-17 17:15:30 +02:00
Alex Khomenko
ccedc41c57
Routing: Remove Switch from Grafana routes ( #94795 )
...
* Routing: Use Routes instead of Switch
* Update routeProps
* Update GrafanaRoute.test
* Update DashboardScenePage.tsx
* Update DashboardPageProxy.test.tsx
* Remove exact paths
* Update parent routes
* Move route wrapper
* Update type
* Fix plugin paths
* Switch to the location hook
2024-10-17 18:11:31 +03:00
Laura Benz
b2036ffcbf
RestoreDashboards: Correct tracking data ( #94855 )
...
* refactor: change output for restore_enabled
* refactor: change output for restore_enabled
* refactor
2024-10-17 17:11:17 +02:00
Esteban Beltran
f248a55576
Frontend Sandbox: Create a plugin sandbox enable registry. Use enable list instead of disable list ( #94809 )
...
* Use a enable configuration to enable frontend sandbox
* Modify settings to load enableFrontendSandbox
* Check for signature type
* Update commment
* Fix e2e tests for the frontend sandbox
* Modify logic so a custom check function is used instead of a list of checks
* Fixes flaky test
* fix comment
* Update comment
* Empty commit
* Empty commit
2024-10-17 16:56:50 +02:00
Victor Marin
beac7de4df
DashboardScenes: Fix panel links to update on variable or timerange change ( #94865 )
...
* Fix panel links to update on variable or timerange change
* refactor
---------
Co-authored-by: alexandra vargas <alexa1866@gmail.com >
2024-10-17 17:22:04 +03:00
Sonia Aguilar
1860737117
Alerting: Update texts for gm rr in the form ( #94844 )
...
* Update texts for gm rr in the form
* fix translations
* Fix test
* address review comments
* address review comments - part2
* translations
* update docs for new term: output
2024-10-17 15:56:24 +02:00
Ashley Harrison
95ad094438
Sparkline: Add test to make sure the Sparkline at least renders ( #94880 )
...
add test to make sure the sparkline at least renders
2024-10-17 16:38:11 +03:00
Karl Persson
4083b2208e
Zanzana: periodic sync of team members ( #94752 )
...
* Rewrite zanzana collector to fetch all available pages
* Register access control as a background service
* If zanzana is enabled we run Syncs and start Reconciliation job
* Update pkg/services/authz/zanzana/client/client.go
Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com >
* Use server lock when doing performing reconciliation
2024-10-17 15:28:33 +02:00
Dana Axinte
a50507e645
CloudMigration: Interpret error code from migration resource item ( #94407 )
...
* start on loading the error code
* error code to message mapping
* use resource code type
* use defined error code
* partial updates from comments
* i18nKey gen
* fixed t
* fixed translations
* typing
2024-10-17 14:09:09 +01:00
Matheus Macabu
1051561154
CloudMigrations: create snapshot for Notification Policies ( #94852 )
...
* CloudMigrations: create snapshot for Notification Policy
* CloudMigrations: add notification policy constants and components
* CloudMigrations: add uid to resources that have it
2024-10-17 14:58:05 +02:00
Jack Westbrook
8f5edb09ef
MSSQL: Add a project.json so NX builds the plugin ( #94866 )
...
build(mssql): add a project.json so nx builds the plugin
2024-10-17 15:57:27 +03:00
Diego Augusto Molina
cf08f6762d
Unistore Chore: Add OTEL testing harness ( #94835 )
...
* add testing harness
* fix mockery and linters
* fix data race in tests
* fix data race in tests
* reduce cardinality of data
2024-10-17 08:41:06 -03:00
Ryan McKinley
8b9bb2acf6
K8s/Folders: Warn against using full path in metadata ( #94829 )
2024-10-17 14:32:39 +03:00
kay delaney
4e93b0f467
Frontend/Themes: Fix handleMotion function ( #94856 )
2024-10-17 12:02:16 +01:00
Ieva
dca881289a
Group attribute sync: Add swagger defs for group attribute sync endpoints ( #94531 )
...
* add generated files
* add swagger def for group role endpoint
* some cleanup to make Go client nicer to use
2024-10-17 12:01:55 +01:00
Tom Ratcliffe
4c5483ee15
Alerting: Fix notification policies tests and implement "stateful" mock endpoints ( #94732 )
2024-10-17 11:57:57 +01:00
Eric Leijonmarck
a46ff09bf9
LBAC for datasources: Override lbac rules if present when updating via datasources endpoints ( #94608 )
...
bloc updates to datasources
2024-10-17 11:29:30 +01:00
Jack Westbrook
573b40ab98
Chore: Resolve duplicate e2e-selectors packages to workspace ( #94853 )
...
chore(scenes): resolve e2e-selectors package to workspace
2024-10-17 12:22:51 +02:00
Ryan McKinley
3457f219be
Storage: Add blob storage interfaces ( #90932 )
...
Co-authored-by: Jean-Philippe Quémémer <jeanphilippe.quemener@grafana.com >
2024-10-17 12:18:29 +02:00
Andrej Ocenas
1b8b1d6c7a
Sidecar: Add local storage persistence for the sidecar state ( #94820 )
...
* Add local storage persistence
* Fix arg name
2024-10-17 12:00:50 +02:00
renovate[bot]
ce3da025cc
Update scenes to v5.20.2
2024-10-17 09:44:06 +00:00
Robby Milo
c6eeb2d845
remove unnecessary version notices ( #94839 )
2024-10-17 10:32:17 +01:00
Ashley Harrison
ba6829f4a7
Topnav: Remove from feature toggle registry + hardcode in config ( #94736 )
...
remove topnav from feature toggle registry + hardcode to true
2024-10-17 10:18:30 +01:00
Jean-Philippe Quéméner
b4a804776f
fix: update yarn files ( #94843 )
2024-10-17 12:10:17 +03:00
Ashley Harrison
241dca57cf
Geomap: Fix tooltip positioning when screen is scrolled ( #94827 )
...
* account for y-scrolling when positioning geomap tooltip
* remove config import
2024-10-17 09:42:58 +01:00
Sonia Aguilar
f9ba4e3e5d
Alerting: Update docs for grafana recording rules ( #94811 )
...
* update docs for grafana recording rules
* Update docs/sources/alerting/alerting-rules/create-mimir-loki-managed-recording-rule.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/create-mimir-loki-managed-recording-rule.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* remove notes
* fix note tag
* update note for grafana-managed feature toggle
* Update docs/sources/alerting/alerting-rules/create-mimir-loki-managed-recording-rule.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-10-17 10:33:14 +02:00
Jack Westbrook
3c23ab5428
Chore: Resolve scenes e2e-selectors to workspace ( #94484 )
...
chore: resolve scenes e2e-selectors to workspace
2024-10-17 10:27:56 +02:00
Gábor Farkas
2cea7af2f5
datasources: querier: handle reducer-settings-mode correctly ( #94595 )
...
* datasources: querier: handle reducer-settings-mode correctly
* Try to fix linting error
"unnecessary leading newline (whitespace)"
---------
Co-authored-by: Sam Jewell <sam.jewell@grafana.com >
2024-10-17 08:38:14 +02:00
Victor Marin
96893aef2a
DashboardScene: Re-add support for default datasource var ( #94806 )
...
re-add support for default datasource var
2024-10-17 08:25:20 +03:00
Diego Augusto Molina
e462974359
Chore: Prevent xorm from interfering with indexes ( #94790 )
...
prevent xorm from interfering with indexes
2024-10-16 22:52:42 -03:00
Kim Nylander
e8f23bb2cf
Update Pyroscope data source for Exlore Profiles ( #94825 )
...
* Update Pyroscope data source for Exlore Profiles
* Update docs/sources/datasources/pyroscope/query-profile-data.md
* Update docs/sources/datasources/pyroscope/query-profile-data.md
2024-10-16 16:53:13 -04:00
Jennifer Villa
c77c81fc1a
Remove reference to Aggregate By being experimental ( #94791 )
...
At this point, its moved from experimental to deprecated.
2024-10-16 16:42:27 -04:00
Kim Nylander
17eff37104
[DOC] Add streamingEnabled to Tempo ds docs ( #94751 )
...
* Add streamingEnabled to Tempo ds docs
* Update docs/sources/datasources/tempo/configure-tempo-data-source.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-10-16 16:39:22 -04:00
Diego Augusto Molina
44282134da
Unistore Chore: Make it easier to implement DB interface ( #94680 )
...
make it easier to implement DB interface
2024-10-16 13:40:35 -03:00
Joey
bd321216db
Tempo: Support new traceql intrinsics ( #94240 )
...
* Tidy and update types
* Tidy up comments
* More tidy up
* Simplify logic and reduce repitition in autocomplete
* Simplify logic
* Add and support new intrinsics
* Only retrieve intrinsics from language provider
* Move generateQueryFromFilters to languageProvider
2024-10-16 16:08:02 +01:00
Misi
50a635bc7e
Auth: Introduce authn.SSOClientConfig to get client config from SSOSettings service ( #94618 )
...
* wip
* possible solution
* Separate interface for SSO settings clients
* Rename interface
* Fix tests
* Rename
* Change GetClientConfig to comma ok idiom
2024-10-16 16:27:44 +02:00
maicon
c4f906f7fa
UniStore: Fix DualWriter compare method ( #94705 )
...
* UniStore: Fix DualWriter compare method
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2024-10-16 16:22:49 +02:00
maicon
4a60f29709
UniStore: register dual_writer_data_syncer_outcome metric ( #94789 )
...
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2024-10-16 16:44:20 +03:00
Tom Ratcliffe
dfe2d5eb98
Alerting: Fix display of quotes in expression component ( #94807 )
2024-10-16 16:12:35 +03:00
Tobias Skarhed
9f78fd94d7
New Select: Async functionality ( #94147 )
...
* Initial async
* Set value
* Update story
* Ignore older returned requests
* Add tests
* Update async test
* Support custom value
* Fix ignore late responses test
* Add act to test
* Fix final test
* Remove comment and fix type error
* refactor async story to look more like api call
* allow consumers to pass in a value with a label, for async
* compare story to async select
* Move 'keep latest async value' into seperate hook
* remove null fn from useLatestAsyncCall
* remove commented assertion
* move custom value to top
* before/afterAll & useRealTimers
* create a user
* no useless await
---------
Co-authored-by: Joao Silva <joao.silva@grafana.com >
Co-authored-by: joshhunt <josh@trtr.co >
2024-10-16 13:16:09 +01:00
Ieva
ca1fd028a2
Service Accounts: Run service account creation in transaction ( #94744 )
...
* run service account creation DB queries in transaction
* extract the signed in user from the context
* undo unneeded change
* don't error out if a user is not found
* Update pkg/services/serviceaccounts/manager/service.go
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com >
* Update pkg/services/serviceaccounts/manager/service.go
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
---------
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com >
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
2024-10-16 11:45:21 +01:00
jackyin
cc9881343e
Explore: Explore Log Download doesn't have same time format ( #94519 )
...
* Fixes #94296
* format code
* format code
* remove the timezone
* fix bug
* format code
* update unit test
* modified csv data order
* format code
* delete csv change
2024-10-16 12:29:29 +02:00
grafana-pr-automation[bot]
3990db3a16
I18n: Download translations from Crowdin ( #94735 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-16 10:24:10 +01:00
Jack Westbrook
cfb46c8003
Frontend: Extract CSS imports into files ( #94655 )
...
* build(webpack): extract css imports into files including node_modules
* feat(webassets): add cssfiles to entrypoint assets for extracted css files
* feat(views): add entrypoint css link tags to html templates
* feat(webassets): set CDN prefix for CSS files
* test(webassets): trim down sample-assets-manifest, fix failing snapshot tests
* Update pkg/api/webassets/webassets_test.go
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
* build(webpack): remove css module loader
---------
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
2024-10-16 11:10:34 +02:00
Arati R.
65fc7cf004
K8s/Folders: Fix mode 2 folder creation ( #94796 )
...
* Use user UID as identifier instead of ID
* Remove malformed error
2024-10-16 10:44:09 +02:00
Ashley Harrison
3e9dd1239a
update @grafana/scenes as well + group together in future
2024-10-16 09:42:32 +01:00
renovate[bot]
cd35cf7982
Update dependency @grafana/scenes-react to v5.20.1
2024-10-16 09:42:32 +01:00
Igor
0a255ac5fb
ShareInternally: Make stale short link expiry optional ( #88137 )
...
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-10-16 11:36:54 +03:00
Karl Persson
7fba9ba522
SA: Fix name validation so we can prevent creating service account with protected prefix ( #94762 )
...
Fix name validation so we can prevent creating service account with protected prefix
2024-10-16 10:27:06 +02:00
Alexander Akhmetov
bfbbdf5efb
Alerting: Default pending period (for) to 0s when the rule is created using file provisioning ( #94646 )
...
Alerting: default for to 0s when the rule is created using file provisioning
2024-10-16 10:15:10 +02:00
Torkel Ödegaard
384562e1ad
Dashboard: Fixes issue with dashboard inside get help drawer ( #94725 )
...
* Dashboard: Fixes issue with dashboard inside help help drawer
* Fix lint
2024-10-16 10:09:00 +02:00
maicon
9dc2ccdbfd
UniStore: Test both Mode1 and Mode2 for LegacyToUnifiedStorage Syncer ( #94784 )
...
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2024-10-16 06:43:01 +02:00
Kim Nylander
a5022d9dc6
Deprecate notice for metrics summary and Aggregate by ( #94761 )
2024-10-15 20:48:23 -04:00
Charandas
b4234cb06e
K8s: add aggregator metrics ( #94579 )
2024-10-15 12:41:27 -07:00
Stephanie Hingtgen
644a16048f
K8s: add feature toggle for dashboard backend ( #94753 )
2024-10-15 14:30:05 -05:00
Todd Treece
a1434a98a3
Chore: Add gen-go as dependency for update-workspace ( #94737 )
2024-10-15 12:27:27 -04:00
Andrej Ocenas
1f39692d9b
Sidecar: Use a proper way to get header height ( #94691 )
...
Use a proper hook
2024-10-15 18:09:34 +02:00
Kristina
2a6b73ca5f
Transformations: Convert field type should handle Unix timestamps in seconds ( #94442 )
...
* Parse seconds unix formatted timestamps as expected
* clarify comment
---------
Co-authored-by: Ihor Yeromin <yeryomin.igor@gmail.com >
2024-10-15 10:49:07 -05:00
Kristina
6e39ea5e46
Transformations: Add description to what is searched ( #94501 )
...
Add transformation description to what is searched
2024-10-15 10:26:44 -05:00
Alyssa (Bull) Joyner
89da7d6fe5
Graphite: Fix Multi Dimensional Alias Name ( #94563 )
2024-10-15 09:20:09 -06:00
Alexander Zobnin
9f1b584c85
Chore: Update authlib version ( #94714 )
...
* Chore: Update authlib version
* update workspace
* use ParseNamespace()
2024-10-15 16:58:46 +02:00
Matheus Macabu
47115c714a
CloudMigrations: create snapshot for Contact Points ( #94719 )
...
* CloudMigrations: create snapshot for Contact Points
* CloudMigrations: add contact point copies and components in frontend
* CloudMigrations: temporarily use bell for all alerts resources
2024-10-15 16:27:28 +02:00
Kevin Minehart
7a2edd35d5
CI: Support more version formats in publishing ( #94575 )
...
* cleanup dead code
* add tests and rewrite publish grafanacom steps to reuse
* add pkg/build tests; don't upload CDN assets on grafana releases
2024-10-15 09:27:13 -05:00
Yuri Tseretyan
ced5497ba1
Docs: Update alerting notifications documentation ( #93944 )
...
* add new permissions and fixed roles
* Apply suggestions from code review
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* address comments
* add actions to complete list
* fmt
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-10-15 16:16:15 +02:00
Santiago
87b57a1b25
Docs: Remove deprecation warnings for panelURL and dashboardURL ( #94730 )
...
Docs: Remove deprecation warnings for panelURL and dashboardURL in webhook and mqtt integration docs
2024-10-15 15:52:36 +02:00
Andres Martinez Gotor
2226225309
Chore: Avoid update-workspace when watching go files ( #94716 )
2024-10-15 15:40:51 +02:00
Ashley Harrison
4b72c159d8
Box: Expose position property ( #94726 )
...
expose position property on Box
2024-10-15 14:38:07 +01:00
Alex Khomenko
e5795c7b6d
Routing: Update connections to react router 6 ( #94461 )
...
* Update routes
* Update test
* Remove the useDataSourcesRoutes hook
* Remove DataSourcesRoutesContext
* Fix imports
* Fix more imports
* Add default
* Betterer
2024-10-15 16:10:31 +03:00
Gabriel MABILLE
ba3629c01c
Fix: Account for conflicting logins in dedupOrgInlogin migration ( #94669 )
2024-10-15 15:02:34 +02:00
kay delaney
7104782a74
Chore: Remove unused sass variables ( #94723 )
2024-10-15 13:38:42 +01:00
Jack Westbrook
9e50866356
Build: Nx improvements ( #88341 )
...
* feat(frontend): introduce project.json for every workspace to improve caching
* refactor(frontend): use nx tags for grafana dependson
* refactor(frontend): clean up nx tags for packages and plugins
* build(nx): make grafana dependent on cacheable generate icons command
* build(nx): clean up project files
2024-10-15 14:25:45 +02:00
Marcus Efraimsson
b28085110d
Plugins: Auto instrumentation improvements ( #94193 )
2024-10-15 14:02:34 +02:00
Yves Siegrist
4a3c6325a4
Docs: correct typo in login solution documentation ( #92393 )
2024-10-15 14:00:40 +02:00
Sven Grossmann
9adba8537f
Plugin Extension: use correct PluginExtensionAddedLinkConfig component in deprecation note ( #94708 )
2024-10-15 13:58:09 +02:00
kay delaney
22a3c9976f
Chore: Convert QueryGroupOptions to functional component ( #94342 )
...
Also rewrites styles
2024-10-15 12:57:58 +01:00
grafana-pr-automation[bot]
940a9e0144
I18n: Download translations from Crowdin ( #94707 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-15 14:20:18 +03:00
Tom Ratcliffe
0841497cad
Alerting: Show a warning when a template has been potentially misconfigured ( #94698 )
2024-10-15 14:00:20 +03:00
Matheus Macabu
016dea1143
CloudMigrations: create snapshot for Notification Templates ( #94676 )
...
* CloudMigrations: create snapshot for Notification Templates
* CloudMigrations: add notification templates resource to frontend
2024-10-15 12:55:33 +02:00
Will Browne
f97f489c2c
Plugins: Skip install errors if dependency plugin already exists ( #94710 )
...
* skip install errors if dependency plugin already exists
* add test
2024-10-15 11:35:45 +01:00
Ieva
284c2d6f71
Folders: Correctly show new folder button under root folder ( #94687 )
...
show new folder button under root folder if nested folders are disabled and user has the right perms
2024-10-15 10:45:07 +01:00
Victor Marin
aaba5a43bd
DashboardScene: Rerender dashboard links on timerange change ( #94570 )
...
* fix
* refactor
* refactor
2024-10-15 12:39:36 +03:00
oksanaphmn
ef805f271e
docs: Readme ( #94657 )
2024-10-15 09:38:09 +00:00
Matheus Macabu
081ec57443
CloudMigrations: create snapshot for Mute Timings ( #94668 )
...
* CloudMigrations: Create snapshot for Mute Timings
* CloudMigrations: add mute timings icon and copies to frontend
2024-10-15 09:44:41 +02:00
Agnès Toulet
5fb685dcc6
Scenes: add clearSceneCache to DashboardScenePageStateManager ( #94227 )
2024-10-15 09:43:54 +02:00
Ryan McKinley
36c38b5310
APIServer: add prometheus.Registerer to every init request ( #94684 )
2024-10-15 07:46:08 +03:00
maicon
bfd3506549
UniStore: Enable DataSyncer in Mode1 + better logging ( #94688 )
...
* UniStore: Enable DataSyncer Mode1 + better logging
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
Co-authored-by: Diego Augusto Molina <diegoaugustomolina@gmail.com >
2024-10-15 06:41:12 +03:00
Alexander Weaver
4d8d916434
Alerting: Separate write errors from Prometheus/Mimir into 400/500 categories ( #94699 )
...
* Separate errors from Prometheus/Mimir into categories
* Drop duplicate
* tests
2024-10-14 15:31:36 -05:00
Jack Baldry
a8c1c15235
Fix list indentation to ensure continuous numbering ( #94692 )
2024-10-14 18:23:48 +01:00
Ihor Yeromin
bcf62612f3
Table: Improve code readability ( #94690 )
...
feat(table): improve code radability
2024-10-14 18:57:19 +02:00
Ashley Harrison
e48351fbd3
AppChromeService: Improve useChromeHeaderHeight to only react to necessary state changes ( #94624 )
...
make useChromeHeaderHeight only react to necessary state changes
2024-10-14 16:21:15 +01:00
Eric Leijonmarck
d5fe9ce87f
LBAC for datasources: Fix generated swagger updates ( #94587 )
...
fix: generated swagger updates
2024-10-14 16:14:11 +01:00
Levente Balogh
2867f92974
Extensions: Show error and warning logs in the console ( #94682 )
...
fix: log extensions framework errors and warnings to the console
2024-10-14 16:44:47 +03:00
Ryan McKinley
97258ca1eb
Chore: vscode devenv cleanup ( #94290 )
2024-10-14 16:37:04 +03:00
Ryan McKinley
517975a4b3
Chore: update feature toggle git stats ( #93820 )
2024-10-14 16:34:19 +03:00
Alexander Zobnin
fcfa4aa777
Zanzana: Add config options for Check and ListObjects queries ( #94619 )
...
* Zanzana: Add config options for Check and ListObjects queries
* remove fixme
* pass only zanzana settings
2024-10-14 14:44:47 +03:00
Santiago
981aad6b77
Docs: Fix description for GeneratorURL template value ( #92578 )
2024-10-14 13:16:27 +02:00
Jack Baldry
2f3c539d9b
Remove doc-validator requirement to run on all pull requests ( #94673 )
2024-10-14 11:47:26 +01:00
Claudiu Dragalina-Paraipan
a69ee676ba
[authn] adding appPlatformGrpcClientAuth featureflag ( #94640 )
...
* introduce appPlatformGrpcClientAuth (renamed appPlatformAccessTokens which is not used)
* re-run toggles gen
---------
Co-authored-by: gamab <gabriel.mabille@grafana.com >
2024-10-14 13:47:18 +03:00
Chirag Gomber
67cbbf84ca
Prometheus: Display multiple hints at the same time on query code editor ( #89775 )
...
* Added Query hints for Prometheus query code editor
* ES Lint fixes
* Remoed displayName from queryEditorHints as it was unused
* Added the logic on button click to difference function
* extracted data to constants from props
* added css style to hints
2024-10-14 12:15:42 +02:00
Alexa V
00af0afe52
Dashboard Scene: Fix permissions and error handling in creating alert from panel ( #94521 )
...
* Dashboard Scene: Add better error handling when creating alert from panel menu
* Add missing permission to createNewAlert and add unit test
2024-10-14 12:11:31 +02:00
grafana-pr-automation[bot]
e746f55126
I18n: Download translations from Crowdin ( #94667 )
2024-10-14 10:37:05 +01:00
renovate[bot]
77effa6d90
Update testing-library monorepo ( #94632 )
...
* Update testing-library monorepo
* add @testing-library/dom
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-10-14 12:22:34 +03:00
Sonia Aguilar
fb5fb76ad1
Alerting: Use advanced options when query params are not transformable ( #94588 )
...
* Use advanced options when query params are not transformable
* Update public/app/features/alerting/unified/components/rule-editor/query-and-alert-condition/QueryAndExpressionsStep.tsx
Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com >
---------
Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com >
2024-10-14 11:03:58 +03:00
Andres Martinez Gotor
235f7db967
Add query migration handlers ( #93735 )
2024-10-14 09:29:44 +02:00
Dominik Prokop
97037580df
PanelMenu: Allow showing panel menu when data source does not exist ( #94545 )
2024-10-14 09:17:37 +02:00
Alex Khomenko
9811725c59
Routing: Update PluginDetails ( #94513 )
2024-10-14 09:52:58 +03:00
Matheus Macabu
1830820363
CloudMigrations: add basic resource component and update migration message with many resource types ( #94423 )
...
* CloudMigrations: display generic success message with more than 4 resource types
* CloudMigrations: create generic named resource component
2024-10-14 08:08:33 +02:00
Aaron Godin
fa330900ff
IAM: turn off migration causing instances to crashloop ( #94642 )
2024-10-11 20:46:34 +03:00
Marcus Efraimsson
65bcd72484
Chore: Fix failing build ( #94633 )
2024-10-11 19:26:12 +02:00
Sonia Aguilar
0dd5373e4a
Alerting: Add interactions for Fullstory ( #94631 )
...
add interactions for Fullstory
2024-10-11 19:23:58 +02:00
William Wernert
19a9a79467
Alerting: Publish event when one or more rules are created or changed ( #93637 )
...
* Publish event when one or more rules are changed
* Publish affected rules
* Use a fake bus to test publish event without listening
* Wire alerting store into provisioning service
2024-10-11 12:19:52 -04:00
Yuri Tseretyan
18e66d22b1
Alerting: Add more tracing for receivers service ( #94572 )
2024-10-11 11:41:13 -04:00
Irene Rodriguez
0ed94dc71e
Create strategies-for-upgrading-grafana ( #94517 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-10-11 15:12:11 +00:00
grafana-pr-automation[bot]
20b94ea92f
I18n: Download translations from Crowdin ( #94623 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-11 17:21:24 +03:00
Señor Performo - Leandro Melendez
9abadcbdb4
docs: added configure structure and youtube video link ( #94609 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-10-11 10:15:32 -04:00
Josh Hunt
64bb94cc62
Combobox: Measure text of longest label for dropdown width ( #93937 )
...
* Combobox: Measure text of longest label for dropdown width
* remove commented out code
* add story to compare to Select
* move magic numbers to constants to reference, and calculate the scrollbar width
* look at first 100,000 items
2024-10-11 15:10:44 +01:00
Ashley Harrison
4d08f44667
SingleTopNav: Revert to using AppChromeUpdate so banners are correct ( #94540 )
...
* revert to using AppChromeUpdate
* fix dashboard settings in old arch
* remove empty interface
* fix AlertRuleForm
2024-10-11 15:07:01 +01:00
Alex Khomenko
a5d72e264d
DataTrailsApp: Update to react-router v6 ( #94447 )
...
* DataTrailsApp: Update router
* Update route
2024-10-11 16:33:01 +03:00
Alexander Akhmetov
9d182986f1
Alerting: make StatePersister more configurable to support custom rule-level state persisters ( #94590 )
2024-10-11 15:25:29 +02:00
Torkel Ödegaard
6787e2f108
AddToDashboard: Refactorings & changes to address a number of problems ( #94458 )
...
* Extract shared add to dashboard flow
* Change how we save and add the new panels
* More cleanup
* Began updating tests
* Move and update tests
* set time range
* Fix lint / ts issues
* Fix time history step issue
* fix test
* Update betterer
* remove more tests that are now not needed
* work around cyclic dep
* Update
* Fixes
* fix lint
* remove unused type
2024-10-11 15:24:45 +02:00
Arati R.
992186c88f
K8s/Folders: Require create permissions when creating folder ( #94514 )
...
* Require create permissions when creating folder
* Test folder create permissions
* Add test for nested folder permissions on creation
* Replace hardcoded verbs
2024-10-11 15:13:56 +02:00
Kim Nylander
8a3508a547
[DOC] Remove traceQLStreaming feature flag from docs ( #94581 )
...
* Remove traceQLStreaming feature flag from docs
* Apply suggestions from code review
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Updates from prettier
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-10-11 08:57:05 -04:00
Misi
62738dd5c8
Auth: Fix missing authLabels from user list page ( #94612 )
...
Fix slice initialization
2024-10-11 15:42:32 +03:00
haelekuin
01897edccd
Docs: Fix incorrect authentication token field name ( #94610 )
2024-10-11 12:25:49 +00:00
Sonia Aguilar
1596acbd3b
Alerting: Add data-testids for Fullstory ( #94555 )
...
* add data-testids for Fullstory
* add more data-testids
2024-10-11 13:55:01 +02:00
Alexander Akhmetov
0a4e6ff86b
Alerting: Add SaveAlertInstancesForRule instance store method ( #94505 )
...
Alerting: Add SaveAlertInstancesForRule method to the InstanceStore interface
2024-10-11 13:47:44 +02:00
Prem Saraswat
e2672021bc
[unified-storage/apistore] Fix GuranteedUpdate skipping updates when tryUpdate is passed ( #94557 )
...
`GuranteedUpdate` method of `apistore.Storage` had a bug, where it would
errorneously conclude that the object is unchanged, in case a
`tryUpdate` function is passed that modifies the existing object itself
(as it is the case in many core types in K8s upstream).
The modified `existingObj` was compared with `updatedObj`, which would
essentially be same and this lead to the update being skipped.
This patch fixes this by always passing a copy of the `existingObj`.
Signed-off-by: Prem Kumar <prem.saraswat@grafana.com >
2024-10-11 17:15:43 +05:30
Giuseppe Guerra
95afb3a112
Plugins: Track SystemJS load errors with Faro ( #94465 )
...
* Test SRI check errors with Faro
* Plugins: Send SystemJS import errors to Faro
* unbork
* track loadingStrategy
* Revert "unbork"
This reverts commit 02a61f4046 .
* Reapply "unbork"
This reverts commit eaee8fbb39 .
2024-10-11 13:33:18 +03:00
renovate[bot]
7ef38bd6c1
Update dependency sass to v1.79.5
2024-10-11 10:32:48 +00:00
Andreas Christou
7c79f8f7a5
GCM: Time field naming ( #94548 )
...
* Name time field correctly
* Update tests
* Lint
2024-10-11 11:31:37 +01:00
grafana-delivery-bot[bot]
032d0669cd
Release: Bump version to 11.4.0-pre ( #94569 )
...
bump version 11.4.0-pre
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-11 11:31:04 +01:00
grafana-pr-automation[bot]
67ee40ce12
I18n: Download translations from Crowdin ( #94599 )
2024-10-11 11:24:47 +01:00
renovate[bot]
64a00aff6e
Update dependency msw to v2.4.10
2024-10-11 10:09:33 +00:00
Tom Ratcliffe
b91b9a1e38
Alerting: Use jest/expect-expect rule to check for assertions ( #93112 )
2024-10-11 13:08:50 +03:00
Sonia Aguilar
029b5bc2d0
Alerting: Default to right instant or range when filling alert rule from query params ( #94272 )
...
* default to right instant or range when filling alert rule from query params
* address pr review comment
2024-10-11 12:07:43 +02:00
Tom Ratcliffe
f08de95630
Alerting: Change styling so query results with no labels are clearer ( #94404 )
2024-10-11 10:54:15 +01:00
renovate[bot]
773030f15c
Update dependency @types/eslint to v9 ( #94564 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-11 10:47:01 +01:00
Georges Chaudy
d999b415df
UniStore: Use epoch with microsecond resolution as RV ( #92638 )
...
* Use epoch with microsecond resolution as RV
* fix backend tests
* Add solution for when the clock goes back
* Add solution for when the clock goes back
* generate mocks
* go lint
* remove comment
* Use Greatest instead of max in msyql and postgres
* update tests
* Update pkg/storage/unified/sql/sqltemplate/dialect_sqlite.go
Co-authored-by: Diego Augusto Molina <diegoaugustomolina@gmail.com >
* cast to bigint
* add additional round trip
* increment the RV using 2 sql round trips instead of 3
* cleanup comments
* cast unix timestamp to integer
* fix postgres query
* remove old increment test data
* remove greatest
* cast unix_timestamp to signed
* Use statement_timestamp instead of clock_timestamp
---------
Co-authored-by: Diego Augusto Molina <diegoaugustomolina@gmail.com >
2024-10-11 12:11:33 +03:00
Mihai Doarna
0bd3ad1d5a
SSO: Fix client side validations for LDAP ( #94561 )
...
* fix client side validations for LDAP
* add translations for new messages
* simplify code in isInvalidField()
2024-10-11 12:09:34 +03:00
Laura Benz
4092741f24
RestoreDashboards: Merge both feature toggles to dashboardRestore ( #94412 )
...
* refactor: remove FE feat toggle from BE
* refactor: remove FE toggle and adjust roles
* refactor: replace feat toggle in tracking events
* refactor: remove FE feat toggle
* refactor: remove FE feat toggle
* fix: autogenerated file
2024-10-11 10:29:58 +02:00
owensmallwood
3d59d3b40f
Search poc: Initial index paginates list response ( #94582 )
2024-10-11 10:13:10 +02:00
Misi
4eab10eaa1
Auth: Add missing Name property to SAML strategy ( #94565 )
...
Add Name to SAML strategy
2024-10-11 08:45:36 +02:00
Syerikjan Kh
f8748f0724
ref: pass tracer to plugin factory func ( #93701 )
...
* ref: pass tracer to plugin factory func
* fix: add tracer to coreplugin
* test: fix test, generate wire
* test: ignore trace field in loader_test
* ref: pass tracer as dependency, don't store in plugin
* ref: wrap tracer with tracer provider to satisfy WithTracerProvider
* ref: use otel trace.Tracer type for tracer
2024-10-10 20:30:56 -04:00
Yuri Tseretyan
27c44f4709
Alerting: Update notification policy service to check provenance status ( #94359 )
...
* update ResetPolicyTree to accept provenance status
* update methods to check for provenance status use relaxed validation
2024-10-10 16:26:30 -04:00
Santiago
75d42d82a3
Alerting: Make Google Chat URL a secure field ( #94499 )
2024-10-10 21:30:16 +02:00
Yuri Tseretyan
0418a7bc0a
Chore: Turn off apiserver tracing when embedded in Grafana ( #94574 )
...
turn off apiserver tracing when embedded in Grafana to make it reuse Grafana initiated trace context
2024-10-10 14:40:16 -04:00
Jack Baldry
79614eabdf
Remove "Add to docs project" workflow ( #93476 )
2024-10-10 21:11:51 +03:00
owensmallwood
d96baaa878
Search PoC: Add logging ( #94567 )
2024-10-10 20:34:57 +03:00
Brendan O'Handley
ce857c2680
Explore metrics: set options directly because of scenes error when options not set ( #94284 )
...
* scenes error when options not set
* add all of the options that are updated in onOptionsChange
* add options to all the other places we are building timeseries panels
* Update public/app/features/trails/AutomaticMetricQueries/graph-builders/percentiles.ts
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
* remove activation handlers and unused code
* Update public/app/features/trails/AutomaticMetricQueries/graph-builders/simple.ts
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
* Update public/app/features/trails/AutomaticMetricQueries/graph-builders/percentiles.ts
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
---------
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
2024-10-10 11:49:24 -05:00
Victor Marin
4600bd2e77
Scopes: Open dashboard list when a scope is selected ( #94464 )
...
* Open dashboard list when a scope is selected
* refactor
* test
* remove localstorage key
* add checks on open/close methods
* remove redundant statement
* improve dashboards listing
2024-10-10 19:12:26 +03:00
Victor Marin
516e0cf7e2
DashboardScene: Update timerange in datalinks on change ( #94419 )
...
* fix types
* mods
* refactor
* refactor
2024-10-10 19:11:58 +03:00
renovate[bot]
e32caccc15
Update babel monorepo to v7.25.8
2024-10-10 15:39:53 +00:00
Alexander Zobnin
e642e1a804
Zanzana: Pass parent folder for the checks in search queries ( #94541 )
...
* Pass parent folder as a contextual tuple in Check request
* Search by listing folders and dashboards
* skip dashboards listing if limit reached
* remove unused
* add some comments
* only add ContextualTuples if parent provided
* Remove parent relation for dashboards from schema and perform separate checks
2024-10-10 17:38:15 +02:00
Prem Saraswat
5c03c14b25
resource-api: Loosen name validation to match K8s requirements ( #93404 )
...
* resource-api: Loosen name validation to match K8s requirements
This patch modifies some of the requirements for name validation of
objects in Resource API to match Kubernetes.
The limit we have on characters in name is 64, but some resources allow
upto 253 characters. Similarly we also include `:` in the regex, as many
objects in default K8s setup use it in the name (the group
`system:masters` for example)
Signed-off-by: Prem Kumar <prem.saraswat@grafana.com >
* Update the name column length in migrator and update e2e test to verify
---------
Signed-off-by: Prem Kumar <prem.saraswat@grafana.com >
2024-10-10 11:03:18 -04:00
linoman
21d26de4d8
Session Refactor: Add SAMLSession ( #94490 )
...
* add saml session struct
* resolve saml session
* Add NameID
---------
Co-authored-by: Mihaly Gyongyosi <mgyongyosi@users.noreply.github.com >
2024-10-10 16:57:34 +02:00
renovate[bot]
e30c398087
Update dependency @hello-pangea/dnd to v17 ( #94543 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-10 15:56:59 +01:00
renovate[bot]
a112c9487b
Update dependency rollup to v4.24.0 ( #94539 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-10 15:54:35 +01:00
Joey
a268a56acb
Tempo: Put trace results data frame first when streaming ( #93739 )
...
* Put trace results dataframe first
* Add comment
2024-10-10 15:51:43 +01:00
kay delaney
42eb033b03
Chore: Change VariableEditorList overflow styling & tidy markup ( #94394 )
...
Chore: Channge VariableEditorList overflow styling & tidy markup
2024-10-10 15:49:48 +01:00
Karl Persson
86fc8da703
RBAC: Add legacy authorization checks to teams ( #94524 )
...
* Setup team authorization for teams
* Add list filter for teams
2024-10-10 16:47:31 +02:00
Oscar Kilhed
315778227b
Dashboards: Links to explore should respect subpath ( #94525 )
...
* Links to explore should respect subpath
* Change to using assureBaseUrl
* Change back to normal single quotes
2024-10-10 15:54:48 +02:00
Misi
c872cad879
OrgSync: Do not set default Organization for a user to a non-existent Organization ( #94537 )
...
Do not set default org for a user to a missing org
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
2024-10-10 15:31:30 +02:00
Bradley
747cdf938e
Docs: Added instructions for configuring a private CA in Helm installs ( #93249 )
...
* Docs: Added instructions for configuring a private CA in Helm installs
Signed-off-by: Bradley Pettit <12028233+bradleypettit@users.noreply.github.com >
* Docs: linted new instructions for private CA cert
Signed-off-by: Bradley Pettit <12028233+bradleypettit@users.noreply.github.com >
* Expanded to gem/gel/get
Originally, it just referred to GEM
---------
Signed-off-by: Bradley Pettit <12028233+bradleypettit@users.noreply.github.com >
Co-authored-by: Jennifer Villa <jvilla2013@gmail.com >
2024-10-10 08:30:54 -05:00
Virginia Cepeda
c41c8c2026
Icons: add new k6 icons ( #94439 )
...
Added 4 new icons:
- api-endpoint
- browser-alt
- k6-rounded
- multi-step
These icons where added in https://github.com/grafana/synthetic-monitoring-app/issues/955
2024-10-10 16:18:28 +03:00
Irene Rodriguez
844023ad92
remove whitespace ( #94542 )
2024-10-10 13:11:14 +00:00
renovate[bot]
088cb66635
Update dependency knip to v5.33.3 ( #94538 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-10 15:53:26 +03:00
owensmallwood
8e667c4165
Search POC: Fixes search request tenant id ( #94511 )
...
fixes search request tenant id
2024-10-10 08:43:16 -04:00
renovate[bot]
32845704ac
Update dependency eslint-scope to v8.1.0 ( #94530 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-10 12:53:35 +01:00
renovate[bot]
be48906257
Update dependency eslint-plugin-import to v2.31.0 ( #94529 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-10 12:53:03 +01:00
Arati R.
011978e81b
K8s/Folders: Remove folder service from client ( #94450 )
...
* Support getting full path of UIDs
* Use full path to set parents field
* Update get folder test
* Add folder store test for getting with full path UIDs
* Add test for parsing parent titles
* Test nested folder create payload
2024-10-10 13:22:57 +02:00
renovate[bot]
bf9e5ae056
Update dependency @grafana/scenes to v5.20.0 ( #94526 )
...
* Update dependency @grafana/scenes to v5.20.0
* bump scenes-react as well
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-10-10 14:08:45 +03:00
linoman
f18b3ca340
SAML: Add a screenshot for Graph API integration config ( #94494 )
...
* Add a screenshot for Graph API config
2024-10-10 12:06:03 +02:00
renovate[bot]
e38c4c26ae
Update dependency esbuild-plugin-browserslist to ^0.15.0 ( #94523 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-10 10:52:17 +01:00
renovate[bot]
4e790ca240
Update dependency @react-types/shared to v3.25.0 ( #94522 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-10 10:51:14 +01:00
Tom Ratcliffe
074831153a
Alerting: Config tracker - update link for default contact point ( #94384 )
...
Co-authored-by: Sonia Aguilar <soniaaguilarpeiron@gmail.com >
2024-10-10 10:18:36 +01:00
Tom Ratcliffe
f6abde3328
Alerting: Remove accesscontrol license feature requirement for contact points RBAC ( #94418 )
2024-10-10 10:18:25 +01:00
renovate[bot]
152f70a6a4
Update dependency @formatjs/intl-durationformat to ^0.3.0 ( #94497 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-10 10:11:48 +01:00
renovate[bot]
3c376f137a
Update dependency @react-types/button to v3.10.0 ( #94498 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-10 10:10:04 +01:00
jjaychen
636d17c111
PanelQueryRunner: Fix diff between multiple errors ( #89868 )
2024-10-10 11:02:33 +02:00
Gabriel MABILLE
6dbd324ef9
Fix: Actually call the DedupOrgInLogin migration ( #94520 )
2024-10-10 10:53:31 +02:00
Sonia Aguilar
419598c745
Alerting: Fix getSimpleConditionFromExpressions ( #94516 )
...
fix getSimpleConditionFromExpressions
2024-10-10 09:56:15 +02:00
Karl Persson
9ece88d585
Zanzana: bump openfga version ( #94485 )
...
* Bump openfga
* Remove internall sqlite implementation for openfga
* Use sqlite implementation from openfga
2024-10-10 09:07:40 +02:00
Marcus Andersson
bc7386e815
PluginExtension: Added debug log ( #94146 )
...
* wip
* add simple scenes object with logs panel
* return hardcoded log message from runtime ds
* simplify log entry
* use log in links registry
* wired the log together.
* wip
* Connected the extensions log to the runtime datasource to steam logs
* wired the other registies.
* implemented child function.
* set right field type on labels
* set meta type
* using the logger in various places.
* added type of onclick.
* removed time picker.
* removed imports.
* passing log to functions where they are needed.
* moved scene into admin page.
* minor improvement to the message.
* added possibility to update query with values based on the data.
* added filter suppoert.
* wip
* wip
* fixed so extension points are displayed.
* use log level from grafana data
* fixed bugs with the filtering.
* Fixed some logs.
* only register extensions page in development mode.
* fixed filtering.
* added on click debug log.
* PluginExtensions: Add debug log to Grafana (Rewrite to scenes-react) (#93954 )
* refactoring.
* simplify it even more.
* Update public/app/features/plugins/extensions/logs/LogViewer.tsx
Co-authored-by: Erik Sundell <erik.sundell87@gmail.com >
* used VizGridLayout instead of VizGrid component.
* Fixed feedback and fixed bug in filtering logic.
* fixed another nit.
* empty string instead of title.
* Added tests and fixed error.
* added test file.
* regenerated yarn.lock
* Update public/app/features/plugins/extensions/logs/filterTransformation.test.ts
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
* fixed nit.
* more nits.
* added more test cases.
* simplified filtering logic.
* removed unused dep.
* defined broadcast channel in jest setup.
* added tests for datasource.
* fixed failed tests.
* fixed tests.
* fixing go lint issue.
* silent go lint.
* fixed lint issue.
---------
Co-authored-by: Erik Sundell <erik.sundell87@gmail.com >
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
2024-10-10 09:27:57 +03:00
Alex Khomenko
97249d15d1
Routing: Update alerting routes to react router 6 ( #94469 )
...
* Update alertingRuleEditor
* Update Policy.test
* Update AlertRuleForm
* Update ReceiversSection
* Update SimplifiedRuleEditor.test.tsx
* Update CloneRule.tsx
2024-10-10 07:33:16 +03:00
Alex Khomenko
e0217c37a1
AlertmanagerContext: Remove react router dependency ( #94470 )
...
* AlertmanagerContext: Remove react router dependency
* Cleanup
2024-10-10 07:33:04 +03:00
kay delaney
0201e8e8fb
Chore/TimezonesEditor: Add vertical gaps between inputs ( #94487 )
2024-10-10 01:57:14 +01:00
owensmallwood
97de44b0c2
Dashboard Sharing: Skips flaky e2e test for dashboard sharing ( #94507 )
...
skips flaky e2e test for dashboard sharing
2024-10-10 00:50:54 +03:00
Gábor Farkas
0a7b731242
datasources: querier: request parsing failures are not http 500 ( #94488 )
...
* datasources: querier: request parsing failures are not http500
* fix test
---------
Co-authored-by: Adam Simpson <adam@adamsimpson.net >
2024-10-10 00:28:27 +03:00
Diego Augusto Molina
c6c93a02aa
Chore: add GIT_BASE variable to Makefile to allow configuring lint-go-diff target ( #94480 )
...
add GIT_BASE variable to Makefile to allow configuring lint-go-diff target
2024-10-09 20:32:23 +00:00
Diego Augusto Molina
4a800eda9f
Unistore Chore: add inocuous preparative changes for otel-based db observability ( #94473 )
...
add inocuous preparative changes for otel tracing
2024-10-09 20:32:09 +00:00
owensmallwood
8349db4947
Table Component: Skip flaky test ( #94506 )
...
* skip flaky test
* use skip method on test
2024-10-09 22:40:42 +03:00
owensmallwood
612b864772
Indexing PoC: Add search/browse ( #94126 )
...
* adds Filter gRPC and make protobuf
* adds route for querying the filter gRPC
* wires up Filter gRPC call
* [WIP] index from start
* renames gRPC endpoint to "Search"
* adds /apis/search route into k8s routes. Hacky for now.
* updates readme - wrong casing
* adds feature toggle for unified storage search
* hides US search behind feature flag. Clean up print statements.
* removes indexer - will be added in another PR
* Search: Add API Builder
* adds required method
* implementing UpdateAPIGroupInfo (WIP)
* adds groupversion
* commenting out for now
* remove unneeded code from experimenting and update register.go to match interface required
* list resources and load into index
* pass context
* namespaces search route
* lint
* watch
* add todo
* add todo
* merge
* cleanup
* add todo
* gen protobuf
* lint; fix migration issue
* Updates index mapping function to map unified storage object Value
* Changes Index() to pointer receiver - fixes panic
* add delete
* cleanup
* gets search/browse functioning. Results show up as base64 encoded. Still a WIP.
* Doesnt json re-encode gRPC response in search handler
* add kind to SearchRequest proto
* Updates query interface to be more generic. Make proto. Parses query params in api server.
* make protobuf
* removes unused method and imports
* Returns all indexed fields in search results. Adds pagination support (limit + offset).
* remove comment
* remove unused struct
* gets tenant in search k8s api handler
* adds hardcoded spec field mappings - starting with playlists
* adds all spec fields to search results
* moved helper function for field mappings into index
* only includes allowed spec fields in search results
* cleans up error handling
* removes debug log
---------
Co-authored-by: leonorfmartins <leonorfmartins@gmail.com >
Co-authored-by: Todd Treece <todd.treece@grafana.com >
Co-authored-by: Scott Lepper <scott.lepper@gmail.com >
2024-10-09 11:20:05 -06:00
Kristina
1f9562ea72
State Timeline: Align left text to 0 when rectangle is left-truncated ( #94422 )
...
Handle negative x placement with displaying text
2024-10-09 11:24:06 -05:00
renovate[bot]
e8bcc5e831
Update dependency sass to v1.79.4
2024-10-09 16:15:35 +00:00
renovate[bot]
d5ff74ebac
Update dependency @grafana/experimental to v2.1.2
2024-10-09 16:13:52 +00:00
Scott Lepper
c86c4ca65a
[unified search] fix: remove unified searcher ( #94492 )
2024-10-09 12:02:52 -04:00
Oscar Kilhed
bf75e1fbf4
Bump scenes to 5.19.1 ( #94491 )
2024-10-09 18:54:09 +03:00
Esteban Beltran
2a7319809a
Fix levitate detect breaking changes pipeline not sending slack messages ( #94482 )
...
* Fix levitate detect breaking changes pipeline not sending slack messages
* Use ref
2024-10-09 17:43:30 +02:00
Brendan O'Handley
748bfff601
Prometheus: Add series endpoint configuration ( #94443 )
...
* add series endpoint configuration
* gf-form is unnecessary and deprecated
2024-10-09 10:25:18 -05:00
Karl Persson
ace177f20a
AuthN: Set access token name ( #94471 )
...
* Set access token name
2024-10-09 17:08:11 +02:00
Joao Silva
322dccdb4d
Navigation: Fix wrong active item shown when parent is bookmarked ( #94478 )
2024-10-09 15:53:05 +01:00
Vishal N
55d970ef9a
fix missing hyperlink to permissions page in docs ( #94077 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-10-09 10:42:32 -04:00
Nick Richmond
38827e5a16
ExploreMetrics: Keep gaps consistent between sticky elements ( #94441 )
...
style: maintain gap between sticky elements while scrolling
2024-10-09 10:05:41 -04:00
Andreas Christou
97a90591ca
AzureMonitor: Fix App Insights portal URL for multi-resource trace queries ( #94119 )
...
* Retrieve the resource in the query
* Appropriately construct url
* Update tests
2024-10-09 14:21:10 +01:00
Haris Rozajac
5f26fd87c7
Query Library: Notifications and query counter ( #94444 )
...
* Notifications about the feature
* i18n
* Fix test
2024-10-09 06:54:11 -06:00
Tobias Skarhed
5f61266931
AutoSizeInput: Forward onChange event ( #94459 )
...
Forward onChange event
2024-10-09 14:38:56 +02:00
Victor Marin
4a3ce66193
[Scopes] Inherit scope paths on node fetching ( #93824 )
...
* [Scopes]: Inherit scope paths on node fetching
* add function desc
---------
Co-authored-by: Bogdan Matei <bogdan.matei@grafana.com >
2024-10-09 14:49:38 +03:00
grafana-pr-automation[bot]
08d03cc315
I18n: Download translations from Crowdin ( #94415 )
2024-10-09 14:19:13 +03:00
Alex Khomenko
380ce19b1a
Routing: Remove nested silences routes ( #94385 )
...
* Update SilencesTable
* Remove nested routes
* Update tests
* Update component names
* Update test
* Remove unused code
2024-10-09 13:56:54 +03:00
Esteban Beltran
84d580179d
Chore: Fix levitate pipeline by removing non-generated link ( #94460 )
...
Remove reporting job link
2024-10-09 13:21:47 +03:00
Alex Khomenko
38f57d270a
Routing: Update alerting template routes ( #94366 )
...
* Templates: Remove Switch routes
* Update tests
* Fix test
* Revert mock behaviour and render AppNotificationList
---------
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
2024-10-09 12:08:10 +03:00
Sonia Aguilar
3924751827
Alerting: Fix detail view not showing instances nor history tab ( #94424 )
...
* Fix detail view not showing instances nor history tab
* small refactor
* Update public/app/features/alerting/unified/hooks/useCombinedRule.ts
Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com >
* refactor
---------
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com >
2024-10-09 11:50:05 +03:00
renovate[bot]
c183a8930b
Update dependency @playwright/test to v1.48.0 ( #94425 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-09 09:47:40 +01:00
Laura Fernández
9491ab9a93
Bookmarks: Create e2e tests ( #90373 )
2024-10-09 10:43:01 +02:00
Alex Khomenko
be7b293b79
Routing: Hoist alerting receivers routes ( #94309 )
...
* Separate receivers components
* Update exports
* Remove type assertion
* Add back test
* Format
* Update test
* Fix test import
2024-10-09 07:29:07 +03:00
Scott Lepper
a3764ebeba
[Search] fix: add and delete ( #94438 )
...
[search] fix: add and delete from index
2024-10-08 16:17:31 -04:00
Karl Persson
2d0ea60017
ServiceAccounts: Run migration in batches ( #94429 )
...
* ServiceAccounts: Run migration in batches
2024-10-08 19:53:23 +02:00
Scott Lepper
c2fb2dcfbe
wire up unified search from the ui; add basic search support ( #94358 )
...
* wire up search from the ui; add basic search support
2024-10-08 13:09:56 -04:00
Ieva
8cade5c550
Role mapping: Add new query parameter to docs ( #94413 )
...
* small doc addition
* swagger gen
* pr feedback
2024-10-08 17:53:21 +01:00
Ezequiel Victorero
19844220db
Playlists: Remove from menu for users without permissions ( #94403 )
2024-10-08 13:04:18 -03:00
Lucy Chen
e1067b817d
ShareDrawer: Export CTA UI tweaks ( #94348 )
...
change arrow size
2024-10-08 11:57:13 -04:00
Mihai Doarna
4bbae5eb0a
LDAP: Render root CA and client cert as text fields ( #94382 )
...
render root CA and client cert as text fields
2024-10-08 18:54:34 +03:00
renovate[bot]
546d1517fa
Update dependency @grafana/aws-sdk to v0.5.0 ( #94416 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-08 16:37:56 +01:00
Scott Lepper
52b70ca976
Grafana indexing poc - load and watch index ( #93843 )
...
* list resources and load into index
* watch for changes and update index
2024-10-08 09:43:23 -04:00
renovate[bot]
0e13719ec6
Update dependency rudder-sdk-js to v2.48.19
2024-10-08 13:27:39 +00:00
Nick Richmond
ff7a96d60e
ExploreMetrics: Ensure compatibility with Incremental Querying ( #94355 )
...
fix: use unique refs in breakdown panels
2024-10-08 09:15:07 -04:00
Matheus Macabu
96384b5181
CloudMigrations: cover cases where library panel has no folder ( #94405 )
2024-10-08 15:14:23 +02:00
Haris Rozajac
ee65f89533
Query Library: Enhance user data ( #94231 )
...
* Enhance user data
* Remove irrrelevant logic outside of try block
* Encode user uid for url
2024-10-08 07:12:33 -06:00
Piotr Jamróz
c6387854c5
TraceView: Fix icon background after making a copy of an attribute ( #94402 )
...
Fix icon color after making a copy
2024-10-08 15:09:06 +02:00
renovate[bot]
f2093c9f05
Update dependency react-dropzone to v14.2.9
2024-10-08 13:01:24 +00:00
Diego Augusto Molina
0cc90f2492
Chore: Add Makefile target to efficiently lint only locally changed Go files ( #94228 )
...
* add Makefile target to efficiently lint only locally changed files
* fix xargs usage; only run if Go files changed
2024-10-08 12:47:33 +00:00
Esteban Beltran
84554735b0
Improve levitate detect breaking changes pipeline ( #94391 )
...
* Update .github/workflows/detect-breaking-changes-levitate.yml
Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com >
---------
Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com >
2024-10-08 15:45:54 +03:00
Andres Martinez Gotor
02f5e1f930
Add Sandbox settings feature flag ( #94388 )
2024-10-08 13:38:54 +01:00
renovate[bot]
5b7ae2bb93
Update dependency rc-slider to v11.1.7
2024-10-08 12:30:04 +00:00
renovate[bot]
8fbd8eabec
Update dependency @types/node to v20.16.11
2024-10-08 11:48:39 +00:00
kay delaney
1d244ae1ec
Chore: Rewrite TraceView css using object styles ( #87621 )
2024-10-08 14:39:22 +03:00
Gabriel MABILLE
b90e09e966
Fix: Deduplicate OrgID in SA logins ( #94378 )
...
* Fix: Deduplicate OrgID in SA logins
2024-10-08 13:35:08 +02:00
renovate[bot]
33326c5a9e
Update dependency @types/diff to v5.2.3
2024-10-08 11:22:41 +00:00
renovate[bot]
1e3009e665
Update dependency @reduxjs/toolkit to v2.2.8
2024-10-08 10:45:43 +00:00
renovate[bot]
7977aa6a84
Update dependency @grafana/scenes to v5.18.3
2024-10-08 09:55:34 +00:00
Mihai Doarna
501f1bc7a9
LDAP: Render bind password as a secret input field ( #94376 )
...
render bind password as a secret input field
2024-10-08 12:54:16 +03:00
renovate[bot]
6190499f03
Update dependency moment-timezone to v0.5.46 ( #94331 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-08 10:04:06 +01:00
Misi
bd7850853e
Auth: Attach external session info to Grafana session ( #93849 )
...
* initial from poc changes
* wip
* Remove public external session service
* Update swagger
* Fix merge
* Cleanup
* Add backgroud service for cleanup
* Add auth_module to user_external_session
* Add tests for token revocation functions
* Add secret migration capabilities for user_external_session fields
* Cleanup, refactor to address feedback
* Fix test
2024-10-08 11:03:29 +02:00
Jo
9eea0e99fc
Chore: Use UIDs as identifiers for teams frontend ( #94345 )
...
* Team frontend now uses UIDs as identifiers. Safe to revert
2024-10-08 09:48:35 +02:00
Jo
945dd052b1
Fix: Ensure SA migrations doesn't hit migrated SAs if rerun ( #94347 )
...
* ensure mig doesn't hit migrated SAs if rerun
* Fix small issue with the test
---------
Co-authored-by: gamab <gabriel.mabille@grafana.com >
2024-10-08 09:45:14 +02:00
Victor Marin
f70fefc67c
DashboardScene: Fix dependencies on field overrides ( #94335 )
...
fix deps on field overrides
2024-10-08 08:25:42 +03:00
Victor Marin
a63a271f88
DashboardScene: Fix row actions removing behavior on second update ( #94333 )
...
fix row actions removing behavior on second update
2024-10-08 08:25:29 +03:00
Yuri Tseretyan
b8df574aba
Alerting: Support optimistic concurrency in notification policies service ( #93932 )
...
* update notification policy provisioning service to support optimistic concurrency
* rewrite tests and include concurrency tests
2024-10-08 00:09:02 +03:00
Jev Forsberg
0e8fa1f5f8
CI: Remove redundant FE and BE tests from release pipeline ( #94173 )
...
baldm0mma/remove_tests/ remove fe and be tests
2024-10-07 13:55:17 -06:00
Yuri Tseretyan
4c1cb79069
Alerting: Add access control to receiver status API ( #94287 )
2024-10-07 15:21:29 -04:00
Ezequiel Victorero
cc40211f71
Chore: Update api docs ( #92616 )
2024-10-07 14:49:58 -03:00
Drew Slobodnjak
3e583ff423
VizRepeater: Prevent opposite scrollbar ( #94230 )
...
* VizRepeater: Prevent opposite scrollbar
* Update packages/grafana-ui/src/components/VizRepeater/VizRepeater.tsx
Co-authored-by: Adela Almasan <88068998+adela-almasan@users.noreply.github.com >
* Update packages/grafana-ui/src/components/VizRepeater/VizRepeater.tsx
Co-authored-by: Adela Almasan <88068998+adela-almasan@users.noreply.github.com >
---------
Co-authored-by: Adela Almasan <88068998+adela-almasan@users.noreply.github.com >
2024-10-07 10:05:09 -07:00
grafana-pr-automation[bot]
45eb292a74
I18n: Download translations from Crowdin ( #94343 )
2024-10-07 17:38:59 +01:00
Brendan O'Handley
2113c13e6e
Explore metrics: Add bookmarks empty state ( #94291 )
...
* add empty state component for bookmarks
* translations
* remove image, update text
* all text
2024-10-07 10:59:06 -05:00
renovate[bot]
1545a58d3c
Update dependency @grafana/scenes to v5.18.2 ( #94321 )
...
* Update dependency @grafana/scenes to v5.18.2
* fix e2e test
* update e2e test
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-10-07 16:04:20 +01:00
Arati R.
ea5cf7c51f
Unified Storage /Folders: Allow Unified Storage subfolders creation ( #94327 )
...
* Add parents field to folder DTO
* Allow subfolder creation when folder flag is enabled
* Update UnstructuredToLegacyFolder
* Include parents field when creating folder
2024-10-07 16:48:56 +02:00
renovate[bot]
0d67b5a6e9
Update dependency jest-fail-on-console to v3.3.1
2024-10-07 14:48:24 +00:00
Ieva
d7aca7d0fe
Role mapping: Add group_mapping_uid column to user_role table ( #93810 )
...
* add group_mapping_uid column to user_role table
* add group mapping UID to user role struct
2024-10-07 15:47:16 +01:00
jackyin
63bdbb67fc
SubMenu: Fix expanding sub menu items on touch devices ( #93208 )
...
* click more in mobile phone
* use stopPropagation stop event
* delete log
* delete inspect click and add stopPropagation
* bug fix
* fix unit tests
* fix e2e tests
* fix old-arch tests
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-10-07 15:22:18 +01:00
grafana-pr-automation[bot]
1a3365d99b
I18n: Download translations from Crowdin ( #94317 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-07 17:19:19 +03:00
renovate[bot]
72aa6d6e28
Update dependency i18next to v23.15.2
2024-10-07 14:08:19 +00:00
Brendan O'Handley
aefe08f738
Explore metrics: Add limit for adhoc filters options in providers functions ( #94036 )
...
* add limit for adhoc filters in providers functions
* add comments to describe function
* return early if filtersVariable is not an instance of AdHocFiltersVariable
* update function comments
* add tests to confirm the providers are limited to 10000
2024-10-07 09:06:50 -05:00
Lars Stegman
f9361bf5bf
PageHeader: Fill title container width ( #94213 )
...
page-header title: flex 1
2024-10-07 15:41:18 +02:00
Juan Cabanas
e2735dd9c8
ShareInternally: Remove menu item description ( #94326 )
...
Share internally menu item description removed
2024-10-07 10:36:36 -03:00
renovate[bot]
65fc40385a
Update dependency eslint-plugin-react to v7.37.1
2024-10-07 13:33:33 +00:00
renovate[bot]
32c55555cb
Update dependency @types/node to v20.16.10
2024-10-07 13:00:31 +00:00
Misi
0539ccf10d
Auth: Fix redirection when auto_login is enabled ( #94311 )
...
* Fix for SAML auto login
* Fix for OAuth auto login
2024-10-07 14:59:00 +02:00
Matheus Macabu
6bd2f9f3ea
CloudMigrations: remove duplicated import on test ( #94322 )
2024-10-07 15:32:52 +03:00
renovate[bot]
45835f7ea2
Update dependency @types/lodash to v4.17.10
2024-10-07 10:54:58 +00:00
Matheus Macabu
712314e832
CloudMigrations: create onPremToCloudMigrationsAlerts feature toggle in experimental stage ( #94257 )
...
CloudMigrations: create onPremToCloudMigrationsAlerts feature toggle in experimental stage
This feature toggle requires the `onPremToCloudMigrations` toggle to be enabled in order to work.
Given migration of Alerts (and child resources) is more critical, this flag was separated from
the main one.
2024-10-07 12:53:24 +02:00
Matheus Macabu
e89aef57cb
CloudMigrations: wire ngalert to cloud migration service and add slicesext.Map helper ( #94254 )
...
* CloudMigrations: add slicesext.Map function to simplify dto creation
* CloudMigrations: wire ngalert to cloud migration service
2024-10-07 12:53:14 +02:00
Matheus Macabu
9af095d730
CloudMigrations: Add data types for alerts resources ( #94251 )
2024-10-07 12:52:31 +02:00
Dana Axinte
d88be2819d
CloudMigrations: Store parent folder name in cloud_migration_resource table ( #94009 )
...
* use name in fe
* store parent folder name in local db
* clean up
* tiny test
* trial react
* rename to parent name
* go lint
* generate api and ts
* go tests
* rearrange
* clean
* update with suggestions from josh
* make library elements work
* updates from comments
* global migration types
* parent name for alter table
2024-10-07 11:35:08 +01:00
Arati R.
5a9bd1d1cf
K8s/Folders: Fix folder create payload ( #94273 )
...
* Fix createdBy and updatedBy
* Fix refreshing permission cache
* Update created time
* Fix user identifier parsing
2024-10-07 13:32:25 +03:00
Ashley Harrison
d04dcb3da0
SingleTopNav: Fix tab order for docked menu ( #94306 )
...
fix tab order for docked menu when singleTopNav is enabled
2024-10-07 11:16:30 +01:00
renovate[bot]
0c8433c9e5
Update dependency @react-types/overlays to v3.8.10
2024-10-07 10:10:31 +00:00
renovate[bot]
b65fc7c74e
Update dependency @grafana/scenes to v5.18.1
2024-10-07 10:09:35 +00:00
maicon
261be0facd
UniStore: Evaluate Folder DTO attributes ( #93968 )
...
* UniStore: Evaluate Folder DTO attributes
* Handle AccessControl
* Reduce the number of parameters to newToFolderDto
* Detach Metadata helpers from HTTPServer
* Add tests
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2024-10-07 12:08:16 +02:00
renovate[bot]
5a7d6c104e
Update dependency @grafana/faro-web-tracing to v1.10.2
2024-10-07 09:33:22 +00:00
Roberto Jiménez Sánchez
19c77eaae1
CloudMigrations: Fix traceability & HTTP Client initialisation ( #94141 )
...
* Add traceability to Migration Assistant feature
* Fix some compilation errors
* Fix lint issues
* Use async context
* Add trace for LibraryElements
2024-10-07 11:31:45 +02:00
Alex Khomenko
9680722b78
Dashboards: Switch to useParams hook ( #94060 )
...
* Update DashboardScenePage
* Update SoloPanelPage
* Update DashboardPage
* Cleanup
* Switch to useLocation
* Do not use location from history
2024-10-07 12:11:57 +03:00
Matheus Macabu
4bc7a35f56
UnifiedStorage: fix watcher test ( #94301 )
2024-10-07 12:07:48 +03:00
kay delaney
4569872048
Chore: Add tests for HelpWizard ( #94271 )
2024-10-07 10:02:01 +01:00
Jo
acd13e05ef
Teams: Support team UIDs in APIs ( #94011 )
...
* support team UIDs in APIs
* unify middleware logic and add team tests
* add UID test to resource permissions
* remove unused middleware
2024-10-07 10:18:24 +02:00
Tim Mulqueen
413548806d
add zendesk to enterprise ds list ( #91751 )
2024-10-07 11:10:20 +03:00
Georges Chaudy
03f55e5288
Unistore : Ensure Watch works in HA mode ( #94120 )
...
* Revert "Revert "Unistore : Ensure Watch works in HA mode." (#94097 )"
This reverts commit 7c3fc2f261 .
* make previous_resource_version nullable
* handle nil case
2024-10-07 10:01:53 +02:00
Alex Khomenko
3bda6c2c0a
Routing: Use location from hooks ( #94148 )
...
* Update GrafanaRoute
* Update Silences
* Update PublicDashboardPage
* Cleanup
* Switch to the location from locationService
* Move location to render
2024-10-07 09:31:13 +03:00
Alex Khomenko
d730c66579
Routing: Remove useRouteMatch hook ( #94152 )
...
* Update useSilenceNavData.ts
* Update MuteTimings
* Update AppRootPage.tsx
* Cleanup props
* Remove empty file
2024-10-07 08:21:44 +03:00
Brandon
fbad76007d
Alerting: Limit and clean up old alert rules versions ( #89754 )
2024-10-05 00:31:21 +03:00
Drew Slobodnjak
4ec75bcc60
Transformations: Show filter for single query ( #94238 )
2024-10-04 14:17:46 -07:00
Matthew Jacobson
099055e8a5
Alerting: Verify receiver permission read on rule create/update ( #94286 )
...
* Alerting: Verify receiver permission read on rule create/update
2024-10-04 23:52:38 +03:00
Yuri Tseretyan
27c7e33217
Alerting: Update permissions to reciever and template test API ( #94282 )
...
* add action "alert.notifications.receivers:test" to receiver creator
* update API permissions to accept new granular actions
2024-10-04 15:52:44 -04:00
renovate[bot]
03ff8a5cdb
Update dependency @react-types/menu to v3.9.12
2024-10-04 19:06:30 +00:00
Drew Slobodnjak
d0abb08f31
Limit: Prevent negative limit ( #94237 )
2024-10-04 12:05:16 -07:00
renovate[bot]
797da67467
Update dependency @lezer/common to v1.2.2
2024-10-04 17:27:16 +00:00
renovate[bot]
a18482da38
Update dependency @grafana/scenes to v5.18.0 ( #94281 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-04 20:26:11 +03:00
Ivan Ortega Alba
d09017f7a2
Dashboard Scene: Sync variable state with TemplateSrv result ( #93327 )
...
* Generate options for variables through TemplateSrv
* Add refresh when object changes
* Remove unnecesary static function
* Extract logic
* Add extra test case when variable changes and refresh event is triggered
* bring back old logic, query options should not live in the dashboard json
* add missing change
* Add support to keep variable options in query
* tests
* move refreshEvent to DashboardVariableDependency
---------
Co-authored-by: alexandra vargas <alexa1866@gmail.com >
Co-authored-by: Victor Marin <victor.marin@grafana.com >
2024-10-04 20:19:18 +03:00
Misi
2b320b0f9e
Auth: Only apply redirection if the user is signed in (session storage redirection) ( #94279 )
...
Fix: do not redirect if the user is not signed in
2024-10-04 20:06:06 +03:00
renovate[bot]
6344eeac3b
Update dependency @grafana/faro-web-sdk to v1.10.2
2024-10-04 16:52:13 +00:00
Torkel Ödegaard
938bc9c2cc
DashboardScene: Update matcher options immutably ( #93960 )
2024-10-04 17:39:35 +02:00
Haris Rozajac
84cee7cab6
Query Library: Vertical space between rows; change "Run query" button color ( #94177 )
2024-10-04 09:38:23 -06:00
Gabriel MABILLE
fe3ada4a6c
Revert "AuthN: Managed plugin Service Accounts general availability" ( #94270 )
...
Revert "AuthN: Managed plugin Service Accounts general availability (#93384 )"
This reverts commit 943525391e .
2024-10-04 17:28:24 +02:00
renovate[bot]
b70650e098
Update dependency @grafana/faro-web-sdk to v1.10.2
2024-10-04 15:24:27 +00:00
Mihai Doarna
82a5913dfa
SSO: Fix secrets migration for LDAP in SSO settings ( #94252 )
...
fix secrets migration for LDAP in SSO settings
2024-10-04 18:18:53 +03:00
Ieva
6eeef432de
RBAC: Add dash and folder action sets where they are missing ( #92832 )
...
* add dash and folder action sets where they are missing
* remove an empty line, try to make linting pass
2024-10-04 16:03:04 +01:00
renovate[bot]
77e1f222a0
Update babel monorepo to v7.25.7 ( #94262 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-04 15:58:12 +01:00
Josh Hunt
c7c66ccf4a
BrowseDashboards: Limit the type for folder parents to just a few fields ( #94244 )
...
* BrowseDashboards: Limit the type for folder parents to just title, uid, and url
* export type, use in buildNavModel
2024-10-04 17:32:50 +03:00
Ashley Harrison
e43e430e6a
SingleTopNav: Move scopes selector to second bar ( #94186 )
...
move scopes selector to second bar
2024-10-04 15:31:28 +01:00
renovate[bot]
6ed3868921
Update dependency @emotion/css to v11.13.4
2024-10-04 14:22:51 +00:00
grafana-pr-automation[bot]
89b292f514
I18n: Download translations from Crowdin ( #94261 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-04 17:21:48 +03:00
Ashley Harrison
40ad52fdbc
SingleTopNav: Handle for non-scenes dashboards ( #94198 )
...
handle singleTopNav for non-scenes dashboards
2024-10-04 15:11:32 +01:00
Sergej-Vlasov
f32fe9a846
PanelEditor: add data provider when switching from non data panel ( #94220 )
...
* add data provider when switching from non data panel
* handle adding and cleaning up data provider in panel editor on panel switch
* add data provider check sin panel editor tests
2024-10-04 15:05:52 +01:00
renovate[bot]
b2d930e079
Update dependency @tanstack/react-virtual to v3.10.8
2024-10-04 14:02:27 +00:00
kay delaney
b5821ef473
PanelSearch: Add support for rows & repeats ( #94243 )
...
* PanelSearch: Add support for rows & repeats
* Show message if there are no matches
2024-10-04 15:01:01 +01:00
renovate[bot]
94444319ec
Update React Aria
2024-10-04 13:59:26 +00:00
Sonia Aguilar
4c27b2c59d
Alerting: Fix default value for input in simple condition ( #94248 )
...
fix default value for input
2024-10-04 16:57:29 +03:00
renovate[bot]
93b8243da7
Update dependency @grafana/experimental to v2 ( #93919 )
...
* Update dependency @grafana/experimental to v2
* add data-testid to old save button so it works properly in e2e test
* fix azure monitor e2e tests
* use raw selectors
* remove .only
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-10-04 14:21:10 +01:00
Jo
544b5f905c
Anonymous: Fix anonymous cache ignoring device limit evaluation ( #94218 )
...
* ensure cache contains the evaluation result for device limit
* add device limit errors and warnings
* fix lint
2024-10-04 15:20:55 +02:00
renovate[bot]
6dfe9aef95
Update dependency @grafana/scenes to v5.17.0 ( #94249 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-04 16:10:01 +03:00
Giuseppe Guerra
0db65d229e
Plugins: Add Subresource Integrity checks ( #93024 )
...
* Plugins: Pass hashes for SRI to frontend
* Add SRI hashes to frontendsettings DTOs
* Add docstring
* TestSriHashes
* Fix typo
* Changed SriHashes to ModuleHash
* update loader_test compareOpts
* update ModuleHash error message
* Add TestModuleHash/no_module.js
* Add omitEmpty to moduleHash
* Add ModuleHash to api/plugins/${pluginId}/settings
* moved ModuleHash field
* feat(plugins): add moduleHash to bootData and plugin types
* feat(plugins): if moduleHash is available apply it to systemjs importmap
* Calculate ModuleHash for CDN provisioned plugins
* Add ModuleHash tests for TestCalculate
* adjust test case name
* removed .envrc
* Fix signature verification failing for internal plugins
* fix tests
* Add pluginsFilesystemSriChecks feature togglemk
* renamed FilesystemSriChecksEnabled
* refactor(plugin_loader): prefer extending type declaration over ts-error
* added a couple more tests
* Removed unused features
* Removed unused argument from signature.DefaultCalculator call
* Removed unused argument from bootstrap.DefaultConstructFunc
* Moved ModuleHash to pluginassets service
* update docstring
* lint
* Removed cdn dependency from manifest.Signature
* add tests
* fix extra parameters in tests
* "fix" tests
* removed outdated test
* removed unused cdn dependency in signature.DefaultCalculator
* reduce diff
* Cache returned values
* Add support for deeply nested plugins (more than 1 hierarchy level)
* simplify cache usage
* refactor TestService_ModuleHash_Cache
* removed unused testdata
* re-generate feature toggles
* use version for module hash cache
* Renamed feature toggle to pluginsSriChecks and use it for both cdn and filesystem
* Removed app/types/system-integrity.d.ts
* re-generate feature toggles
* re-generate feature toggles
* feat(plugins): put systemjs integrity hash behind feature flag
---------
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
2024-10-04 14:55:09 +02:00
Misi
153036be2e
Docs: Add docs for configuring kc_idp_hint ( #94226 )
...
Add docs for configuring kc_idp_hint
2024-10-04 14:32:26 +02:00
Diego Augusto Molina
7d32d5eff4
Unistore: Reuse MySQL and Postgres Grafana core config instead of the object ( #94223 )
...
* Reuse MySQL and Postgres Grafana config instead of the object
- Only reuse the Grafana DB object for SQLite. Support for SQLite will be added in a different PR
- Fail when reusing the Grafana DB object if it is using DB instrumentation
- In the case that we have to reuse a Grafana DB with its instrumentation, fail with an error that describes a workaround
- Add regression tests to reproduce incident 2144
* remove temp file
* fix linter
* fix linter x2
* fix linter x3
2024-10-04 12:07:20 +00:00
Mihai Doarna
a82f102878
Auth: Promote ssoSettingsLDAP flag to public preview ( #94242 )
...
* promote ssoSettingsLDAP flag to public preview
* add generated file
2024-10-04 14:59:42 +03:00
Aaron Godin
458fc69616
IAM: Add test for AddDataSource managed permissions ( #94113 )
...
Add test for AddDataSource managed permissions and fix control flow issues
2024-10-04 06:35:25 -05:00
Ihor Yeromin
9801b92c3d
Table: Fix table cell text jumping on hover ( #93913 )
...
fix(table): table cell text jumping on hover
2024-10-04 13:20:15 +02:00
linoman
e37b43117b
SSO LDAP: Implement documentation ( #94215 )
...
* Add documentation for LDAP UI
* Add hyphen to string
* Polish writing
---------
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
2024-10-04 12:33:47 +02:00
Alexander Zobnin
5d724c2482
Zanzana: Initial dashboard search ( #93093 )
...
* Zanzana: Search in a background and compare results
* refactor
* Search with check
* instrument zanzana client
* add single_read option
* refactor
* refactor move check into separate function
* Fix tests
* refactor
* refactor getFindDashboardsFn
* add resource type to span attributes
* run ListObjects concurrently
* Use list and search in less cases
* adjust metrics buckets
* refactor: move Check and ListObjects to AccessControl implementation
* Revert "Fix tests"
This reverts commit b0c2f072a2 .
* refactor: use own types for Check and ListObjects inside accesscontrol package
* Fix search scenario with low limit and empty query string
* more accurate search with checks
* revert
* fix linter
* Revert "revert"
This reverts commit ee5f14eea8 .
* add search errors metric
* fix query performance under some conditions
* simplify check strategy
* fix pagination
* refactor findDashboardsZanzanaList
* Iterate over multiple pages while making check request
* refactor listUserResources
* avoid unnecessary db call
* remove unused zclient
* Add notes for SkipAccessControlFilter
* use more accurate check loop
* always use check for search with provided UIDs
* rename single_read to zanzana_only_evaluation
* refactor
* update go workspace
* fix linter
* don't use deprecated fields
* refactor
* fail if no org specified
* refactor
* initial integration tests
* Fix tests
* fix linter errors
* fix linter
* Fix tests
* review suggestions
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
* fix limit
* refactor
* refactor tests
* fix db config in tests
* fix migrator (postgres)
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
2024-10-04 12:27:10 +02:00
Arati R.
f403bc57d5
K8s/Folders: Clear permissions cache on create ( #94214 )
...
* Clear user permissions cache after folder creation
* Use k8s client only for create
2024-10-04 11:26:36 +02:00
Sven Grossmann
a766b378d0
Explore Logs: Preinstall for onprem Grafana instances ( #94221 )
2024-10-04 11:15:29 +02:00
grafana-pr-automation[bot]
788ef7fec3
I18n: Download translations from Crowdin ( #94210 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-04 10:00:30 +01:00
Ashley Harrison
d4bb8122cb
SingleTopNav: Tweaks for mobile responsiveness ( #94188 )
...
tweaks for mobile responsiveness
2024-10-04 09:54:17 +01:00
Karl Persson
c7ca2bfcf5
ServiceAccounts: Remove permissions to service account when it is deleted ( #93877 )
...
* Service account: clean up permissions related to service accounts when deleted
* Add migration for deleting orphaned service account permissions
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2024-10-04 09:01:09 +02:00
Gabriel MABILLE
943525391e
AuthN: Managed plugin Service Accounts general availability ( #93384 )
...
External Service Accounts: General availability
2024-10-04 08:48:38 +02:00
Levente Balogh
6096f46774
Plugin Extensions: Require meta-data to be defined in plugin.json during development mode ( #93429 )
...
* feat: add extensions to the backend plugin model
* feat: update the frontend plugin types
* feat(pluginContext): return a `null` if there is no context found
This will be necessary to understand if a certain hook is running inside a plugin context or not.
* feat: add utility functions for checking extension configs
* tests: fix failing tests due to the type updates
* feat(AddedComponentsRegistry): validate plugin meta-info
* feat(AddedLinksRegistry): validate meta-info
* feat(ExposedComponentsRegistry): validate meta-info
* feat(usePluginComponent): add meta-info validation
* feat(usePluginComponents): add meta-info validation
* feat(usePluginLinks): add meta-info validation
* fix: only validate meta-info in registries if dev mode is enabled
* tests: add unit tests for the restrictions functionality
* tests: fix Go tests
* fix(tests): revert accidental changes
* fix: run goimports
* fix: api tests
* add nested app so that meta data can bested e2e tested
* refactor(types): extract the ExtensionInfo into a separate type
* refactor(extensions/utils): use Array.prototype.some() instead of .find()
* refactor(usePluginLinks): update warning message
* feat(usePluginExtensions()): validate plugin meta-info
* Wip
* fix(e2e): E2E tests for extensions
* fix(extensions): allow multiple "/" slashes in the extension point id
* fix(extensions/validators): stop validating the plugin id pattern
---------
Co-authored-by: Erik Sundell <erik.sundell87@gmail.com >
2024-10-04 08:41:26 +02:00
Nathan Marrs
7188c13d22
ElasticSearch: Add keywords to plugin.json ( #94174 )
...
* add keywords
* add additional keywords
2024-10-04 01:52:19 +03:00
Haris Rozajac
2ea662854a
QueryLibrary: Don't use description when generating name ( #94236 )
2024-10-03 16:24:39 -06:00
Todd Treece
a4d919c157
Chore: Update k8s.io dependencies to v0.31.1 ( #93696 )
2024-10-03 15:50:15 -04:00
Kyle Cunningham
a38d6e57c2
Get help: Make quality of life updates ( #93594 )
...
* Get help updates
* Remove beta badge
* Further cleanups
* Some updates
* Fix tests
* Prettier
* Update betterer results
* i18n
* i18n extraction
* Bettererest
2024-10-03 13:38:18 -05:00
Stephanie Hingtgen
4623a6471b
SQLStore: Fix parseTime check ( #94175 )
2024-10-03 08:58:33 -05:00
Misi
ee8bb63d2d
Auth: Replace jmespath/go-jmespath with jmespath-community/go-jmespath ( #94203 )
...
Replace jmespath/go-jmespath with jmespath-community/go-jmespath
2024-10-03 15:43:15 +02:00
Laura Benz
f92ef0e126
RestoreDashboards: Add link to dashboards browse view ( #94000 )
...
* feat: add button
* refactor: clean up
* feat: add tracking
* refactor: change button copy
* refactor: add payload to tracking
* refactor: add subURL
* refactor: user permissions
* refactor: group conditions
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
---------
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
2024-10-03 15:13:29 +02:00
Gilles De Mey
4224d05934
Alerting: Hoist routes for mute timings ( #94201 )
2024-10-03 14:41:11 +02:00
Ashley Harrison
87fd36aecf
SingleTopNav: Add chevron and tooltip to menu trigger ( #94199 )
...
add chevron and tooltip to menu trigger
2024-10-03 13:20:32 +01:00
Joey
eb60773073
Tempo: Add deprecation notice for Aggregate By ( #94050 )
...
Add deprecation notice
2024-10-03 12:13:56 +01:00
Joao Silva
c04027919b
Bookmarks: Turn feature toggle on by default ( #94194 )
2024-10-03 13:45:31 +03:00
Joey
75640a6ad3
Tempo: Update lezer-traceql version ( #94197 )
...
Update lezer-traceql version
2024-10-03 11:40:38 +01:00
grafana-pr-automation[bot]
cda3791d49
I18n: Download translations from Crowdin ( #94196 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-03 11:22:17 +01:00
Arati R.
a42caa7a61
K8s/Folders: Fix tests for creating folders ( #94192 )
...
* Add feature toggle grafanaAPIServerTestingWithExperimentalAPIs
* Customise registration of FolderAPIBuilder for tests and fix tests
2024-10-03 12:11:40 +02:00
Matheus Macabu
1635a3cd67
CloudMigrations: Add support for migration of Library Elements (Panels) resources ( #93898 )
...
* CloudMigrations: create snapshots of Library Elements
* CloudMigrations: render library element resource in resources table
* CloudMigrations: create newtype with necessary fields for library element creation
2024-10-03 11:54:54 +02:00
Ashley Harrison
dd7f45011d
SingleTopNav: Add toolbar to Page and replace usage of AppChromeUpdate ( #94022 )
...
* add page-level toolbar for actions
* handle explore
* fix panel edit sizing
* remove comments
* remove TOGGLE_BUTTON_ID
* undo alerting changes
* use fixed position header
* feature toggle Page changes
* add page context for alerting use cases
* simplify
* prettier...
2024-10-03 09:52:01 +01:00
Tobias Skarhed
e48d166c3e
New Select: width auto sets width based on content ( #93800 )
...
* Add inline prop for AutoSizeInput
* Rename to autoSize
* Use conditional props and width auto
* remove variable
* Remove 100% max width
2024-10-03 11:45:22 +03:00
Alexander Zobnin
bd1741653d
Annotations: Fix composite store read ( #94158 )
...
* Annotations: Fix composite store read
* Add test
* check error
2024-10-03 09:14:06 +02:00
Andres Martinez Gotor
4c4f7a3331
Chore: Restore permissions used to create plugins dir ( #94139 )
2024-10-03 09:09:54 +02:00
grafana-pr-automation[bot]
bcee44db5f
I18n: Download translations from Crowdin ( #94168 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-03 07:27:27 +03:00
Yuri Tseretyan
3fcc259703
Move CVE-2024-8118 to correct versions ( #94167 )
2024-10-02 17:24:46 -04:00
Isabella Siu
4be5ccaece
Cloudwatch: Update grafana-aws-sdk ( #94155 )
...
Cloudwatch: update grafana-aws-sdk
2024-10-02 14:22:41 -04:00
Haris Rozajac
eb7573828e
Query Library: Search and filter ( #94038 )
...
* Search by query text, pagination
* Support default filtering by active datasource; filter by datasource name; improve table display
* Cleanup
* Fix update and delete url paths
* Fix test
* Use Stack, remove uneccessary function wrapper
* Notify when something is wrong with a row, add interaction tracking
* i18n
2024-10-02 11:33:14 -06:00
grafana-delivery-bot[bot]
c38eab33f5
Release: update changelog for 11.2.2 ( #94114 )
...
* Update changelog
* add CVE to 11.2.1
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2024-10-02 12:46:10 -04:00
Timur Olzhabayev
0f5eaac6df
Chore: Updating codeowners for plugins cli commands ( #94136 )
...
Updating codeowners for plugins cli commands
2024-10-02 18:35:25 +02:00
Misi
d3d5735098
Auth; Fix shourt url redirect when useSessionStorageForRedirection is enabled ( #94163 )
...
Fix shourt url redirect
2024-10-02 18:25:47 +02:00
Isabel Matwawana
fb3b13b567
Docs: Geomap visualization refactor ( #94101 )
...
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
2024-10-02 11:34:22 -04:00
Laura Benz
a0542e7307
RestoreDashboards: Fix restoring to 'Dashboards' ( #94086 )
...
* pairing WIP
* refactor: clean up
---------
Co-authored-by: joshhunt <josh@trtr.co >
2024-10-02 17:15:31 +02:00
Konrad Lalik
9fff736549
Alerting: Support k8s templates API ( #92112 )
...
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
Co-authored-by: Sonia Aguilar <soniaaguilarpeiron@gmail.com >
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2024-10-02 17:14:54 +02:00
Sonia Aguilar
fe656229c3
Alerting: Pluralize error tag ( #94157 )
2024-10-02 18:14:35 +03:00
Marcus Efraimsson
e22b510cd8
API Server: Fix extracting jaeger remote trace from incoming request ( #93998 )
2024-10-02 17:07:31 +02:00
Karl Persson
d75a9b6aeb
User: Pass name to list users to filter out the correct one ( #94153 )
...
Pass name to list users to filter out the correct one
2024-10-02 17:02:32 +02:00
Gilles De Mey
41b175e7ae
Alerting: Use useProduceNewAlertmanagerConfiguration for contact points ( #88456 )
2024-10-02 17:56:35 +03:00
Isabel Matwawana
02f608ed05
Docs: Fix Sharing page aliases ( #94118 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-10-02 10:21:43 -04:00
Michael Derynck
97f480386f
Alerting: Update OnCall integration url ( #93407 )
...
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2024-10-02 16:13:55 +02:00
Kyle Brandt
a1556fded2
Prometheus: Suggestions - log parse errors and continue ( #94143 )
...
* Prometheus: Suggestions - log parse errors and continue
2024-10-02 13:29:45 +01:00
Sonia Aguilar
e80ef522bb
Alerting: Hide query name when using simplified mode in the alert rule ( #93779 )
...
* Hide query name when using simplified mode in the alert rule
* rename hideName to hideRefId
2024-10-02 13:55:48 +02:00
kay delaney
dae492f6c8
PanelSearchLayout: Support repeat panels ( #94140 )
2024-10-02 12:27:27 +01:00
Diego Augusto Molina
658c79e1d5
Chore: fix initialization data race in infra usagestats ( #94070 )
...
fix initialization data race in usagestats
2024-10-02 07:30:44 -03:00
grafana-pr-automation[bot]
a7497ae846
I18n: Download translations from Crowdin ( #94138 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-02 11:19:31 +01:00
Ashley Harrison
cf61ab3da2
SingleTopNav: Flip collapse arrows for better alignment ( #94081 )
...
flip megamenu arrows for better alignment
2024-10-02 11:08:34 +01:00
Misi
ddbbf8df4b
Auth: Fix redirection in case of ERR_TOKEN_REVOKED ( #94137 )
...
Fix redirection in case of token revoked error
2024-10-02 12:08:25 +02:00
renovate[bot]
573ba9be18
Update dependency @grafana/scenes to v5.16.2 ( #94082 )
...
* Update dependency @grafana/scenes to v5.16.2
* fix e2e test
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-10-02 10:58:24 +01:00
Erik Sundell
d6d51f0316
Plugin E2E: Add more api tests ( #94073 )
...
* add tests
* bump plugin-e2e
* use range
* update lock file
2024-10-02 11:55:04 +02:00
linoman
763163603c
SSO LDAP: Bug-bashing follow-up changes ( #94093 )
...
* fix html encoding rendering
* Redirect to providers page
* Fix cert isEmpty
* Rework input fields into multiselect
* add disable button
* Rework MultiSelect design
* Remove prompt modal
2024-10-02 11:42:23 +02:00
Alexander Zobnin
3f6a64cc57
Navigation: Don't show "add new connection" if user has no permissions ( #94058 )
...
Navigation: Don't show "add new connection" if user does not have permissions
2024-10-02 10:02:28 +02:00
David Garcia
dd8c50ec12
FIX: typo in generic oauth org mapping json ( #94117 )
2024-10-02 07:34:23 +00:00
Alex Khomenko
f55f7f2634
Routing: Replace Redirect component with Navigate ( #94072 )
...
* Routing: Replace Redirect with Navigate
* Use replace state
* Update routes.tsx
* Fix test
2024-10-02 09:44:18 +03:00
Brendan O'Handley
28d9cc7310
Explore metrics: Fix bug that turns off otel experience when selecting otel variables ( #94106 )
...
fix bug that turns of otel experience when selecting otel variables
2024-10-01 15:09:39 -05:00
Kevin Minehart
26c3ed89a3
CI: upgrade grabpl v3.0.53 ( #94112 )
...
* upgrade grabpl to v3.0.53
* upgrade grabpl to v3.0.53
2024-10-01 21:03:38 +01:00
grafana-delivery-bot[bot]
518afa5a24
Release: update changelog for 11.1.7 ( #94102 )
...
* Update changelog
* Add CVE
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2024-10-01 15:26:27 -04:00
Yuri Tseretyan
2d89a27741
Update CHANGELOG.md ( #94103 )
...
Updates Changelog to include CVE to 10.3.11 and 10.4.10 versions
2024-10-01 15:03:34 -04:00
Georges Chaudy
7c3fc2f261
Revert "Unistore : Ensure Watch works in HA mode." ( #94097 )
...
Revert "Unistore : Ensure Watch works in HA mode. (#93428 )"
This reverts commit 0a26c9e9ae .
2024-10-01 18:45:47 +00:00
Yuri Tseretyan
78290301f4
Alerting: Update GettableRuleGroupConfig and PostableRuleGroupConfig with missing fields supported by Prometheus ( #94030 )
2024-10-01 14:17:57 -04:00
grafana-delivery-bot[bot]
aa225a4450
Release: update changelog for 11.0.6 ( #94098 )
...
* Update changelog
* add alerting cve fix note
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com >
2024-10-01 17:57:14 +00:00
grafana-delivery-bot[bot]
74fa0af1c2
Release: update changelog for 10.4.10 ( #94095 )
...
Update changelog
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-01 17:29:32 +01:00
grafana-delivery-bot[bot]
e0294b0b83
Release: update changelog for 10.3.11 ( #94090 )
...
Update changelog
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-01 16:57:59 +01:00
Bogdan Matei
a87df0528b
Prometheus: Interpolate vars in adhoc filters request ( #94087 )
...
* Interpolate vars in adhoc filters request
* interpolate variables on BE
---------
Co-authored-by: Kyle Brandt <kyle@grafana.com >
2024-10-01 18:33:06 +03:00
brendamuir
cbf8e7e679
Alerting docs: update that test functionality only for G Alertmanager ( #94064 )
...
* Alerting docs: update that test functionality only for G Alertmanager
* ran prettier
* fixed alphabetical order
* indentation
* format
* all pretty, no pity
---------
Co-authored-by: tonypowa <tonypowa@gmail.com >
2024-10-01 17:28:26 +02:00
kay delaney
1b82595251
UI/AutoSizeInput: Fixes issue where controlledValue being null caused crash ( #94078 )
2024-10-01 16:02:26 +01:00
grafana-pr-automation[bot]
a9095b1dd1
I18n: Download translations from Crowdin ( #94076 )
2024-10-01 15:27:28 +01:00
Matthew Jacobson
f39c5ed9f7
Alerting: Improve Amazon SNS documentation ( #93862 )
...
* Alerting: Improve Amazon SNS documentation
2024-10-01 09:43:58 -04:00
Alex Khomenko
586c95654d
Routing: Update more components using props.match to use hooks ( #93918 )
...
* RuleViewed: Get params from hook
* ProviderConfigPage: Use hooks for redux logic
* Update NewDashboardWithDS
* Update StorageFolderPage
* Update StoragePage
* Cleanup
* Update PublicDashboardPage
* Update RuleEditor
* Update BrowseFolderAlertingPage
* Update BrowseFolderLibraryPanelsPage
* Update SoloPanelPage
* Fix test
* Add useParams mocks
* Update ServiceAccountPage
* Simplify mocks
* Update SignupInvited
* Update Playlist pages
* Update AdminEditOrgPage
* Update UserAdminPage
* Update Silences
* Update BrowseDashboardsPage
* Update GrafanaModifyExport
* Update AppRootPage
* Remove useParams mock
* Update PublicDashboardsPages
* Cleanup
* Update PublicDashboardPage.test
* Cleanup
* Update PublicDashboardScenePage.test.tsx
* Update imports
* Revert AppRootPage changes
* Add back AppRootPage changes
2024-10-01 16:29:11 +03:00
Laura Benz
bc3e1df5e3
RestoreDashboards: Improve tracking ( #93934 )
...
feat: add tracking in DeleteModal
2024-10-01 15:27:25 +02:00
Laura Benz
6a30240f58
RestoreDashboards: Fix 'Dashboards' typo in folder picker ( #94046 )
...
fix: typo
2024-10-01 15:25:04 +02:00
Alexa V
5cc11bd1a1
Dashboard Scene: Improve Angular experience ( #92847 )
...
In Dashboard Scene:
* Display a warning in the panel header when rendering an angular panel
* Display a warning in the dashboard when rendering one or more angular panels
* Display a button to migrate in the dashboard banner
* Display a button to migrate in the panel editor
* Display a button to "Edit options" when it is an Angular panel, to open the panel JSON inspector to be able to edit the options
* Add tests
---------
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2024-10-01 15:02:13 +02:00
Juan Cabanas
6c91b65aca
ShareButton: Split copy link button and dropdown ( #94020 )
2024-10-01 09:46:32 -03:00
grafana-pr-automation[bot]
dc31bbb555
I18n: Download translations from Crowdin ( #94065 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-01 14:24:52 +02:00
Matheus Macabu
821bb235b3
CloudMigrations: document and re-generate api for syncing ( #94063 )
...
* CloudMigrations: document frontend open-api generator steps
* CloudMigrations: re-run api generation
2024-10-01 14:09:42 +02:00
Arati R.
e399fe6d09
Folders: Set folder creation permission as part of legacy create ( #94040 )
...
* Add folder store to dashboard permissions
* Include folder store in annotation scope resolver
* Add folder store when initialising library elements
* Include folder store in search v2 service initialisation
* Include folder store in GetInheritedScopes
* Add folder store to folder permissions provider
* Include cfg, folder permissions in folder service
* Move setting of folder permissions for folder service create method
2024-10-01 14:03:02 +02:00
Kyle Brandt
2a73b89374
Prometheus: Add resource for suggestions that include scopes/adhoc filters ( #94001 )
...
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
Co-authored-by: Bogdan Matei <bogdan.matei@grafana.com >
2024-10-01 07:17:59 -04:00
Alex Khomenko
a20ebbc8f8
Routing: Replace useHistory hook ( #94061 )
...
* Update ConfigureIRM
* Update Browse
2024-10-01 14:11:58 +03:00
Tim Levett
8de1047f65
Change from Apps to "More Apps" ( #93454 )
...
* Change the label used for additional app links from apps to more apps so it doesn't conflict with applications, which is application observability, not the other bucket
* update to more apps
* more in german is mehr
* fix case, update translations correctly
* revert changes to de
* fix be tests
---------
Co-authored-by: joshhunt <josh@trtr.co >
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-10-01 11:31:31 +01:00
Alex Khomenko
95d379368a
Announcement banner: Enable feature toggle by default ( #94041 )
...
* Announcement banner: Enable by default
* Update feature stage
2024-10-01 11:23:21 +01:00
Pepe Cano
38ad0d3ebf
Alerting docs: relocate Intro>Notifications>Templates ( #94057 )
...
* Alerting docs: relocate `Intro>Notifications>Templates`
* Rename to `Templates`
2024-10-01 12:08:47 +02:00
Ashley Harrison
a8b94fe203
SingleTopNav: Move org switcher into Megamenu header ( #94053 )
...
move org switcher into megamenu header
2024-10-01 10:55:48 +01:00
Bogdan Matei
137da12c99
Fix panel search ( #94043 )
2024-10-01 12:45:31 +03:00
renovate[bot]
8338e92a70
Update dependency sass-loader to v16 ( #94006 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-01 10:30:32 +01:00
Alexander Zobnin
9144e3b44a
Navigation: Fix empty admin menu ( #94024 )
2024-10-01 11:28:33 +02:00
Robert Goltz
299fe3e5b1
Chore: bump module github.com/rs/cors from v1.10.1 to v1.11.1 ( #93363 )
...
* Chore: Update module github.com/rs/cors to v1.11.0
* Fix: rs/cors to v1.11.1 to benefit from fix regarding support for multiple Access-Control-Request-Headers field, e.g. API Gateway
* update go.sum
---------
Co-authored-by: Jo <me@jguer.space >
2024-10-01 10:59:23 +02:00
ismail simsek
f8fd45892d
Chore: Fix legend changing when using incremental querying ( #93529 )
...
* rename variables
* fix setting legend
* yarn prettier:write
* only update displayNameFromDS
2024-10-01 10:58:08 +02:00
Sergej-Vlasov
d75fee5207
DataTrail: Remove newFiltersUI feature toggle usage from explore metrics ( #93693 )
...
remove newFiltersUI feature toggle usage from explore metrics
2024-10-01 09:45:16 +01:00
Dana Axinte
1a31abe254
CloudMigrations: Limit frontend query to get latest snapshots ( #93639 )
...
* latest param to endpoint and adapt frontend query
* change to sort param
* api
* remove description
2024-10-01 09:28:25 +01:00
grafana-pr-automation[bot]
8b6cbae96b
I18n: Download translations from Crowdin ( #94032 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-01 06:22:27 +01:00
Michael Mandrus
1c648fd010
Chore: Fix flaky cloud migration test ( #94035 )
...
* attempt to fix flaky test
* remove skip from test
2024-10-01 03:24:47 +01:00
Yuri Tseretyan
0c1aafd643
Alerting: skip flaky test TestBroadcastAndHandleMessages ( #94039 )
2024-09-30 18:50:55 -04:00
Alexander Weaver
393faa8732
Alerting: Move rule evaluation status logic out of prometheus API and into scheduler ( #89141 )
...
* Add health fields to rules and an aggregator method to the scheduler
* Move health, last error, and last eval time in together to minimize state processing
* Wire up a readonly scheduler to prom api
* Extract to exported function
* Use health in api_prometheus and fix up tests
* Rename health struct to status
* Fix tests one more time
* Several new tests
* Handle inactive rules
* Push state mapping into state manager
* rename to StatusReader
* Rectify cyclo complexity rebase
* Convert existing package local status implementation to models one
* fix tests
* undo RuleDefs rename
2024-09-30 16:52:49 -05:00
owensmallwood
6a3eb276ef
Grafana Indexing PoC: Adds feature flag and gRPC endpoint ( #93356 )
...
* adds Filter gRPC and make protobuf
* adds route for querying the filter gRPC
* wires up Filter gRPC call
* [WIP] index from start
* renames gRPC endpoint to "Search"
* adds /apis/search route into k8s routes. Hacky for now.
* updates readme - wrong casing
* adds feature toggle for unified storage search
* hides US search behind feature flag. Clean up print statements.
* removes indexer - will be added in another PR
* Search: Add API Builder
* adds required method
* implementing UpdateAPIGroupInfo (WIP)
* adds groupversion
* commenting out for now
* remove unneeded code from experimenting and update register.go to match interface required
* namespaces search route
---------
Co-authored-by: leonorfmartins <leonorfmartins@gmail.com >
Co-authored-by: Todd Treece <todd.treece@grafana.com >
2024-09-30 13:46:14 -06:00
Sonia Aguilar
cebcb38df2
Alerting: Style nits for the simple query mode ( #93930 )
...
* Style nits for the simple query mode
* update translations
* update text
* update translations
* update disable word to deactivate
* update preview text when not advanced options
* update text
* update text
2024-09-30 19:47:16 +01:00
dependabot[bot]
52f208d3ac
Bump github.com/beevik/etree from 1.2.0 to 1.4.1 ( #90707 )
...
Bumps [github.com/beevik/etree](https://github.com/beevik/etree ) from 1.2.0 to 1.4.1.
- [Release notes](https://github.com/beevik/etree/releases )
- [Changelog](https://github.com/beevik/etree/blob/main/RELEASE_NOTES.md )
- [Commits](https://github.com/beevik/etree/compare/v1.2.0...v1.4.1 )
---
updated-dependencies:
- dependency-name: github.com/beevik/etree
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>
Co-authored-by: Mihaly Gyongyosi <mgyongyosi@users.noreply.github.com >
2024-09-30 17:51:41 +01:00
Santiago
aa77023008
Alerting: Fix panics when attempting to create an Alertmanager after failing ( #94023 )
2024-09-30 13:50:35 -03:00
Santiago
80611b381c
Alerting: Decrypt secure settings when testing receivers in the remote Alertmanager ( #93864 )
...
* Alerting: Decrypt secure settings when testing receivers in the remote Alertmanager
* go work sync
* make update-workspace
* point to latest main in grafana/alerting
* unit test
* import definitions only once
2024-09-30 13:28:30 -03:00
grafana-pr-automation[bot]
fcbaf188c2
I18n: Download translations from Crowdin ( #94013 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-30 17:19:54 +01:00
Matheus Macabu
7bb3fe3da1
CloudMigrations: Remove unused code from sync migration approach ( #94016 )
2024-09-30 17:54:12 +02:00
Steven Dungan
362b5a1c22
Docs - direction param for Loki in Explore ( #91905 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-09-30 16:46:21 +01:00
Alexa V
8b215d60ac
Dashboard Scene: Add sceneGraph missing dependency ( #94014 )
...
Add sceneGraph missing dependency
2024-09-30 16:25:58 +01:00
Esteban Beltran
a1cedb4160
Auto triager: Update labels for dashboards squad ( #93989 )
2024-09-30 17:05:01 +02:00
Torkel Ödegaard
0c22aac7f0
Dashboards: Add support for systemPanelFilterVar and systemDynamicRowSizeVar variables in scenes ( #93670 )
...
Co-authored-by: kay delaney <kay@grafana.com >
2024-09-30 15:46:43 +01:00
brendamuir
bb41ff267b
Alerting docs: updates to default and advanced options ( #93999 )
...
* Alerting docs: updates to default and advanced options
* feedback sonia
2024-09-30 16:41:44 +02:00
Marcus Efraimsson
b7a7f2bd62
Plugins: Use handler middleware from the SDK ( #93445 )
...
updates sdk to v0.251.0
2024-09-30 16:33:15 +02:00
Pepe Cano
54faa541c3
Alerting docs: Move the Condition operators to the Classic condition section ( #93997 )
...
Alerting docs: Move the `Condition operators` to the Classic conditions section
2024-09-30 16:23:37 +02:00
Joao Silva
b937b70a46
Internationalization: Restore some plurals text ( #94002 )
2024-09-30 15:05:16 +01:00
grafana-pr-automation[bot]
ae05e4422d
I18n: Download translations from Crowdin ( #93983 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-30 15:00:20 +01:00
Joao Silva
a45662bf2d
Revert "Restore Dashboards: Add e2e tests (again) ( #93214 )" ( #94003 )
2024-09-30 14:26:16 +01:00
Bruno
6f92fd64ce
Cloud migrations: add more context to errors ( #93814 )
...
* Cloud migrations: add more context to errors
* calls to assert.ErrorIs was passing arguments in the wrong order
2024-09-30 09:57:25 -03:00
Kristina
ddbf0a05af
Correlations: Update docs to include information on external correlation type ( #93772 )
...
Change docs to reflect different correlation types
2024-09-30 07:43:45 -05:00
Georges Chaudy
0a26c9e9ae
Unistore : Ensure Watch works in HA mode. ( #93428 )
...
* Replace Watch with WatchNext
* remove watchset
* fix previous page and closing the channel
* Remove the broadcaster cache to prevent dupplicated events
* add watch bookmark
* add watch bookmark
* cleanup comments
* disable the tests for bookmarks for now
* Ensure we send previosu events
* lint
* re-introduce the cache
* load from cache
* disabling legacy test
* disabling legacy test
* Update pkg/storage/unified/resource/server.go
Co-authored-by: Diego Augusto Molina <diegoaugustomolina@gmail.com >
* Could not read previous events
* add proper migration
* Add previous_resource_version to both history and resource
* First event should have an RV of 2 and not 1
* Test both storage backends
* fix the inital RV for the sql backend
* ensure graceful stop of the stream decoder
* gocyclo
---------
Co-authored-by: Diego Augusto Molina <diegoaugustomolina@gmail.com >
2024-09-30 13:14:07 +02:00
Ronald McCollam
e1146120f4
Update MySQL example dashboard ( #93853 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-09-30 11:56:12 +01:00
Ronald McCollam
673b98cf10
Add PostgreSQL example dashboard link ( #93854 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-09-30 11:56:02 +01:00
Torkel Ödegaard
b17e256a3c
DashboardScene: Fixes url issue with subpath when exiting edit mode ( #93962 )
2024-09-30 12:19:47 +02:00
Torkel Ödegaard
1c14c85b97
Dashboards: Fixes view & edit keyboard shortcuts when grafana is behind a subpath ( #93955 )
...
DashboardScene: Fixes view & edit keyboard shortcuts when grafana is behind a subpath
2024-09-30 12:19:24 +02:00
antonio
e6c962e37c
docs>tutorial:improve set up section ( #93988 )
...
* docs>tutorial:improve set up section
* removed section
* simplified content/fixed link
2024-09-30 12:05:39 +02:00
Ivan Ortega Alba
7bca69849f
Dashboards: Enable scenes by default ( #93818 )
...
* Mark Scenes feature toggles as GA
* Move old arch e2e to a new folder
* Run E2E on scenes by default
* Upgrade e2e-selectors to ensure the tests in Playwright works
2024-09-30 10:49:02 +01:00
Joao Silva
42f1fcaf2c
Restore Dashboards: Add e2e tests (again) ( #93214 )
2024-09-30 10:44:15 +01:00
Pepe Cano
405887eebf
Alerting Docs: Update the introduction to Templates ( #93935 )
...
* Intro/Templates: update Intro and Template annotations sections
* Template labels section + adjustements
* Template notifications
* Use diagram for `meta_image`
2024-09-30 11:31:18 +02:00
antonio
66b881ae2f
tutorials: alerting > evaluation ( #93981 )
2024-09-30 11:30:55 +02:00
Tom Ratcliffe
af82dfa95d
Alerting/Chore: Fix TimeRangeInput not working across multiple months ( #93622 )
2024-09-30 10:26:07 +01:00
Sonia Aguilar
fc93d6f795
Alerting: Update texts in annotations step ( #93977 )
...
* Update texts in annotations step
* add translations
2024-09-30 09:57:09 +01:00
grafana-pr-automation[bot]
ef06724a2d
I18n: Download translations from Crowdin ( #93910 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-30 09:32:50 +01:00
Arati R.
ed75aea21d
Folders: Export folder store implementation ( #93897 )
...
* Export folder store implementation
* Rename folder store
* Add folder store as a parameter to folder service
* Add folder store to dash service implementation
* Fix folder store comments
2024-09-30 10:28:47 +02:00
Erik Sundell
daf9273cd1
E2E: Build test plugins before running the tests ( #93979 )
...
build test plugins before starting server
2024-09-30 10:21:14 +02:00
Tom Ratcliffe
0b2478859a
Alerting: Allow linking to silence form with __alert_rule_uid__ value preset ( #93526 )
2024-09-30 09:20:53 +01:00
Tom Ratcliffe
e4698d9c52
Alerting: Fix eval interval not being saved when creating a new group ( #93821 )
2024-09-30 09:19:01 +01:00
Jack Westbrook
1aed1d8017
Chore: Bump webpack for e2e test plugins ( #93831 )
...
chore(e2e-plugins): bump version of webpack to silence dependabot
2024-09-30 10:06:54 +02:00
Dai Nguyen
8b3615b576
Update Image Render Dependencies ( #93959 )
2024-09-30 09:58:52 +02:00
Ryan Crutchfield
369a8a2b5f
Docs: Add org mapping feature to generic OAuth ( #91365 )
...
* Doc fix - Add org mapping feature to generic OAuth
https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/generic-oauth/#org-roles-mapping-example
* Reviewer correction
Added org mapping for all OAuth providers with the exception of GCOM
2024-09-30 09:56:55 +02:00
Dai Nguyen
fb9e12c106
Update Okta SAML attributes documentation ( #93966 )
...
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
2024-09-30 07:35:33 +00:00
jackyin
e23ba32722
Transformations: Fix crash in Config from query results ( #93427 )
2024-09-28 09:04:40 -05:00
Adela Almasan
47b51326cc
VizTooltip: Update datalinks styling ( #93950 )
2024-09-28 05:33:10 +01:00
Adela Almasan
f9f85131a9
FieldConfig: Add support for Actions ( #92874 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2024-09-27 23:12:37 -05:00
Leon Sorokin
165ca3b4e8
Chore: uPlot v1.6.31 ( #93952 )
2024-09-27 23:11:05 -05:00
Yuri Tseretyan
84c079d93f
Alerting: Add time intervals fixed roles ( #93942 )
...
add time intervals role
2024-09-27 16:12:25 -04:00
Brendan O'Handley
54ada3fc47
Explore metrics: Fix bug when switching from OTel enabled Prometheus DS to non OTel PRometheus DS ( #93941 )
2024-09-27 15:03:37 -05:00
Isabella Siu
76406d65cd
ElasticSearch: Fix errorsource in newInstanceSettings ( #93859 )
2024-09-27 15:40:35 -04:00
Alexander Weaver
c2799b4901
Alerting: Fix incorrect permission on POST external rule groups endpoint [CVE-2024-8118] ( #93940 )
...
Fix endpoint permission on rule write endpoint
2024-09-27 14:23:21 -05:00
Tom Ratcliffe
fc51ec70ba
Alerting: Add manage permissions UI logic for Contact Points ( #92885 )
...
* Add showPolicies prop
* Add manage permissions component for easier reuse within alerting
* Add method for checking whether to show access control within alerting
* Remove accidental console.log from main
* Tweak styling for contact point width and add manage permissions drawer
* Improve typing for access control type response
* Add basic test for manage permissions on contact points list
* Only show manage permissions if grafana AM and alertingApiServer is enabled
* Update i18n
* Add test utils for turning features on and back off
* Add access control handlers
* Update tests with new util
* Pass AM in and add tests
* Receiver OSS resource permissions
There is a complication that is not fully addressed: Viewer defaults to read:*
and Editor defaults to read+write+delete:*
This is different to other resource permissions where non-admin are not granted
any global permissions and instead access is handled solely by resource-specific
permissions that are populated on create and removed on delete.
This allows them to easily remove permission to view or edit a single resource
from basic roles.
The reason this is tricky here is that we have multiple APIs that can
create/delete receivers: config api, provisioning api, and k8s receivers api.
Config api in particular is not well-equipped to determine when creates/deletes
are happening and thus ensuring that the proper resource-specific permissions
are created/deleted is finicky.
We would also have to create a migration to populate resource-specific
permissions for all current receivers. This migration would need to be reset so
it can run again if the flag is disabled.
* Add access control permissions
* Pass in contact point ID to receivers form
* Temporarily remove access control check for contact points
* Include access control metadata in k8s receiver List & Get
GET: Always included.
LIST: Included by adding a label selector with value `grafana.com/accessControl`
* Include new permissions for contact points navbar
* Fix receiver creator fixed role to not give global read
* Include in-use metadata in k8s receiver List & Get
GET: Always included.
LIST: Included by adding a label selector with value `grafana.com/inUse`
* Add receiver creator permission to receiver writer
* Add receiver creator permission to navbar
* Always allow listing receivers, don't return 403
* Remove receiver read precondition from receiver create
Otherwise, Creator role will not be able to create their first receiver
* Update routes permissions
* Add further support for RBAC in contact points
* Update routes permissions
* Update contact points header logic
* Back out test feature toggle refactor
Not working atm, not sure why
* Tidy up imports
* Update mock permissions
* Revert more test changes
* Update i18n
* Sync inuse metadata pr
* Add back canAdmin permissions after main merge
* Split out check for policies navtree item
* Tidy up utils and imports and fix rules in use
* Fix contact point tests and act warnings
* Add missing ReceiverPermissionAdmin after merge conflict
* Move contact points permissions
* Only show contact points filter when permissions are correct
* Move to constants
* Fallback to empty array and remove labelSelectors (not needed)
* Allow `toAbility` to take multiple actions
* Show builtin alertmanager if contact points permission
* Add empty state and hide templates if missing permissions
* Translations
* Tidy up mock data
* Fix tests and templates permission
* Update message for unused contact points
* Don't return 403 when user lists receivers and has access to none
* Fix receiver create not adding empty uid permissions
* Move SetDefaultPermissions to ReceiverPermissionService
* Have SetDefaultPermissions use uid from string
Fixes circular dependency
* Add FakeReceiverPermissionsService and fix test wiring
* Implement resource permission handling in provisioning API and renames
Create: Sets to default permissions
Delete: Removes permissions
Update: If receiver name is modified and the new name doesn't exist, it copies
the permissions from the old receiver to the newly created one. If old receiver
is now empty, it removes the old permissions as well.
* Split contact point permissions checks for read/modify
* Generalise getting annotation values from k8s entities
* Proxy RouteDeleteAlertingConfig through MultiOrgAlertmanager
* Cleanup permissions on config api reset and restore
* Cleanup permissions on config api POST
note this is still not available with feature flag enabled
* Gate the permission manager behind FF until initial migration is added
* Sync changes from config api PR
* Switch to named export
* Revert unnecessary changes
* Revert Filter auth change and implement in k8s api only
* Don't allow new scoped permissions to give access without FF
Prevents complications around mixed support for the scoped permissions causing
oddities in the UI.
* Fix integration tests to account for list permission change
* Move to `permissions` file
* Add additional tests for contact points
* Fix redirect for viewer on edit page
* Combine alerting test utils and move to new file location
* Allow new permissions to access provisioning export paths with FF
* Always allow exporting if its grafana flavoured
* Fix logic for showing auto generated policies
* Fix delete logic for contact point only referenced by a rule
* Suppress warning message when renaming a contact point
* Clear team and role perm cache on receiver rename
Prevents temporarily broken UI permissions after rename when a user's source of
elevated permissions comes from a cached team or basic role permission.
* Debug log failed cache clear on CopyPermissions
---------
Co-authored-by: Matt Jacobson <matthew.jacobson@grafana.com >
2024-09-27 19:56:32 +01:00
Yuri Tseretyan
86faeae6d2
Alerting: Update GetTemplates to return sorted list of templates ( #93933 )
2024-09-27 18:49:37 +01:00
Sven Grossmann
157ded7c3f
Tempo: Create trace to logs links with traces in structured metadata ( #93923 )
2024-09-27 17:11:09 +01:00
Timothee
f3ba16d3b7
Tidying up the Grafana setup documentation ( #93860 )
2024-09-27 15:57:38 +00:00
Bruno
8f66b7fdb0
Cloud migrations: disable flaky test ( #93921 )
...
* Cloud migrations: disable flaky test
* Update pkg/services/cloudmigration/cloudmigrationimpl/xorm_store_test.go
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
---------
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
2024-09-27 16:36:08 +01:00
Ihor Yeromin
d5e35c4b78
Legend: Render legend threshold colors ( #92838 )
...
* feat(barchart): render legend threshold and value mapping colors
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2024-09-27 17:02:03 +02:00
Mark Visser
c46736f490
Adjust Grafana setup docs ( #93894 )
...
* Fix duplicate command and code format
* Minor adjustment
* add bash to code line
added bash to a code line
* run prettier
---------
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
2024-09-27 15:00:37 +00:00
renovate[bot]
0401fa1652
Update dependency @faker-js/faker to v9 ( #93917 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-27 15:35:15 +01:00
brendamuir
ff5e6da358
Alerting docs: adds simple mode for query section ( #93909 )
...
* Alerting docs: adds simple mode for query section
* prettier and add steps section
* delete space
* feedback from sonia
* prettier
2024-09-27 16:22:34 +02:00
Ashley Harrison
bc6752a51c
SingleTopNav: Add "Grafana" header to MegaMenu ( #93798 )
...
* add "Grafana" header to MegaMenu
* add truncation for really long custom app titles
* revert padding change since paddingLeft will handle it
2024-09-27 15:20:45 +01:00
renovate[bot]
0e4c90dd87
Update emotion monorepo ( #93914 )
...
* Update emotion monorepo
* add @emotion/serialize package + update unit test
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-09-27 15:16:12 +01:00
xiyu95
ce8c42ab35
chore: enforce the validationMessageHorizontalOverflow for InlineField ( #93858 )
...
chore: enforce the validationMessageHorizontalOverflow prop for inlineField
2024-09-27 07:01:18 -07:00
Karl Persson
0160f4f72c
RBAC: Add legacy authorization checks to service accounts ( #93753 )
...
* Extract a helper funtion to perform list with authorization checks
* Add k8s verb to utils package
* Construct default mapping when no custom mapping is passed
* Configure authorization checks for service accounts
* Fix helper and add filtering to service accounts
2024-09-27 15:53:11 +02:00
renovate[bot]
7710f1c3cf
Update dependency rollup to v4.22.5
2024-09-27 13:36:59 +00:00
renovate[bot]
e5d0877af7
Update dependency knip to v5.30.6
2024-09-27 13:13:07 +00:00
Torkel Ödegaard
1941ae21d7
DashboardScene: Refactor body property to be layout manager interface ( #93738 )
...
* Began layout refactor
* fixing tests
* Progress
* Progress
* Progress
* Progress
* Progress
* Progress
* finally no errors
* Remove unused interface
* Remove unused interface
* fixed tests
* Update
* Update
* Fixes to keyboard shortcuts and solo route
* fix lint issues
2024-09-27 15:11:28 +02:00
Misi
7e94d05d39
Auth: Fix token rotation redirect when session storage redirect is enabled ( #93906 )
...
Fix token rotation redirect when session storage redirect is enabled
2024-09-27 14:57:46 +02:00
renovate[bot]
598179227c
Update dependency yaml to v2.5.1 ( #93899 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-27 13:44:00 +01:00
Alex Khomenko
5b53b37634
Routing: Update components using props.match to use hooks ( #93792 )
...
* RuleViewed: Get params from hook
* ProviderConfigPage: Use hooks for redux logic
* Update NewDashboardWithDS
* Update StorageFolderPage
* Update StoragePage
* Cleanup
* Update PublicDashboardPage
* Update RuleEditor
* Update BrowseFolderAlertingPage
* Update BrowseFolderLibraryPanelsPage
* Update SoloPanelPage
* Fix test
* Add useParams mocks
* Update ServiceAccountPage
* Simplify mocks
* Cleanup
* Reuse types for path params
* Remove mock for router compat in test
* Switch to element
---------
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
2024-09-27 15:39:29 +03:00
grafana-pr-automation[bot]
9fc4436418
I18n: Download translations from Crowdin ( #93904 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-27 13:28:37 +01:00
Konrad Lalik
db42af20ca
Alerting: Prometheus primary mode for the alert list page ( #92975 )
...
* Lazy loading of mimir groups
* Refactor rule statuses
* Use prometheus endpoint to populate namespace and group dropdowns
* Add a feature toggle
* Use lazy loading ruler rules if the feature toggle enabled
* Remove unnecessary props form dynamic table
* Remove query from hash calculation
* Conditionally load ns and group autocompletions from Prom or Ruler APIs
* Fix prometheus dto labels property type
* Add a new suggestions hook which provides autocomplete options for the alert rule form
* Improve delete status handling
* Add waiting for Prometheus endpoint consistency after update submission
* Get rule definition from ruler or prometheus endpoint in useCombinedRule
* Add Prometheus consistency check. Fix view page redirects
* Remove rules reload after rule creation, remove statuses from Prom primary mode
* Add waiting for Prometheus consistency on delete rule action
* Add groups list rendering improvements
* Add memo to useAbilities
* Fix GMA consistency check, fix GMA statuses
* defer filered rules rendering
* Update failing tests
* Update locales
* Add rule-id tests
* Remove unused action
* update loading styles
* Fix unrelated test
* Add a new object for reading alerting feature toggles, address minor review issues
* Improve consistency check
* update i18n
* Improve rule form redirects
* Refactor feature toggle handling
* Update docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update public/app/features/alerting/unified/components/rule-viewer/RuleViewer.tsx
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Fix prettier issues
* Fix i18n
* Fix the feature toggle description
* Fix rule updates, fix ruler-based suggestions, wait for deletion for GMA rules
* Fix rename
* Remove unused code, improve copy
* Update i18n
* Fix url redirect when serving from subpath
---------
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-09-27 14:27:16 +02:00
Matheus Macabu
fcb17379ea
LibraryElements: add fake service implementation and replace its usage in Dashboard API ( #93783 )
...
* LibraryElements: add fake service implementation
* Dashboards: replace fake LibraryElements implementation
2024-09-27 14:22:29 +02:00
Roman Pertl
3437c8be7f
Docs: grafana image renderer instructions custom cert in container ( #93646 )
...
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com >
2024-09-27 13:00:57 +01:00
Sam Jewell
51d73249b2
Docs: Update Usage insights logs docs- Scope ( #93425 )
...
Update Usage insights logs docs: Scope
As far as I can tell, in https://github.com/grafana/grafana/pull/59931
we started to record Usage Insights events for Explore queries.
And in https://github.com/grafana/grafana/pull/78097 we further improved
our implementation of that logging.
This documentation should have been updated back then to match. So I'm
updating it now.
2024-09-27 12:33:24 +01:00
Jack Westbrook
012d62782c
Fix: Prevent import errors caused by Rollup 4 ( #93903 )
...
fix(packages): prevent import errors by injecting exports.esmodule and check for default prop
2024-09-27 12:18:52 +01:00
Artur Wierzbicki
35f5ef007c
Chore: update ownership of grafana live FE code ( #93823 )
...
update ownership of live FE
2024-09-27 11:43:02 +01:00
Tobias Skarhed
f49b4d35f2
OAuth: Add custom unauthorized message option in configuration ( #93717 )
...
* read custom message from config
* Read error key from bootdata
* oopsie
* Remove console.log
* Update docs and sample/default inis
* Add default key value to the config
2024-09-27 12:11:27 +02:00
renovate[bot]
08dab3f816
Update dependency eslint-plugin-react to v7.37.0 ( #93891 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-27 10:48:11 +01:00
Gabriel MABILLE
6137a75552
Docs: document the managed_service_accounts_enabled configuration option ( #93883 )
...
* Config: Disclaimer single-org support for managed service accounts
* Add docs update
* Update docs/sources/setup-grafana/configure-grafana/_index.md
2024-09-27 11:07:02 +02:00
Jack Westbrook
f22bee8ca2
Build: Migrate packages to rollup v4 ( #93731 )
...
* chore(packages): bump rollup and rollup plugins to latest
* chore(packages): fix rollup node-externals plugin imports
* chore(packages): update build/bundle scripts to pass configPlugin arg to rollup
* feat(packages): migrate rollup configs to be esm compliant
* feat(packages): build using es2018 target and use same tsconfig and tsc for rollup
2024-09-27 11:00:13 +02:00
renovate[bot]
52611d4d02
Update dependency webpack-dev-server to v5.1.0 ( #93845 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-27 09:42:03 +01:00
Sonia Aguilar
3dbba3e509
Alerting: Fix Grafana recording rules expressions ( #93878 )
...
fix grafana recording rules expressions
2024-09-27 10:07:48 +02:00
Roberto Jiménez Sánchez
826245f511
CloudMigrations: Avoid building GMS base path when provided ( #93793 )
...
Avoid building GMS base path when provided
2024-09-27 09:22:38 +02:00
Gabriel MABILLE
7928245eb6
ManagedServiceAccounts: Add a config option to disable the feature on-prem ( #93571 )
...
* ManagedServiceAccounts: Add a config option to disabled by default
* Update log in pkg/services/extsvcauth/registry/service.go
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2024-09-27 09:11:59 +02:00
Torkel Ödegaard
2cfba519f1
DashboardScene: Fixes urlsync issue when going from normal to home dashboard ( #93758 )
...
* DashboardScene: Fixes urlsync issue when going from normal to home dashboard
* Better fix
* Update
2024-09-27 09:10:49 +02:00
Matheus Macabu
40bcd0df41
LibraryElements: export GetAllElements to service ( #93782 )
2024-09-27 08:48:56 +02:00
Ryan McKinley
87c81825b7
K8s: Move standalone apiserver CLI to enterprise ( #93799 )
2024-09-27 09:04:35 +03:00
Michael Mandrus
e672796632
CloudMigrations: Fix OrderBy clause in GetSnapshotList sql handler ( #93857 )
...
fix order_by clause in list query
2024-09-26 22:51:01 -04:00
Jev Forsberg
dc1670ed9a
CI: Bump alpine version ( #93865 )
...
* baldm0mma/up_alpine/ update alpine
* baldm0mma/resolve commits
2024-09-26 20:50:28 -05:00
Jev Forsberg
b17b98aeb9
CI: Update retry_command function ( #93863 )
...
* baldm0mma/update args
* baldm0mma/update_args/ conflict
2024-09-26 19:19:38 -06:00
Jev Forsberg
dc03cc0f9a
CI: Bump alpine version ( #93861 )
...
baldm0mma/bump_alpine
2024-09-26 18:58:21 -06:00
Alexander Weaver
378d92130d
Alerting: Don't suppress translation errors in PointsFromFrames ( #93747 )
...
* don't suppress error
* reorder
* re-add nilcheck
2024-09-26 16:30:50 -05:00
Steve Simpson
acb051b314
Alerting: Fix logging for failed annotations writing. ( #93856 )
2024-09-26 23:27:40 +02:00
Kevin Minehart
a847608061
CI: add promotion step for publish grafanacom ( #93851 )
...
* add promotion step for publish grafanacom
* publish-grafanacom depends on compile-build-cmd
* use DRONE_TAG
* add docstring comment for depends_on
2024-09-26 22:19:19 +01:00
Kim Nylander
6951feff88
[DOC] Add videos to Explore docs ( #93847 )
...
* Add videos to Explore docs
* Apply suggestions from code review
2024-09-26 15:32:43 -04:00
renovate[bot]
125a8a41dd
Update dependency nx to v19.8.2
2024-09-26 16:57:15 +00:00
Santiago
920d79680d
Alerting: Fix Slack notification errors when using bad title template ( #93771 )
...
* Alerting: Fix Slack notification errors when using bad title template
* upgrade grafana/alerting to latest main
2024-09-26 12:58:58 -03:00
renovate[bot]
7e4eb61be8
Update dependency dompurify to v3.1.7
2024-09-26 15:49:43 +00:00
Joao Silva
1418e88695
Bookmarks: Do not query preferences if no user logged in ( #93840 )
2024-09-26 16:47:57 +01:00
grafana-delivery-bot[bot]
80adb74205
Release: update changelog for 11.2.1 ( #93835 )
...
Update changelog
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-26 16:06:40 +01:00
renovate[bot]
efe8739864
Update dependency @types/node to v20.16.9
2024-09-26 14:55:59 +00:00
Santiago
7098c22f39
Docs: Remove deprecation warning on webhook payload fields ( #92604 )
2024-09-26 11:53:22 -03:00
Claudiu Dragalina-Paraipan
59ea63384d
[bugfix] Fix missing URI in breadcrumbs in Teams view ( #93828 )
...
Fix missing URI in breadcrumbs in Teams view
2024-09-26 17:41:56 +03:00
Jack Westbrook
5a5d57311b
Chore: Bump path-to-regexp ( #93830 )
...
chore(frontend): bump path-to-regexp to solve dependabot alert
2024-09-26 15:40:22 +01:00
renovate[bot]
ad960827cc
Update dependency @types/jquery to v3.5.31
2024-09-26 14:33:05 +00:00
grafana-delivery-bot[bot]
fc84ec7618
Release: update changelog for 11.1.6 ( #93825 )
...
Update changelog
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-26 15:31:29 +01:00
Bruno
1b7cd4c684
Cloud migrations: store resource name in the cloud_migration_resource table ( #93612 )
...
* Cloud migrations: store resource name in the cloud_migration_resource table
* remove unused function: convertMigrateDataResponseToDTO
* make swagger-clean && make openapi3-gen
* use DB_Text for cloud_migration_resource.name instead of DB_Varchar
2024-09-26 11:16:52 -03:00
Ihor Yeromin
2e559bb333
Transformation: UI date field transformation ( #93807 )
...
fix(transformation): ui date field transformation
2024-09-26 16:12:58 +02:00
Haris Rozajac
eb8e6c6a9f
Query Library: Display query text even when datasource doesn't have getQueryDisplayText ( #93668 )
...
Display query text even when datasource doesn't have getQueryDisplayText
2024-09-26 08:10:02 -06:00
renovate[bot]
02fff05607
Update dependency @grafana/faro-web-tracing to v1.10.1
2024-09-26 14:08:13 +00:00
Hugo Kiyodi Oshiro
be8c8baf6f
ConfirmModal: Allow button disable to be externally managed ( #93446 )
2024-09-26 15:56:25 +02:00
Gilles De Mey
4b1d8eeef0
Alerting: Remove filter for state without reason ( #93604 )
2024-09-26 15:40:04 +02:00
Brendan O'Handley
7aaa4b241e
Explore metrics: Fix warning message for limiting metrics ( #93817 )
...
don't show undefined error
2024-09-26 14:34:28 +01:00
grafana-delivery-bot[bot]
570c5934d3
Release: update changelog for 11.0.5 ( #93816 )
...
Update changelog
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-26 14:33:10 +01:00
renovate[bot]
eee53810c0
Update dependency @grafana/faro-web-sdk to v1.10.1
2024-09-26 13:31:09 +00:00
Matheus Macabu
14abf2dab3
CloudMigrations: add Library Element as a valid migration resource type ( #93781 )
2024-09-26 15:29:28 +02:00
Ryan McKinley
afe464bc20
K8s/Storage: add a reusable generic storage builder ( #93778 )
2024-09-26 14:26:45 +01:00
renovate[bot]
b80bba387f
Update dependency @grafana/faro-web-sdk to v1.10.1
2024-09-26 13:12:10 +00:00
grafana-delivery-bot[bot]
a68993825e
Release: update changelog for 10.4.9 ( #93808 )
...
Update changelog
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sergej-Vlasov <sergej.s.vlasov@gmail.com >
2024-09-26 14:06:12 +01:00
grafana-delivery-bot[bot]
dbd8b082a6
Release: update changelog for 10.3.10 ( #93802 )
...
Update changelog
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-26 13:54:38 +01:00
renovate[bot]
65a12e46a6
Update dependency @grafana/faro-core to v1.10.1
2024-09-26 12:53:08 +00:00
linoman
e2816ee51a
RolePickerDrawer: Add feature toggle ( #93752 )
...
Add feature toggle
2024-09-26 14:51:38 +02:00
Todd Treece
df9925f3bb
Live: Clean up redis after test run ( #93806 )
2024-09-26 08:41:47 -04:00
kay delaney
c602041f4a
Fix failing tests
2024-09-26 13:13:41 +01:00
renovate[bot]
415b4b5782
Update dependency @grafana/scenes to v5.16.0
2024-09-26 13:13:41 +01:00
Edvard Falkskär
20a66343bd
SparklineCell: Improve text alignment factor ( #93539 )
2024-09-26 14:41:03 +03:00
kay delaney
6c8f24adc9
Dashboards: Fix issue with percentage difference formatting ( #93389 )
...
* Dashboards: Fix issue with percentage difference formatting
---------
Co-authored-by: Ihor Yeromin <yeryomin.igor@gmail.com >
2024-09-26 11:15:51 +01:00
Ashley Harrison
0a01b60305
Chore: Add mock for useChromeHeaderHeight ( #93788 )
...
add mock for useChromeHeaderHeight
2024-09-26 10:23:20 +01:00
grafana-pr-automation[bot]
9531be9162
I18n: Download translations from Crowdin ( #93760 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-26 10:19:24 +01:00
Josh Hunt
6be7033d29
Chore: Delete mockServiceWorker.js ( #93768 )
2024-09-26 10:10:33 +01:00
Roman Pertl
fa4baa7c38
Docs: update grafana-renderer auth token documentation ( #93645 )
2024-09-26 09:08:31 +00:00
Irene Rodriguez
c63c5857df
Update CODEOWNERS ( #93786 )
2024-09-26 09:54:51 +01:00
Hugo Kiyodi Oshiro
368fc0f120
Plugins: Improve update all modal UX ( #93448 )
2024-09-26 10:19:26 +02:00
Ryan McKinley
cdbc04ab2b
GRPC/Authn: Remove org name header ( #93780 )
2024-09-26 10:58:59 +03:00
Sonia Aguilar
536edee7bf
Alerting: Query and expressions section simplification ( #93022 )
...
* Add mode switch in Query section
* Implement simple query mode : WIP
* fix logic switching mode
* move guard and get methodd to another folder
* Add more requiremts for being transformable from advanced to not advanced mode
* fix usig mode when it's not a grafana managed alert
* Show warning when switching to not advanced and its not possible to convert
* Add feature toggle alertingQueryAndExpressionsStepMode
* fix test
* add translations
* address PR feedback
* Use form context for sharing simplfied mode used, save in local storage and use the new fields in the api
* add check to valid reducer and threshold when switching to simplified mode
* Use only one expression list
* fix test
* move existing rule check outside storeInLocalStorageValues
* add id in InlineSwitch to handle onClick on label
* fix
* Fix default values when editing existing rule
* Update dto fields for the api request
* fix snapshot
* Fix recording rules to not show switch mode
* remove unnecessary Boolean conversion
* fix areQueriesTransformableToSimpleCondition
* update text
* pr review nit
* pr review part2
2024-09-26 08:33:14 +02:00
Adela Almasan
c36f7aa92b
VizTooltip: Improved sizing ( #93762 )
...
Co-authored-by: Staton Hysell <staton.hysell@grafana.com >
2024-09-25 20:47:03 -05:00
Jeff Levin
a21a232a8e
Revert read replica POC ( #93551 )
...
* Revert "chore: add replDB to team service (#91799 )"
This reverts commit c6ae2d7999 .
* Revert "experiment: use read replica for Get and Find Dashboards (#91706 )"
This reverts commit 54177ca619 .
* Revert "QuotaService: refactor to use ReplDB for Get queries (#91333 )"
This reverts commit 299c142f6a .
* Revert "refactor replCfg to look more like plugins/plugin config (#91142 )"
This reverts commit ac0b4bb34d .
* Revert "chore (replstore): fix registration with multiple sql drivers, again (#90990 )"
This reverts commit daedb358dd .
* Revert "Chore (sqlstore): add validation and testing for repl config (#90683 )"
This reverts commit af19f039b6 .
* Revert "ReplStore: Add support for round robin load balancing between multiple read replicas (#90530 )"
This reverts commit 27b52b1507 .
* Revert "DashboardStore: Use ReplDB and get dashboard quotas from the ReadReplica (#90235 )"
This reverts commit 8a6107cd35 .
* Revert "accesscontrol service read replica (#89963 )"
This reverts commit 77a4869fca .
* Revert "Fix: add mapping for the new mysqlRepl driver (#89551 )"
This reverts commit ab5a079bcc .
* Revert "fix: sql instrumentation dual registration error (#89508 )"
This reverts commit d988f5c3b0 .
* Revert "Experimental Feature Toggle: databaseReadReplica (#89232 )"
This reverts commit 50244ed4a1 .
2024-09-25 15:21:39 -08:00
Isabel Matwawana
25ca760ee1
Docs: Fix broken links ( #93767 )
2024-09-25 16:39:14 -04:00
Alexander Akhmetov
b9964865cb
Alerting: Copy alert rule metadata when the rule is updated via provisioning API ( #93723 )
...
Alerting: Copy alert rule metadata when the rule is updated
2024-09-25 22:31:02 +02:00
Todd Treece
277d82db9a
Live: Add ha_prefix ( #93759 )
2024-09-25 22:20:35 +02:00
Torkel Ödegaard
57ab354139
DashboardScene: Fixes issue with dashboard starting with auto refresh set ( #93756 )
2024-09-25 20:14:52 +02:00
Oscar Kilhed
b68d9630fb
PanelEdit: Hide overflow for query options in small viewports ( #93700 )
...
Hide overflow for query options in small viewports
2024-09-25 20:08:05 +02:00
Serena
c822feff9e
Home: add setup guide tab under home tab ( #92947 )
...
* feat: add setup guide in home tab
* chore: add feature toggle for setup guide
* chore: add feature toggle for sub menu
* chore: run pretier
* chore: run i18n
* chore: run generated files again
* chore: update description
* chore: update comment to trigger test flow
* chore: trigger test
* chore: fix styling
2024-09-25 18:20:04 +01:00
Isabel Matwawana
26a3e70cfa
Docs: Table visualization refactor ( #93633 )
2024-09-25 13:06:33 -04:00
Laura Fernández
95b998d77f
SingleTopNav: MegaMenu full page height ( #93729 )
2024-09-25 17:56:47 +02:00
ismail simsek
5fe4a2f6a9
Explore Metrics: Add consistent maxDataPoints value across the app ( #93618 )
...
Add consistent maxDataPoints value across the app
2024-09-25 17:53:26 +02:00
renovate[bot]
2c98767d17
Update dependency webpack to v5.95.0 [SECURITY] ( #93751 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 16:19:58 +01:00
Matheus Macabu
1e720306dd
CloudMigrations: replace slicesext.Chunk with stdlib implementation ( #93743 )
2024-09-25 16:52:22 +02:00
renovate[bot]
5880579be8
Update dependency sass to v1.79.3 ( #93741 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 17:30:12 +03:00
Tobias Skarhed
1f7457c02c
New Select: Extract floating ui setup into hook ( #93387 )
...
* New Select: Extratc floating ui setup into hook
* Remove unused exports
* Rename exported floatStyles
* Set maxHeight instead of using js to find it
* Extarct into seperate file
2024-09-25 16:27:17 +02:00
grafana-pr-automation[bot]
2651ce5dce
I18n: Download translations from Crowdin ( #93744 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-25 15:22:50 +01:00
Matheus Macabu
40ce035ed7
LibraryElements: remove viewer check when connecting a dashboard on General folder ( #93737 )
2024-09-25 16:16:59 +02:00
Isabel Matwawana
d24d59299b
Docs: Change weight of sharing page ( #93746 )
2024-09-25 10:15:35 -04:00
Juan Cabanas
682a4073b4
ShareDrawer: Add share button tracking ( #93742 )
2024-09-25 17:03:30 +03:00
linoman
b6906cc866
SSO LDAP: ironing details ( #93584 )
...
* Rework description tooltip
* Null protect empty
* Add missing ref properties for form controllers
* Rework LDAP provider label
* Add missing `*` for required input
* Hide multiselect visual queues
* Add modal
* Adjust translated text hierarchies
* Add redirect confirmation modal
2024-09-25 15:59:57 +02:00
Isabel Matwawana
267f417924
Docs: update docs to reflect new sharing UI - 2 ( #93002 )
2024-09-25 09:47:33 -04:00
Isabel Matwawana
10a1bee86d
Docs: Update use dashboard image for sharing redesign ( #92957 )
2024-09-25 09:43:47 -04:00
Isabel Matwawana
dbf0949ca7
Docs: update docs to reflect new sharing UI ( #90630 )
...
Co-authored-by: Juan Cabanas <juan.cabanas@grafana.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-09-25 09:42:58 -04:00
renovate[bot]
f80d3d687d
Update dependency @grafana/scenes to v5.15.0 ( #93730 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 14:41:48 +01:00
renovate[bot]
5cd9ef562d
Update dependency react-loading-skeleton to v3.5.0 ( #93740 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 16:41:18 +03:00
Matthew Jacobson
e86929eb0a
Alerting: Managed receiver resource permission in config api ( #93632 )
...
* Alerting: Managed receiver resource permission in config api
2024-09-25 09:39:36 -04:00
Yuri Tseretyan
10582e48f7
Alerting: Notifications Templates API ( #91349 )
2024-09-25 09:31:57 -04:00
ismail simsek
5472478ee8
Prometheus: Fix e2e selector by using "data-test-id" instead of "id" ( #93736 )
...
* use data-test-id instead of id
* don't skip
2024-09-25 15:29:19 +02:00
renovate[bot]
85bffcf787
Update dependency browserslist to v4.24.0 ( #93733 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 14:20:12 +01:00
Andres Martinez Gotor
225600a08b
Expose queryconvert endpoint ( #93656 )
2024-09-25 15:10:19 +02:00
Todd Treece
177965704d
Storage: Test mode 5 ( #93714 )
2024-09-25 08:29:17 -04:00
Laura Fernández
618e4014a7
Dashboards: SaveButton not available after changing the folder ( #93216 )
2024-09-25 13:30:36 +02:00
Ashley Harrison
8e5459791b
SingleTopNav: Initial changes ( #93694 )
...
initial changes for single top nav
2024-09-25 14:27:30 +03:00
renovate[bot]
9a67cd614d
Update dependency @grafana/plugin-e2e to v1.8.1
2024-09-25 11:06:34 +00:00
Josh Hunt
d2d1de39a7
GrafanaUI: Make Drawer extend to full height ( #93725 )
2024-09-25 12:05:20 +01:00
Ben Sully
4791d91408
fix(datasources): add option to avoid adding '-- Grafana --' DS ( #90175 )
...
* fix(datasources): add option to avoid adding '-- Grafana --' DS
Currently the `getList` method of `DatasourceSrv` adds the
'-- Grafana --' datasource in the majority of situations, unless a few
of the other filters are set, all of which affect the results in other
ways. This is the case even if the `filter` function is passed.
This causes the `DataSourcePicker` component to include the
'-- Grafana --' datasource in cases it's unsupported, such as in
Grafana ML where we only support specific datasource types.
This commit adds a new optional `grafana` field to the filter interface.
If explicitly set to `false`, the '-- Grafana --' datasource will not be
added to the list of datasources returned.
This should be backwards compatible and should allow developers to prevent
that datasource from appearing in the `DataSourcePicker`.
Relates to https://github.com/grafana/machine-learning/issues/4578 .
* Use filter func to see if we should add '-- Grafana --', instead
2024-09-25 11:04:45 +00:00
renovate[bot]
a0de3ef867
Update dependency @types/node to v20.16.7
2024-09-25 10:46:05 +00:00
Pepe Cano
75900139ae
Alerting docs: update Configure Alertmanagers ( #93712 )
...
* Alerting docs: update `Configure Alertmanagers`
- clarify alertmanager types
- specify that each alertmanager manages its own alerting resources
* Update docs/sources/alerting/set-up/configure-alertmanager/index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/set-up/configure-alertmanager/index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/set-up/configure-alertmanager/index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* use `Alertmanager` - capitalize the first letter
* Small copy changes
* Minor cosmetic updates to `Add an Alertmanager` section
* Update docs/sources/alerting/set-up/configure-alertmanager/index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-09-25 12:44:17 +02:00
Josh Hunt
54d52d0bf9
E2C: Add rudderstack reporting for cloud-side token generation ( #93334 )
2024-09-25 10:23:31 +01:00
renovate[bot]
d447fc3a82
Update dependency re-resizable to v6.10.0 ( #93695 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 10:05:54 +01:00
Torkel Ödegaard
d371fae3c8
DashboardScene: Fixes issue with updating repeated panels after coming back from panel edit ( #93716 )
2024-09-25 11:04:20 +02:00
Joe Blubaugh
14a5d605ae
Docs: Remove some duplication in alerting rules docs. ( #93376 )
2024-09-25 09:11:29 +02:00
Arati R.
2c26053be8
K8s/Folders: Convert additional fields when creating k8s resources ( #93395 )
...
* Add separate folder registration function
* Convert to k8s resource directly after legacy create
* Use create command when creating folders
* Set additional fields when converting to k8s resource
* Add created/updated timestamps during conversion
* Refactor UnstructuredToLegacyFolderDTO
* Return errors when doing k8s conversions
2024-09-25 08:56:15 +02:00
grafana-pr-automation[bot]
8c5dfa33d4
I18n: Download translations from Crowdin ( #93683 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-25 09:38:23 +03:00
Adela Almasan
1726567fcf
Canvas: Restore support for field-level data links ( #93708 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2024-09-25 05:25:39 +03:00
Adela Almasan
2b94a82baa
AngularMigration: Migrate series Graph to BarGauge ( #92609 )
2024-09-25 00:42:59 +03:00
Isabel Matwawana
1cbe8772c2
Docs: Restructure Search content ( #93636 )
2024-09-24 16:12:08 -04:00
Tokoro
a0122187b0
Dashboards: Check if Grafana Javascript agent is enabled before using faro.api ( #90509 )
...
Check if Grafana Javascript agent is enabled before using faro.api
2024-09-24 22:18:15 +03:00
maicon
377079d8b3
UniStore: Add config to enable periodic DualWriter DataSyncer ( #93555 )
...
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2024-09-24 22:03:15 +03:00
Misi
59af06e36a
Devenv: Add serve_from_sub_path scenario to nginx devenv ( #93691 )
...
Setup serve_from_sub_path scenario with nginx
2024-09-24 19:53:29 +02:00
Andreas Christou
564ee32b04
AzureMonitor: Improve errorsource ( #93533 )
...
* Improve errorsource
* Fix imports
2024-09-24 12:45:44 -05:00
Andreas Christou
76c8975b4f
AzureMonitor: Deduplicate resource picker rows ( #93129 )
...
* Use URI for querying resources in RG
- Ensure resource group names are correctly slash separated
* Update test
2024-09-24 12:45:08 -05:00
Andreas Christou
488e71226b
InfluxDB: Add support for LIST arrow type ( #93227 )
...
Add support for LIST arrow type
2024-09-24 18:36:07 +01:00
renovate[bot]
7e61d4f80d
Update dependency babel-loader to v9.2.1 ( #93681 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-24 17:46:50 +01:00
Andreas Christou
090958489c
MSSQL: Update dependencies ( #93692 )
...
Use appropriate deps and bumpy TS to match root
2024-09-24 19:45:22 +03:00
Misi
d411ce2664
Auth: Use sessionStorage instead of cookie for automatic redirection ( #92759 )
...
* WIP: working as expected, has to be tested
* Rename query param, small changes
* Remove unused code
* Address feedback
* Cleanup
* Use the feature toggle to control the behaviour
* Use the toggle on the FE too
* Prevent the extra redirect/reload
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com >
* Return to login if user is not authenticated
* Add tracking issue
* Align BE redirect constructor to locationSvc
2024-09-24 18:38:09 +02:00
ismail simsek
18f8f38418
Prometheus: Fix query interval string interpolation in query cache ( #93678 )
...
fix query interval string interpolation in query cache
2024-09-24 18:03:16 +02:00
Torkel Ödegaard
05dbba4c85
DashboardScene: Fix broken error handling and error rendering ( #93680 )
2024-09-24 17:59:32 +02:00
Torkel Ödegaard
038d9cabde
PanelEdit: Edit the source panel, refactor out VizPanelManager, simplify ( #93045 )
...
* Options pane, data pane queries tab and transformations tab working
* Update
* Discard works
* Panel inspect working
* Table viw works
* Repeat options
* Began fixing tests
* More tests fixed
* Progress on tests
* no errors
* init full width when enabling repeat
* Began moving VizPanelManager tests to where the code was moved
* Unlink libray panel code and unit test
* Fixes and unit tests for change tracking and resetting original state and dirty flag when saving
* migrating and improving unit tests
* Done with VizPanelManager tests refactoring
* Update
* Update
* remove console.log
* Removed unnesssary behavior and fixed test
* Update
* Fix unrelated test
* conditional options fix
* remove
* Fixing issue with editing repeated panels and scoping variable to first value
* Minor fix
* Fix discard query runner changes
* Review comment changes
* fix discard issue with new panels
* Add loading state to panel edit
* Fix test
* Update
* fix test
* fix lint
* lint
* Fix
* Fix overrides editing mutating fieldConfig
---------
Co-authored-by: alexandra vargas <alexa1866@gmail.com >
2024-09-24 17:13:32 +02:00
Oscar Kilhed
9adb7b03a7
Remove buildstamp from build hash. Version and commit should be enough ( #93658 )
...
Remove buildstamp from build hash, version and commit should be enough
2024-09-24 17:10:29 +02:00
Torkel Ödegaard
ae5a7a53a9
TimePicker: Support strings in ISO formats ( #93479 )
...
* TimePicker: Support strings in ISO formats
* changed fix and added test
2024-09-24 17:00:15 +02:00
renovate[bot]
db697a3e23
Update dependency @rollup/plugin-node-resolve to v15.3.0 ( #93677 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-24 15:43:03 +01:00
Kristina
002f872ce1
Correlations: Allow correlations to target URLs ( #92442 )
...
* Pass one
* Fix linter and add new betterer problem (sorry)
* fix swagger
* Add type to tests and update single correlations sql
* Fix provisioning test and other function that needs a type
* Add errors around query/external typing and add tests
* increment number of correlations tested as we added one for testing v1 type placement
* try merging back the swagger that is in main
* try again?
* Style form a little
* Update public/app/features/logs/components/logParser.ts
Co-authored-by: Matias Chomicki <matyax@gmail.com >
* fix bad commit, simplify logic
* Demonstrating type difficulties
* Fix distributed union changes
* Additional type changes
* Update types in form
* Fix swagger
* Add comment around the assertion and explicit typing
---------
Co-authored-by: Matias Chomicki <matyax@gmail.com >
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com >
2024-09-24 09:38:17 -05:00
renovate[bot]
8da1d78c92
Update dependency @grafana/faro-web-tracing to v1.10.0 ( #93666 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-24 15:16:26 +01:00
Jihoon Park
4290d0e459
Docs: fix typo in developers/http_api/data_source.md ( #93650 )
2024-09-24 14:08:43 +00:00
Piotr Jamróz
813e1c1364
Correlations: Limit access to correlations page to users who can access Explore ( #93519 )
...
Correlations: Limit access to correlations page to users who can access Explore
2024-09-24 16:02:02 +02:00
Joey
d30dc3ad50
TraceView: Fix for toString() usage in span filters ( #93648 )
...
Fix for toString() usage
2024-09-24 14:47:22 +01:00
Torkel Ödegaard
ae6ea459b9
DashboardScene: Do not add hide flags to URL ( #93641 )
...
* DashboardScene: Do not add hide flags to URL
* Update
2024-09-24 15:24:56 +02:00
Karl Persson
c28b37a67b
RBAC: Add option to skip rbac check for specified verbs ( #93654 )
...
* Add option to skip rbac check for specified verbs
2024-09-24 15:13:04 +02:00
renovate[bot]
b04799dab9
Update dependency @types/node to v20.16.6
2024-09-24 12:58:22 +00:00
Will Browne
52f8cecd4a
Plugins: Add state logs for plugin client retrieval ( #93630 )
...
* add state to grpc plugin
* tidy
* fix lint
* fix issues
* return true
* use defer
* update err message
2024-09-24 15:55:02 +03:00
Ashley Harrison
a54308138f
Navigation: Remove bodyScrolling toggle and make it default ( #93652 )
...
* remove bodyScrolling toggle and make it default
* fix e2e tests
2024-09-24 13:23:18 +01:00
Oscar Kilhed
7f7fed8c3c
Playlists: Check if playlist is playing before reloading for assets ( #93605 )
...
* Check if playlist is playing before updating
* add tests
2024-09-24 14:00:03 +02:00
Torkel Ödegaard
f04e032cf1
FieldOverrides: Clear displayName caching after applying field overrides ( #93651 )
...
* FieldOverrides: Clear displayName caching after applying field overrides
* Remove old comment
2024-09-24 13:51:02 +02:00
renovate[bot]
5193318c56
Update dependency @types/lodash to v4.17.9
2024-09-24 11:47:46 +00:00
Jean-Philippe Quéméner
bfc6c032c4
refactor(alerting): remove transformation that is now done by the querier ( #93660 )
2024-09-24 14:46:03 +03:00
renovate[bot]
314f770a71
Update Yarn to v4.5.0 ( #93626 )
...
* Update Yarn to v4.5.0
* commit new version
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-09-24 14:03:04 +03:00
Todd Treece
3221f493f9
K8s: Prevent registration of frontend datasources ( #93635 )
2024-09-24 06:39:11 -04:00
Vitaly Orlov
4e93e2c7f1
Jaeger: Add references to trace view UI ( #92607 )
...
* Jaeger: Add references to trace view UI
* Fixes
* Fix tests
---------
Co-authored-by: Ivana Huckova <ivana.huckova@gmail.com >
2024-09-24 12:38:13 +02:00
Victor Marin
764ec264c8
Fix deps on panel options ( #93647 )
2024-09-24 13:23:00 +03:00
grafana-pr-automation[bot]
2ceb3c699d
I18n: Download translations from Crowdin ( #93322 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-24 13:19:39 +03:00
renovate[bot]
fa25b10bf8
Update dependency @floating-ui/react to v0.26.24 ( #93580 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-24 09:58:58 +01:00
Gabriel MABILLE
6b89e3f711
go.mod: Authlib update ( #93642 )
2024-09-24 09:41:52 +02:00
Torkel Ödegaard
6c63aec586
Calendar/TimePickers: By default use the system/user start of week ( #93464 )
...
Calendar: Should automatically use user or system start of week
2024-09-24 08:19:55 +02:00
Claudiu Dragalina-Paraipan
a8b07b0c81
[authn] use authlib client+interceptors for in-proc mode ( #93124 )
...
* Add authlib gRPC authenticators for in-proc mode
* implement `StaticRequester` signing in the unified resource client
- [x] when the `claims.AuthInfo` value type is `identity.StaticRequester`, and there's no ID token set, create an internal token and sign it with symmetrical key. This is a workaround for `go-jose` not offering the possibility to create an unsigned token.
- [x] update `IDClaimsWrapper` to support the scenario above
- [x] Switch to using `claims.From()` in `dashboardSqlAccess.SaveDashboard()`
---------
Co-authored-by: gamab <gabriel.mabille@grafana.com >
2024-09-24 09:03:48 +03:00
Charandas
db97da3465
K8s: handle multiple versions of the same group in standalone mode ( #93199 )
2024-09-23 19:07:52 -07:00
Matthew Jacobson
e699348d39
Alerting: Managed receiver resource permission in provisioning ( #93631 )
...
* Alerting: Managed receiver resource permission in provisioning
2024-09-23 17:52:14 -04:00
Brian Gann
5c9486afbc
area/configuration: adds docs for actions_allow_post_url security option ( #93629 )
...
adds docs for actions_allow_post_url security option
2024-09-23 15:41:29 -04:00
owensmallwood
4c8f6b742b
Grafana: Skip flaky test influxdb ( #93627 )
...
* skip flaky test
* remove slack link
2024-09-23 21:37:13 +03:00
Matthew Jacobson
6652233493
Alerting: Managed receiver resource permission in receiver_svc ( #93556 )
...
* Alerting: Managed receiver resource permission in receiver_svc
2024-09-23 21:12:25 +03:00
renovate[bot]
ff37d477fd
Update dependency react-select to v5.8.1
2024-09-23 17:15:58 +00:00
brendamuir
5a1a3204c9
Alerting docs: adds ha-advertise-address to alerting docs ( #93303 )
...
* Alerting docs: adds ha-advertise-address to alerting docs
* Change description of setting [ha_advertise_address]
---------
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2024-09-23 19:14:34 +02:00
Will Browne
7cd546238b
Revert "Plugins: Add logs for plugin proto client retrieval" ( #93617 )
...
Revert "Plugins: Add logs for plugin proto client retrieval (#93527 )"
This reverts commit ccf6fbebfa .
2024-09-23 19:26:02 +03:00
renovate[bot]
eee7270b07
Update dependency rc-tooltip to v6.2.1
2024-09-23 19:19:24 +03:00
antonio
f16f0c2e46
autotriager:update commands.json ( #93613 )
...
autotriager:updated commands.json
2024-09-23 18:55:48 +03:00
Adela Almasan
d630e9bcb3
Chore: Update Action interface ( #93248 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2024-09-23 10:41:05 -05:00
renovate[bot]
026748a5ab
Update dependency rc-slider to v11.1.6
2024-09-23 18:38:45 +03:00
Alexander Zobnin
5e713673e1
Annotations: Optimize search by tags ( #93547 )
...
* Annotations: Optimize search on large number of dashboards
* refactor
* fix batch size
* Return early if no annotations found
* revert go.mod
* return nil in case of error
* Move default limit to the API package
* fix empty access control filter
* Set default limit to 100
* optimize query when number of annotations is less than limit
* Update pkg/services/annotations/annotationsimpl/annotations.go
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
* remove limit from store since it's set in API
* set default limit in Find method (do not break tests)
* Only add limit to the query if it's set
* use limit trick for all searches without dashboard filter
* set default page if not provided
---------
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2024-09-23 17:29:29 +02:00
linoman
5bc7a47ecb
Auth: Update extra_hosts property ( #93545 )
...
Update extra_hosts property
2024-09-23 17:21:09 +02:00
renovate[bot]
f314220be1
Update dependency postcss to v8.4.47
2024-09-23 15:18:40 +00:00
Misi
d6f4246f77
Docs: Update SAML docs ( #93379 )
...
SAML docs update
2024-09-23 17:16:53 +02:00
renovate[bot]
a20a0debf7
Update dependency msw to v2.4.9
2024-09-23 14:59:01 +00:00
Gabriel MABILLE
7714b65f32
Cfg: Deduplicate DefaultOrgID code ( #93588 )
...
Cfg: Expose DefaultOrgID function
2024-09-23 16:50:11 +02:00
renovate[bot]
d38e2feab9
Update dependency knip to v5.30.5
2024-09-23 17:33:16 +03:00
Juan Cabanas
cedd66cefc
ShareDrawer: Export as JSON code editor fix ( #93593 )
2024-09-23 16:31:23 +02:00
owensmallwood
8bbfbc61be
Unified Storage: Adds a few readme updates from issues I ran into with local dev ( #93553 )
...
adds a few readme updates from issues I ran into with local dev
2024-09-23 08:25:19 -06:00
Mat Ryer
b9d325884b
update 'Simplified exploration' page ( #93565 )
...
* update 'Simplified exploration' page
* removed extra 'Explore' heading, which is a little confusing in this context
* simplified the intro text to sound more like the rest of the docs
* Update docs/sources/explore/simplified-exploration/_index.md
Co-authored-by: Jennifer Villa <jvilla2013@gmail.com >
---------
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com >
Co-authored-by: Jennifer Villa <jvilla2013@gmail.com >
2024-09-23 10:21:24 -04:00
Alexa V
067ea66cbb
Dashboard: Annotations - Fix issue of angularEditorLoader when angular is not supported ( #93583 )
...
Dashboard: Annotations - Fix issue of angularEditorLoader when angular is not supported
2024-09-23 16:17:59 +02:00
renovate[bot]
1a13e7fd95
Update dependency @types/systemjs to v6.15.1
2024-09-23 14:11:17 +00:00
Premkumar Chalmeti
ac9015bb2f
Update _index.md ( #93572 )
...
Updated `grafana.ini` file path for macOS apple sillicon
2024-09-23 09:10:36 -05:00
Andres Martinez Gotor
a45167a595
Remove backgroundPluginInstaller feature flag ( #93540 )
2024-09-23 15:49:18 +02:00
renovate[bot]
07f11e9222
Update dependency @rollup/plugin-node-resolve to v15.2.4
2024-09-23 13:37:26 +00:00
maicon
d60351d8e8
Unistore: fix DualWriter context cancelation on mode 1 ( #93377 )
...
* Unistore: fix DualWriter context cancelation on mode 1
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2024-09-23 10:34:36 -03:00
renovate[bot]
83cde35668
Update dependency @playwright/test to v1.47.2
2024-09-23 13:12:56 +00:00
Tom Ratcliffe
cc68f1b673
Alerting: Fix sending secure settings when using K8S API for contact points ( #93498 )
2024-09-23 14:02:58 +01:00
renovate[bot]
bcab60d9e6
Update dependency @msagl/parser to v1.1.23
2024-09-23 12:47:18 +00:00
Galen Kistler
26b039bb81
Prometheus: Incremental query cache keep extra datapoint before new 'from' ( #93186 )
...
* fix: keep extra datapoint before new 'from' when evicting datapoints in incremental query cache
* remove redundant comments
* Update todo
* move prometheus specific code in a new function
* add unit test
---------
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
2024-09-23 14:45:31 +02:00
renovate[bot]
5a2f22c60d
Update dependency @msagl/core to v1.1.23
2024-09-23 12:23:10 +00:00
renovate[bot]
861423a209
Update dependency nx to v19.8.0 ( #91393 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 12:30:35 +01:00
Juan Cabanas
bafb69d877
ShareDrawer: GA enablement ( #93344 )
2024-09-23 13:28:48 +02:00
renovate[bot]
08b2805d07
Update dependency esbuild to v0.24.0 ( #87650 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 12:27:38 +01:00
antonio
c78ea87751
Docs > alerting: example of conditional notification based on labels ( #93541 )
...
* Docs > alerting: example of conditional notification based on labels
* typos
* Update docs/sources/alerting/configure-notifications/template-notifications/create-notification-templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-09-23 10:24:09 +00:00
Hugo Kiyodi Oshiro
6f3f8c0e99
Plugins: Add rudderstack events to plugins update ( #92989 )
2024-09-23 11:52:46 +02:00
Misi
b369341868
Chore: Add feature toggle for session storage redirect handling ( #93575 )
...
Add feature toggle for session storage redirect handling
2024-09-23 12:31:23 +03:00
Karl Persson
2e38329026
RBAC: Add required component to perform access control checks for user api when running single tenant ( #93104 )
...
* Unexport store and create new constructor function
* Add ResourceAuthorizer and LegacyAccessClient
* Configure checks for user store
* List with checks if AccessClient is configured
* Allow system user service account to read all users
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
2024-09-23 11:26:44 +02:00
Matias Chomicki
bca8bd3c8b
Logs: Added query splitting support for forward searching logs ( #93450 )
...
Query splitting: add support for forward searching logs
2024-09-23 11:22:06 +02:00
Sven Grossmann
7189a4af81
Loki: Add UI support for detected_level ( #93574 )
...
feat(detected_level): Add UI support for `detected_level`
2024-09-23 11:20:16 +02:00
Karl Persson
da60c561a8
Docs: Update to use correct config key for saml token url ( #93569 )
...
Update to use correct config key for saml token url
2024-09-23 09:19:38 +02:00
Kim Nylander
76d5608473
[DOC] Add landing page for simplified exploration ( #93515 )
...
* Add landing page for simplified exploration
* shortened the sentences
* Apply suggestions from code review
* Apply suggestions from code review
---------
Co-authored-by: Mat Ryer <matryer@users.noreply.github.com >
2024-09-21 01:47:21 -04:00
Matthew Jacobson
1ede1e32b8
Alerting: Receiver resource permissions service ( #93552 )
2024-09-20 18:31:42 -04:00
Matthew Jacobson
7398fe3fcb
Alerting: Proxy RouteDeleteAlertingConfig through MultiOrgAlertmanager ( #93549 )
...
Proxy RouteDeleteAlertingConfig through MultiOrgAlertmanager
2024-09-20 15:25:14 -04:00
Will Browne
ccf6fbebfa
Plugins: Add logs for plugin proto client retrieval ( #93527 )
2024-09-20 17:36:11 +01:00
Ezequiel Victorero
e22540b763
PublicDashboards: Fix import email sharing api ( #93480 )
2024-09-20 17:00:02 +01:00
Alexander Akhmetov
0ed70d0b2f
Alerting: Add a metric to track the number of rules with simplified editor settings ( #93511 )
...
* Alerting: Add a metric to track the number of rules with simplified editor settings
2024-09-20 17:56:40 +02:00
Isabella Siu
fac98d9084
Elasticsearch: Fix source for invalid query error ( #93501 )
2024-09-20 11:06:30 -04:00
Isabella Siu
2ad558d046
CloudWatch: Fix segfault when migrating legacy queries ( #93543 )
2024-09-20 10:54:34 -04:00
Georges Chaudy
216b63549d
unistore: fix watch events forever looping ( #93517 )
2024-09-20 15:51:09 +02:00
Syerikjan Kh
715ee35abc
RBAC: Check forceLogin inside CanAdminPlugins ( #93449 )
2024-09-20 09:35:58 -04:00
Eric Leijonmarck
f9ad81f715
LBAC for datasources: Allow self serve ( #93477 )
...
* LBAC for datasources: Allow self serve
* capitilized LogQL
2024-09-20 14:24:40 +01:00
brendamuir
a2859de5b6
Alerting docs: updates duration type to string ( #93532 )
...
* Alerting docs: updates duration type to string
* ran prettier
2024-09-20 14:55:44 +02:00
Gabriel MABILLE
8d84517103
AuthN: Introduce DefaultOrgID function for managed service accounts ( #93432 )
...
* Managed Service Accounts: Use AutoAssignOrgID
* Fix the IsExternalServiceAccount function
* Reassign service account role
* Account for AutoAssignOrg
* Update pkg/services/serviceaccounts/models.go
* Simplify IsExternalServiceAccount function
* Add tests
* Easier to understand test
* Revert small change
2024-09-20 14:43:29 +02:00
renovate[bot]
bb69afed7c
Update dependency @grafana/faro-web-sdk to v1.10.0 ( #93347 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-20 11:32:47 +01:00
Timur Olzhabayev
e32810b9f2
Docs: Clarifying the messaging around dependencies a bit more ( #93029 )
...
* Clarifying the messaging around dependencies a bit more
* Update docs/sources/developers/plugins/plugin.schema.json
Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com >
---------
Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com >
2024-09-20 10:23:17 +00:00
Andreas Christou
e18d029a24
GCM: Improve error handling ( #93474 )
...
* Improve error handling
* More manual errorsource
* Revert some changes from original PR
* Update test
2024-09-20 10:40:05 +01:00
ismail simsek
19c7e1f376
Chore: Refactor explore metrics breakdown scene ( #93368 )
...
* refactor breakdown scene
* refactor BreakdownScene along with LayoutSwitcher
* rename
* don't pass default layout
* better type handling
* betterer
* add @bsull/augurs
* implement LabelBreakdownScene
* integrate SortByScene in LabelBreakdownScene
* move to new directory
* introduce BreakdownSearchScene
* integrate searchScene
* cleaning
* initialize @bsull/augurs
* add interaction
* use new breakdown scene
* resolve merge conflicts
* ugrade @bsull/augurs
* update import
* update css
* update tooltip text
* refine sorting
* fix unit test
* fix
* implement outlier detector
* support wasm
* jest testing fix
* localization fix
* use unknown instead of any
* update i18n
* update betterer
* fix locales
* update test
* fix tests maybe
* prettier
* chore: update jest config
* chore: create mock for @bsull/augurs (#92156 )
chore: create mock for bsull/augurs
@bsull/augurs assumes it will be running as an ESM, not
a CommonJS module, so can't be loaded by Jest (specifically
because it contains a reference to import.meta.url).
This PR provides a mock implementation which gets tests passing
again.
Ideally we'd be able to load the actual @bsull/augurs module
in tests so this is just a stopgap really, until a better
solution appears.
* fix unit tests
* remove unused BreakdownScene.tsx
* set outliers as undefined if an error occurs
* Add labels
* betterer
* reset event implemented
* fix controls positioning
* remove sorting
* fix type guard
* more clean up
* remove wasm support from webpack
* betterer
---------
Co-authored-by: Matias Chomicki <matyax@gmail.com >
Co-authored-by: Ben Sully <ben.sully@grafana.com >
2024-09-20 10:22:34 +02:00
Andres Martinez Gotor
74b2d38e37
Chore: Update grafana-plugin-sdk ( #93426 )
2024-09-20 10:20:59 +02:00
Matheus Macabu
945484232c
CloudMigrations: remove unused code from sync migration approach ( #93430 )
2024-09-20 08:58:11 +02:00
Andrew Hackmann
8b6cec2356
Azure Monitor: Blank result formats are not overwritten ( #93493 )
...
* if result format is null from previous query, it will be null and not correct to a different format
* update to not have empty value in result format field
* fix tests
* add check to see if options are in list
* reformat stuff so logic lives on the right layer
* linterrrrrrrrrrrrrrrrrrRR
* Apply suggestions from code review
* if result format is null from previous query, it will be null and not correct to a different format
* update to not have empty value in result format field
* fix tests
* add check to see if options are in list
* reformat stuff so logic lives on the right layer
* linterrrrrrrrrrrrrrrrrrRR
* frontend linter
* linter
* feedback :)
2024-09-20 02:30:03 +03:00
William Wernert
f1ba7deff5
Alerting: Also clear fields in model/store validation for recording rules ( #93506 )
...
* Fix model validation
* Remove validation from provisioning service
2024-09-20 00:27:37 +03:00
Larissa Wandzura
9a40e8dca6
Docs: Removed public preview note from Explore Metrics ( #93503 )
...
removed public preview, EM is now GA
2024-09-19 16:21:26 -05:00
Aaron Godin
735332570f
feat: GroupSync extension UI ( #91777 )
...
* feat: supporting code for groupsync extension UI
* Add result of running i18n extraction
* Place the UI behind a feature toggle as well as the license feature
* Also add access checks to route loading of groupsync route with feature toggle
* Add access check on permissions to show External group sync in nav
* fix: New version of multiOrgRoleOptions hook
* Remove OSS route definition
* Apply feedback on nav title
2024-09-19 14:58:11 -05:00
Alexander Weaver
534bfba7e3
Alerting: Use typed errors in prometheus remote writer ( #93500 )
...
Strongly typed writer errors
2024-09-19 13:34:35 -05:00
lean.dev
5522c3a01b
Grafana: Adds support for PKCS1 encrypted certs ( #93451 )
2024-09-19 15:03:06 -03:00
Jean-Philippe Quéméner
caa967b270
fix(querier): handle single alerting queries without expression ( #93497 )
2024-09-19 19:20:39 +02:00
Michael Mandrus
f4c5c5c418
Chore: Fix flaky cloud migration test due to ordered steps running in parallel ( #93491 )
...
don't run test in parallel
2024-09-19 18:45:02 +03:00
Alexander Akhmetov
9f5b05f936
Alerting: Add metadata field with editor_settings to alert rule ( #93245 )
2024-09-19 16:43:41 +02:00
Brendan O'Handley
4d1adf9db4
Explore Metrics: Get OTel resources and filter metrics and labels ( #91221 )
...
* add OTel filter in metric select scene
* add resource query to get matching OTEL job&instance
* filter metrics by OTEL resources
* only add otel select if DS has OTEL matching job and instance
* add folder for otel resources
* upate metric select for new otel folder
* move otel api call
* get otel resources for labels for single series job/instance target_info
* add otel resources to adhoc variable dropdown
* update otel api to check for standardization and return labels
* label types for api
* check standardization, show otel variable, select depenv, update other variables
* remove otel target list from metric select scene
* load resources if dep_env label has already been selected
* exclude previously used filters
* do not check standardization if there are already otel filters
* drop filters when switching data sources
* add experience var for switching to otel experience
* remove otel from variables and place near settings
* add error for non-standard prom with otel resources
* fix typescript errors, remove ts-ignores
* add custom variable for deployment environment like app-olly
* fix name of otel variable
* add function for getting otel resources from variables
* add otel join query const
* update standard check to be simpler
* allow for unstandard otel data sources but give warning
* add otelJoinQuery to the base query and clean up variables when state changes
* refactor otel functions to return filters for targets, use targets to filter metrics
* update metric names on otel target filter change
* when no otel targets for otel resource filter, show no metrics
* move switch to settings, default to use experience, refactor otel checks
* clean code
* fix refactor to add hasOtelResources for showing the switch in settings
* sort otel resources by blessed list
* reset otel when data source is changed
* move otel experience toggle back outside settings
* move showPreviews into settings
* do not re-add otel resources from blessed list to filters when already selected
* add otel join query variable to histogram base query
* only show settings for appropriate scenes
* show info tooltip the same but show error on hover for disabling otel exp for unstandard DS
* refactor tagKeys and tagValues for otel resources variable, fix promoted list ordering, fix dep env state bug
* default dep env value
* apply var filters only where they are using VAR_FILTER_EXPR in queryies
* change copy for labels to attributes
* do not group_left job label when already joining by job
* update copy for label variable when using otel
* remove isStandard check for now because of data staleness in Prometheus
* default to showing heatmap for histograms
* add trail history for selecting dep env and otel resources
* add otel resource attributes tests for DataTrail
* move otel functions to utils
* write tests for otel api calls
* write tests for otel utils functions
* fix history
* standard otel has target_info metric and deployment_environment resource attributes
* fix tests
* refactor otel functions for updating state and variables
* clean code
* fix tests
* fix tests
* mock checkDataSourceForOtelResources
* fix tests
* update query tests with otelJoinQuery and default to heatmap for _bucket metrics
* fix tests for otel api
* fix trail history test
* fix trail store tests for missing otel variables
* make i18n-extract
* handle target_info with inconsistent job and instance labels
* fix otel copy and <Trans> component
* fix custom variable deployment environment bug when switchiing data sources from non otel to otel
* fix linting error for trans component
* format i18nKey correctly
* clean up old comments
* add frontend hardening for OTel job and instance metric list filtering
* fix test for deployment environment custom variable to use changeValueTo
* fix i18n
* remove comments for fixed bug
* edit skipped tests
2024-09-19 09:34:31 -05:00
Ryan McKinley
542105b680
ResourceClient: Exercise resource client in k8s apis tests ( #93473 )
2024-09-19 17:16:48 +03:00
linoman
63195664f4
SSO LDAP: Fix ldap provider in providers list ( #93472 )
...
* Correct comment about provider filter
* Add type for LDAP provider
* Ignore old LDAP init setup when using SSO
2024-09-19 16:05:55 +02:00
Will Browne
362ffff591
Plugins: Avoid returning 404 for AutoEnabled apps ( #93436 )
...
avoid errors for autoenabled apps
2024-09-19 14:00:34 +01:00
Jack Baldry
d5f205fdef
Update workflows to use actions that don't need organization secrets ( #92603 )
2024-09-19 13:53:45 +01:00
Gabriel MABILLE
7ef13497a8
AuthN: Ext JWT support actions ( #92486 )
2024-09-19 14:25:43 +02:00
Ryan McKinley
1e3816a6f8
K8s/Dashboard: Read DTO from the registered storage, not just legacy ( #93406 )
2024-09-19 12:45:32 +03:00
Esteban Beltran
b48f288583
Chore: Change condition to run auto triager based on user association ( #93466 )
2024-09-19 11:49:54 +03:00
Ryan McKinley
f21a5987a2
Plugins: Expose datasources as apiservers feature toggle ( #93250 )
2024-09-19 11:28:27 +03:00
Ashley Harrison
73eff837e8
Select: Fix last option in an option group to be selectable ( #93457 )
...
don't completely overwrite innerProps
2024-09-19 09:05:23 +01:00
DaRK AnGeL
224e96effa
Chore: Add ILS (Israeli New Shekels) currency to value formatter ( #93390 )
...
add ILS to Currency
2024-09-19 08:05:28 +02:00
Jean-Philippe Quéméner
4f04b5849e
feat(apiserver): add flag to control the request size limit ( #93431 )
2024-09-18 20:39:32 +03:00
Torkel Ödegaard
d177e57f7e
DashboardScene: Fix url state sync issue when coming form Home dashboard to a cached dashboard scene ( #93442 )
...
* DashboardScene: Fixes preserve dashboard state for hidden options
* DashboardScene: Alt fix for pervering only specific url keys
* DashboardScene: Fixes url sync issue when coming from Home route
* Update
* Fix test
2024-09-18 17:57:15 +02:00
ismail simsek
37e4353a18
Chore: Fix running frontend unit tests in JetBrains ( #93441 )
...
read the files with their absolute paths
2024-09-18 17:51:58 +02:00
Andreas Christou
6a3dbe7d41
AzureMonitor: Improve resource picker efficiency ( #93127 )
...
* Parameterise region building metric namespace URL
- Add parameter for region (this parameter takes precedence over if global is set)
- Update tests
- Support this parameter on the data source method
* Refactor fetchAllNamespaces
- Use Set rather than an array for greater performance
- Request namespaces across WestEurope, EastUS, and JapanEast concurrently
- Update test
* Maintain existing behaviour
2024-09-18 15:17:36 +01:00
Jean-Philippe Quéméner
72bfa624ce
fix(apiserver): append errors correctly from options ( #93434 )
2024-09-18 16:38:59 +03:00
Eric Leijonmarck
6ee7f7dc79
Docs: Add http docs for lbac for datasources ( #93399 )
...
* Add: http docs for lbac for datasources
* spelling
* update with only cloud loki
* rename to lbac for datasources
* moved it
* Update _index.md
This commit fixes minor style and punctuation issus
* change datasource to data source
* replace datasource with data source
minor updates and style fixes
* minor style changes
* prettier
---------
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
2024-09-18 11:54:21 +01:00
Juan Cabanas
af42f31fe6
ShareDrawer: Update documentation link buttons ( #93339 )
2024-09-18 11:53:02 +01:00
wt
f7232b997c
Dashboards: Fix typo in PublicDashboardNotAvailable component ( #93418 )
2024-09-18 12:56:08 +03:00
Alexander Zobnin
3e1fd80831
Docs: Add announcement banners to list of RBAC actions ( #93421 )
2024-09-18 11:54:11 +02:00
kay delaney
98a4d2858a
Dashboards: Fix 'days' unit pluralization ( #93326 )
2024-09-18 10:00:42 +01:00
Esteban Beltran
eb3f64b3f8
Chore: Fix issue-labeled workflow permission errors ( #93417 )
...
* Chore: Fix issue-labeled workflow permission errors
* fix comparison
2024-09-18 11:09:53 +03:00
Gabriel MABILLE
bfb25e33eb
RBAC: AccessControlOnCall general availability ( #93383 )
...
RBAC: GA accessControlOnCall
2024-09-18 08:58:05 +02:00
Alexander Akhmetov
e59ea00518
Alerting: Add TLS, QoS and retain options to the MQTT receiver ( #92331 )
2024-09-17 21:11:16 +02:00
Ryan McKinley
b52e6ba552
Chore: Convert tabs to spaces in playlists.cue ( #93403 )
2024-09-17 20:09:54 +03:00
Yuri Tseretyan
0f788d8d83
Alerting: Support for renaming receivers ( #93349 )
...
* update RenameReceiverInNotificationSettings in DbStore to check for provisioning
* implement renaming in receiver service and provisioning
* do not patch route when stitching
* fix bug in stitching because it returned new name but the old one was expected
* update receiver service to always return result converted from storage model this makes sure that UID and version are consistent with GET\LIST operations
* use provided metadata.name for UID of domain model because rename changes UID and request fails
* remove rename guard
* update UI to not disable receiver name when k8s api enabled
* create should calculate uid from name because new receiver does not have UID yet.
2024-09-17 19:07:31 +03:00
linoman
fb0d3b944a
SSO LDAP: Fix search base dns parsing ( #93179 )
...
* Fix parse of
* Add i18n files
* Add default value
* Replace input field with multiselect
* rename delete form function
* Use Controller for MultiSelect
2024-09-17 17:52:53 +02:00
Matthew Jacobson
1ea873950b
Alerting: Reject receiver update in config API when FlagAlertingApiServer enabled ( #93300 )
...
* Reject receiver update in config API when FlagAlertingApiServer enabled
2024-09-17 16:49:17 +03:00
kay delaney
cbf2aa993e
LibraryPanels: Fix folderUid nil pointer dereference ( #93400 )
2024-09-17 13:03:49 +00:00
Oscar Kilhed
4d50cb2b7b
Scenes: Ensure scenes dashboards interpolate variables in sql queries the same as old arch ( #93270 )
...
Ensure scenes dashboards interpolate variables in sql queries the same as old arch
2024-09-17 13:33:06 +01:00
Levente Balogh
f0ce33e569
Plugin.json schema: Update the meta-info for extensions ( #92732 )
...
* feat(plugin.json): update the extensions definition schema
* feat(plugin.json): add `exposedComponents` definition to the dependencies
* feat(plugin.schema.json): add descriptions for the new schema fields
* review: wrap extensions related dependencies
* review: add a pattern for the extension point id
* review: add a min-length to added link & component titles
* add a pattern to the exposed component id
2024-09-17 12:06:23 +00:00
Jean-Philippe Quéméner
10314585ec
fix(alerting): extend instant vector check for non-nullable types ( #93323 )
2024-09-17 13:20:40 +02:00
Misi
41cd0f5180
Auth: Add improvedExternalSessionHandling feature toggle ( #93385 )
...
Add improvedExternalSessionHandling feature toggle
2024-09-17 13:54:39 +03:00
Esteban Beltran
43cad93e62
Chore: use github app for issue commands workflow ( #93304 )
...
* Chore: use github app for issue commands workflow
* use it in issue-opened too
* update comments and permissions
* use issue app for triager token
* add spaces
* add config as requirement
* only run main if it has secrets
* Check for repository name,
* remove config work
* get secrets after sleep
2024-09-17 12:32:58 +02:00
antonio
aee9458d98
alerting>docs>notification template example ( #93330 )
...
* alerting>docs>notification template example
* all pretty no pity
* Update docs/sources/alerting/configure-notifications/template-notifications/create-notification-templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/template-notifications/create-notification-templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/template-notifications/create-notification-templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/template-notifications/create-notification-templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* replaced future tense
* pretty
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-09-17 10:27:44 +00:00
Artur Wierzbicki
1782b3dd39
Chore: Add update-workspace to build-go deps ( #93386 )
...
* Revert "Chore: Remove update-workspace from build-go deps (#93352 )"
This reverts commit 8a712fd510 .
* workspace update changes
2024-09-17 12:47:00 +03:00
Jan-Otto Kröpke
e2bce38a79
App Plugins: Allow resource handle to define Cache-Control Header ( #92559 )
2024-09-17 10:28:38 +02:00
Matheus Macabu
4f21ecf982
CloudMigrations: improve nil handling ( #93257 )
...
* CloudMigrations: fail token decryption if session is not found or without a token
* CloudMigrations: do not report event if session is nil
2024-09-17 08:59:47 +02:00
Ieva
f72401e23b
Docs: Add a doc page for RBAC for app plugins ( #93274 )
...
add a doc page for RBAC for app plugins
2024-09-16 10:14:52 +01:00
Todd Treece
d1ffcc22d9
Playlists: Migrate to App SDK codegen ( #93246 )
2024-09-13 16:27:40 -04:00
Todd Treece
8a712fd510
Chore: Remove update-workspace from build-go deps ( #93352 )
2024-09-13 14:09:09 -06:00
Todd Treece
80795fcfd5
Aggregator: Add README and example query ( #93351 )
2024-09-13 22:55:26 +03:00
Andrew Hackmann
3df62c28bb
InfluxDB: Add Influx to check if series need to be fixed labels ( #93299 )
...
add influx to check if series need to be fixed labels
2024-09-13 14:05:15 -05:00
Matthew Jacobson
3bf77d2e05
Alerting: Include in-use metadata in k8s receiver LIST & GET ( #93016 )
...
* Include in-use metadata in k8s receiver List & Get
2024-09-13 20:20:09 +03:00
Matthew Jacobson
bd9fc8127b
Alerting: Fix config api POST provenance guard ( #93244 )
...
* Add failing tests
* Fix bug in provenance guard on renaming receivers or moving integrations
* Linting
2024-09-13 12:42:33 -04:00
renovate[bot]
a5c122af78
Update dependency msw to v2.4.6
2024-09-13 16:06:46 +00:00
Juan Cabanas
683dbcf57c
ShareDrawer: Flaky test fixed ( #93345 )
2024-09-13 19:04:52 +03:00
Will Browne
ffbf6cf72d
Plugins: Add test case for relative parent directory path ( #93338 )
...
add case for testing relative path
2024-09-13 18:30:19 +03:00
brendamuir
bb923db279
Alerting docs: improve alert rule definitions ( #93321 )
...
* Alerting docs: improve alert rule definitions
* more edits
* corrects numbering
2024-09-13 17:29:48 +02:00
renovate[bot]
7ea2410272
Update dependency @grafana/faro-web-sdk to v1.10.0 ( #93335 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-13 16:25:58 +01:00
Gilles De Mey
70b5bd609c
Alerting: Update rules empty state CTA ( #93276 )
2024-09-13 18:21:17 +03:00
Victor Marin
a214fbd7cf
Fix panels in rows stuck in loading ( #93168 )
...
* Fix panels in rows stuck in loading
* fix
* fix + tests
* force reperform in case All value is selected and actual options change
* bump scenes so tests pass
* redo yarn.lock
* redo yarn.lock
2024-09-13 17:51:12 +03:00
oscarkilhed
ad6cd55301
update tests to include Selected (x) in variable multi select boxes
2024-09-13 17:32:52 +03:00
renovate[bot]
1641570c3e
Update dependency @grafana/scenes to v5.14.7
2024-09-13 17:32:52 +03:00
Josh Hunt
9fbd05773a
Chore: Clean up old API methods in manage-dashboards/actions ( #93329 )
...
Chore: Deprecate createFolder() function, and remove other unused functions
2024-09-13 17:11:41 +03:00
Juan Cabanas
c56870e511
ShareDrawer: Test coverage ( #93111 )
2024-09-13 11:01:21 -03:00
renovate[bot]
c87b3c4bbf
Update dependency @grafana/faro-core to v1.10.0 ( #93319 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-13 13:56:57 +01:00
Tom Ratcliffe
f9796f05fe
Alerting: Fix sending secure settings when using k8s API ( #93320 )
2024-09-13 15:01:05 +03:00
Carl Bergquist
56616e69a1
scopes: sort scope dashboard bindings on dashboard title ( #93305 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-09-13 07:51:08 -04:00
Sonia Aguilar
d28e76e93b
Alerting: Show a warning when contact point has not receivers in it ( #93318 )
...
Show a warning when contact point has not receivers in it
2024-09-13 14:40:52 +03:00
Sonia Aguilar
8a743b2e2f
Alerting: Fix reseting secure fields ( #93278 )
...
fix reseting secure fields
2024-09-13 13:33:26 +02:00
renovate[bot]
48dd1af524
Update dependency knip to v5.30.2
2024-09-13 11:33:11 +00:00
renovate[bot]
cbe850b558
Update dependency rudder-sdk-js to v2.48.18
2024-09-13 11:05:56 +00:00
renovate[bot]
dc2a777edb
Update dependency @types/jest to v29.5.13
2024-09-13 10:27:38 +00:00
Sonia Aguilar
be4798096a
Alerting: Fix incorrect warning for OnCall integration ( #93085 )
...
Remove warning when geting oncall metadata
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2024-09-13 11:59:00 +02:00
renovate[bot]
1783b47545
Update dependency eslint-plugin-react to v7.36.1 ( #93255 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-13 10:46:49 +01:00
Raiko Wielk
c539e3627c
Docs: Fix broken links in contribute/backend/README.md ( #92261 )
...
Co-authored-by: Dave Henderson <dhenderson@gmail.com >
2024-09-13 12:34:31 +03:00
hemerfaSICKAG
d54ede607c
Update playlist.md to align with Grafana 11 ( #92884 )
...
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
2024-09-13 08:59:20 +00:00
Ashley Harrison
161d452841
Chore: Type improvements ( #93267 )
...
* some type fixes + ignore graveyard folder
* few more fixes
* remove comment
* ignore global styles
* few more type fixes
2024-09-13 09:50:55 +01:00
Piotr Jamróz
3514504240
Tracing: Remove redundant types ( #91835 )
...
* Display event name of a span
* Clean up
* Retrigger the build
* Show colon only when there are fields to display
* Rollback
* Use event name when exporting to OTLP
* Allow filtering spans by event name
* Remove redundant types
* Remove redundant TraceLog
* Update betterer report
2024-09-13 10:05:37 +02:00
Erik Sundell
8c702d4a6b
Plugin extensions: Make sure core features use new hooks ( #92723 )
...
* use new extensions APIs across grafana core
* setup setPluginLinksHook
* fix tests
* fix mock
* fix more broken tests
* use plugin components hook
* remove unused func
* fix tests
* remove unused import
2024-09-13 09:23:18 +02:00
Andres Martinez Gotor
01a4e6b9af
Remove the need for plugins to implement AdmissionHandler for v0alpha1 ( #93272 )
2024-09-13 09:08:26 +02:00
Kevin Minehart
d60a28b3c8
CI: Update grafanabot github token ( #93291 )
...
Update grafanabot github token
2024-09-12 14:37:30 -05:00
Matthew Jacobson
ff6a20f54a
Alerting: Include access control metadata in k8s receiver LIST & GET ( #93013 )
...
* Include access control metadata in k8s receiver List & Get
* Add tests for receiver access
* Simplify receiver access provisioning extension
- prevents edge case infinite recursion
- removes read requirement from create
2024-09-12 20:57:53 +03:00
Matthew Jacobson
0aa87fd1d4
Alerting: Fix DashboardUID typo in json provisioning api ( #65143 )
...
* Alerting: Fix dasboardUid typo in json provisioning api
The json tag for DashboardUID was incorrectly set to dasboardUid in the provisioning api. This change fixes the typo while keeping backwards compatibility for the typo.
* Add alerting-squad as CODEOWNER for services/provisioning/alerting
2024-09-12 20:44:03 +03:00
maicon
d1d578785c
Add remaining k8s endpoints for Folders ( #93146 )
...
* Add remaining Folders k8s endpoints
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* Remove duplicated import
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2024-09-12 14:38:27 -03:00
Yuri Tseretyan
f8fa5286a1
Alerting: Introduce alert rule models in storage ( #93187 )
...
* introduce storage model for alert rule tables
* remove AlertRuleVersion from models because it's not used anywhere other than in storage
* update historian xorm store to use alerting store to fetch rules
* fix folder tests
---------
Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com >
2024-09-12 13:20:33 -04:00
Ashley Harrison
0a976f831c
Breadcrumbs: Tweak padding so they remain equally spaced ( #93284 )
...
tweak breadcrumb padding so it's equally spaced
2024-09-12 19:24:52 +03:00
Drew Slobodnjak
e6f359f90b
Transformations: Binary operation on all numbers ( #92172 )
...
* Transformations: Binary operation on all numbers
* Handle replaceFields option
* Change left clear out to string
* Handle time field
* Fix filtering
* Update new field names to remove double space
* Add tests
* Add BinaryValue interface and update editor
* Fix initial behavior
* Rollback rendering standards
* Add ctx interpolate
* Fix fixed value variable
* Add function to convert old binary value type
* Update tests for new structures
* Add bullet for all number field option
* baldm0mma/run content build script
* Disable alias control for type matching
2024-09-12 08:50:23 -07:00
Ashley Harrison
dceba35a55
Portal: Fix positioning when bodyScrolling is disabled ( #93277 )
...
fix portal when bodyScrolling is disabled
2024-09-12 16:24:36 +01:00
Laura Fernández
2a8f6755d5
Search: add folders and subforders to search info ( #93177 )
2024-09-12 17:20:54 +02:00
Alexa V
22fe575925
Dashboard Scene: Fix issue for Dashboard Datasource and library panel ( #93220 )
2024-09-12 16:49:22 +02:00
William Wernert
efe62086f9
Alerting: Add type label rule_group_rules metric ( #91425 )
...
* Add group and type labels to rule_group_rules metric
* Don't include group to avoid high cardinality
* Add comments
* Reset rule_group_rules before recording new values
* Edit description for rule_group_rules
* Include ruleGroup combo key in labels
* Fix lint
2024-09-12 17:27:09 +03:00
Ryan McKinley
45eb72e95a
K8s: Use wire to initalize the resource client ( #93221 )
2024-09-12 17:22:27 +03:00
brendamuir
85fbc8e8e5
Alerting docs: some edits to recording rules ( #93260 )
...
* Alerting docs: some edits to recording rules
* ran prettier
* removes refs
* fixes link
* fixing links
* corrects typo
* removes type step
* corrects typo
2024-09-12 14:00:12 +00:00
Jean-Philippe Quéméner
eabf3b9f73
feat(alerting): add support for query service instant vectors ( #92091 )
2024-09-12 15:33:00 +02:00
colin-stuart
04d9fa04a7
Auth: Prevent scheduled token rotation jobs with large delay from rolling back to 1 ms ( #93242 )
...
Auth: prevent scheduled token rotation jobs with large delay from rolling back to 1 ms
2024-09-12 09:21:30 -04:00
Tom Ratcliffe
03c48844dd
Chore: Remove MSW worker from source control and rely on installation instead ( #93268 )
2024-09-12 16:03:50 +03:00
Will Browne
3f8d127410
Plugins: Ensure only updateable plugins can be updated via the UI ( #93205 )
...
* only updateable plugins can be updated via the UI
* add missing state
* Apply levi brains
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
* apply same style throughout
---------
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
2024-09-12 13:51:50 +01:00
Raiko Wielk
3d9ae801cb
Docs: Fix broken links in contribute/**/*.md ( #92182 )
...
Co-authored-by: Dave Henderson <dhenderson@gmail.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-09-12 15:51:30 +03:00
Esteban Beltran
1c84e76d32
Triager: Add area/query-library to commands.json ( #92963 )
2024-09-12 14:46:45 +02:00
Arati R.
b918739a98
K8s/Folders: Add basic folder integration tests (create, read) ( #93232 )
...
* Add initial folder tests
* Add test for get/reading folders
* Compare legacy and k8s create and read
* Remove dependency on grafanaAPIServerWithExperimentalAPIs
2024-09-12 14:36:46 +02:00
Carl Bergquist
350c227da6
Scopes: Add more logging in custom handler ( #93263 )
...
scope api:add more logging in custom handler
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-09-12 15:03:16 +03:00
Jack Westbrook
29243658ce
Performance: Code split login page ( #92704 )
...
feat(frontend): lazy load login page
2024-09-12 14:01:08 +02:00
Bogdan Matei
2a2813b577
Scopes: Reload dashboards when on scopes change ( #92804 )
2024-09-12 13:58:45 +02:00
grafana-pr-automation[bot]
ce7533eb3b
I18n: Download translations from Crowdin ( #93211 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-12 13:20:22 +03:00
brendamuir
98f766a50d
Alerting docs: adds recording rule info ( #93204 )
...
* Alerting docs: adds recording rule info
* ran prettier
* Updates with feedback from pepe and removes external reference
* couple of minor edits
* removes reference
* feedback from sonia
* adds links per gilles
* adds correct version link
2024-09-12 12:06:23 +02:00
renovate[bot]
bc0d4f9903
Update dependency @grafana/aws-sdk to v0.4.2 ( #93253 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-12 10:23:41 +01:00
renovate[bot]
be0f2a131a
Update dependency type-fest to v4.26.1 ( #93238 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-12 09:33:53 +01:00
linoman
785240d51c
SSO LDAP: Add LDAP to providers list ( #93120 )
...
* Add LDAP to providers list
* fix bug when there are no group mappings
2024-09-12 10:31:24 +02:00
Tito Lins
a910188675
Replace prom MustRegister with Register ( #92725 )
2024-09-12 10:24:12 +02:00
janlugt
9d6935388c
Notifications: Add Message-ID header to outgoing emails ( #83752 )
...
* Add Message-ID header to outgoing emails
* change message-id format
* parse adddresses with name
2024-09-12 03:58:06 +00:00
Faye Lin
634d590cf1
Search: Fix a bug when searching folders under the general folder ( #91042 )
...
* fix: search returns all folders when folder uid is general
* test: add unit test for FolderUIDFilter when NestedFolders is enabled
2024-09-12 05:55:28 +02:00
renovate[bot]
b5dd8a5e89
Update dependency sass to v1.78.0 ( #93237 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-11 17:25:03 +01:00
renovate[bot]
14e29247aa
Update dependency rc-tree to v5.9.0 ( #93235 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-11 17:00:05 +01:00
Ieva
700636b3b9
RBAC: Hide the root level dashboard creation button from users who can't create dashboards on root level ( #92942 )
...
hide the root level dashboard creation button from users who can't create dashboards on the root level
2024-09-11 16:40:08 +01:00
Isabel Matwawana
1f7ebde0de
Revert "move Search page to Dashboards category" ( #93234 )
2024-09-11 11:12:24 -04:00
renovate[bot]
d0e2ab642c
Update dependency @grafana/plugin-e2e to v1.8.0 ( #93228 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-11 15:34:04 +01:00
Esteban Beltran
7b69d5b44f
Add missing permissions for auto-triage bot ( #93230 )
2024-09-11 16:51:15 +03:00
Will Browne
0469b0f52e
Plugins: Ensure fetch loading strategy cases for nested plugins ( #93209 )
...
* fix
* fix func name
2024-09-11 16:35:13 +03:00
Andreas Christou
f5926af99a
InfluxDB: Update macro regexp ( #93040 )
...
Update macro and tests
2024-09-11 14:26:09 +01:00
Raiko Wielk
9d5f8e2998
Docs: Fix broken link in contribute/backend/README.md ( #92103 )
...
Co-authored-by: Dave Henderson <dhenderson@gmail.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-09-11 14:18:56 +01:00
Brendan O'Handley
d41ee6bbc3
Explore metrics: Fix long metrics and labels in landing page ( #92443 )
...
* word wrap long metric names
* trunctate long labels
* use css for filters
2024-09-11 08:17:41 -05:00
renovate[bot]
ff5ed75ea9
Update dependency @grafana/scenes to v5.14.3
2024-09-11 13:13:25 +00:00
Leon Sorokin
77eefcbc4c
XYChart: Avoid tick collisions on x-axis ( #93195 )
2024-09-11 08:10:30 -05:00
Ashley Harrison
766e256c5c
Chore: Update mockServiceWorker version ( #93223 )
...
update version
2024-09-11 16:06:04 +03:00
Todd Treece
b4918f40c4
Chore: Update plugin SDK to v0.248.0 ( #93217 )
2024-09-11 15:17:29 +03:00
Gilles De Mey
90ee52e8d9
Alerting: New search UI – Part 1 ( #91620 )
2024-09-11 14:29:26 +03:00
Esteban Beltran
05023d9d31
Enable auto-triager to automatically add labels to community issues ( #93206 )
...
* Chore: Enable auto-triager to set labels
* pass the correct token to add labels
2024-09-11 12:53:16 +02:00
Irene Rodriguez
900608b50b
Update admonition to show differences across plans ( #93202 )
...
As per https://github.com/grafana/support-escalations/issues/11312#issuecomment-2342024943 , this PR updates the admonition to reflect that some features such as branding are not available for all plans.
2024-09-11 11:26:42 +01:00
Hugo Kiyodi Oshiro
ecd1a6e421
Plugins: Fix plugins count in update all plugins button ( #93126 )
...
* Plugins: Fix plugins count in update all plugins button
* Plugins: Fix new updates filter
* Plugins: Update tests
2024-09-11 12:12:06 +02:00
renovate[bot]
b18593ca4e
Update dependency msw to v2.4.5 ( #93161 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-11 11:03:29 +01:00
Daniel Strobusch
748425cd66
[docs] remove misplaced heading. ( #93166 )
2024-09-11 12:59:29 +03:00
Laura Fernández
902c658c9a
POC: Refresh footer on SaveDashboardAsForm when title and folder data change by the user ( #92330 )
2024-09-11 11:51:48 +02:00
Yulia Shanyrova
f88571c2e7
Plugins: Plugin details right panel UI improvements ( #93171 )
...
* UI improvements WIP
* change links appearance and layout for plugin details right panel
* Changed external links back
* Update public/app/features/plugins/admin/components/PluginDetailsRightPanel.tsx
Co-authored-by: David Harris <david.harris@grafana.com >
* Update public/locales/en-US/grafana.json
Co-authored-by: David Harris <david.harris@grafana.com >
* fix report abuse to report concern
---------
Co-authored-by: David Harris <david.harris@grafana.com >
2024-09-11 11:44:16 +02:00
Ryan McKinley
7efadb0a00
Testing: Integration tests for unified-grpc start a local gRPC server ( #93201 )
2024-09-11 11:50:14 +03:00
grafana-pr-automation[bot]
91c3e3478a
I18n: Download translations from Crowdin ( #93185 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-11 09:32:21 +01:00
Ashley Harrison
79a86b9e6a
Chore: Improve typings ( #93180 )
...
* fix some any's/type assertions
* fix some more any/type assertions
2024-09-11 09:30:33 +01:00
Alex Khomenko
25ebb5b76f
Users/teams: Update to be compatible with react router 6 ( #93163 )
...
* UserCreatePage: Make compatible with react router 6
* ServiceAccountPage.test: Make compatible with react router 6
* Update TeamPages
2024-09-11 10:02:11 +03:00
Yuri Tseretyan
cb372d3fa8
Alerting: Support secrets in contact points nested fields ( #92035 )
...
Back-end:
* update alerting module
* update GetSecretKeysForContactPointType to extract secret fields from nested options
* Update RemoveSecretsForContactPoint to support complex settings
* update PostableGrafanaReceiverToEmbeddedContactPoint to support nested secrets
* update Integration to support nested settings in models.Integration
* make sigv4 fields optional
Front-end:
* add UI support for encrypted subform fields
* allow emptying nested secure fields
* Omit non touched secure fields in POST payload when saving a contact point
* Use SecretInput from grafana-ui instead of the new EncryptedInput
* use produce from immer
* rename mapClone
* rename sliceClone
* Don't use produce from immer as we need to delete the fileds afterwards
---------
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
Co-authored-by: Sonia Aguilar <soniaaguilarpeiron@gmail.com >
Co-authored-by: Matt Jacobson <matthew.jacobson@grafana.com >
2024-09-10 22:26:23 -04:00
Juan Cabanas
78ce9b8f39
ShareDrawer: Remove URL param in share externally cancel ( #93191 )
2024-09-10 17:48:45 -03:00
Isabel Matwawana
1c52d7b994
Docs: Update forward direction search for Loki entry ( #92875 )
2024-09-10 16:48:32 -04:00
Leon Sorokin
e9901acfb4
TimeSeries: Increase y-axis tick density for small-height panels ( #93188 )
2024-09-10 15:20:24 -05:00
Juan Cabanas
afe457306a
ShareDrawer: Change alert texts ( #93184 )
2024-09-10 17:11:54 -03:00
Andreas Christou
00ace4678c
GCM: Add errorsource ( #92151 )
...
* Add errorsource
* Minor lint fixes
2024-09-10 19:34:20 +01:00
Oscar Kilhed
acbd50c7d6
GrafanaUI: Add select all toggle to selectbox ( #92483 )
...
* Add select all toggle
2024-09-10 20:33:17 +02:00
Ryan McKinley
d724d463b1
DualWriter: Add mode 5 that always uses storage ( #93169 )
2024-09-10 13:07:06 -04:00
Gilles De Mey
c8dc4d93d4
Alerting: Rename list view section titles ( #93182 )
2024-09-10 19:31:11 +03:00
Gabriel MABILLE
697afc71b4
RBAC: FIX Allow specifying several valid scopes for a kind ( #93176 )
...
* PermRegistry: Fix regression with actions applying to multiple scopes
* Add tests
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
---------
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2024-09-10 17:22:40 +01:00
Irene Rodriguez
3f9227183d
move Search page to Dashboards category ( #92968 )
...
* move Search page to Dashboards category
* fix Vale suggestions
* Update docs/sources/dashboards/search/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-09-10 18:14:11 +02:00
Joao Silva
15bf1348ab
GrafanaUI: Show focus on selected date of the date picker ( #93181 )
2024-09-10 16:51:53 +01:00
linoman
56f361198c
SSO LDAP: Adjust button behavior ( #93173 )
...
* Extract getSettings behaviour
* Replace string values format
* Reload settings
* Add new option to discad settings
* update i18n files
* run frontend linter
2024-09-10 18:06:40 +03:00
Matthew Jacobson
eea28172e0
Alerting: Add field selectors for k8s receivers API ( #93015 )
...
Add field selectors for k8s receivers API
metadata.provenance
spec.title
2024-09-10 10:58:14 -04:00
Adela Almasan
f64b121ddb
Canvas: Allow API calls to grafana origin ( #91822 )
...
* allow post URL
* check for config
* allow relative paths
* add allowed internal pattern; add checks for method
* update defaults.ini
* add custom header
* update config comment
* use globbing, switch to older middleware - deprecated call
* add codeowner
* update to use current api, add test
* update fall through logic
* Update pkg/middleware/validate_action_url.go
Co-authored-by: Dan Cech <dcech@grafana.com >
* Update pkg/middleware/validate_action_url.go
Co-authored-by: Dan Cech <dcech@grafana.com >
* add more tests
* Update pkg/middleware/validate_action_url_test.go
Co-authored-by: Dan Cech <dcech@grafana.com >
* fix request headers
* add additional tests for all verbs
* fix request headers++
* throw error when method is unknown
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
Co-authored-by: Brian Gann <bkgann@gmail.com >
Co-authored-by: Brian Gann <briangann@users.noreply.github.com >
Co-authored-by: Dan Cech <dcech@grafana.com >
2024-09-10 10:45:27 -04:00
Esteban Beltran
462560d544
Chore: Only auto-triage issues for authors non associated to the repository ( #93174 )
...
Only triage issues for authors non associated to the repository
2024-09-10 16:29:58 +02:00
Tobias Skarhed
096105fed6
New Select: Try it out with some core components ( #92826 )
...
* Export Combobox and add portalling
* Use floatingui fixed strategy and fix z-index
* Check non null
* Make value string type only
* Try with fiscal year setting
* Use combobox for WeekStartPicker
* Improve screen reader handling
* Fix faulty import
* Fix type issue
* Fix failing tests and export unstable
* Rename option and remove export
* Use comboboxMockSetup function
* Add support for number type
* menuClosed styles to emotion
2024-09-10 17:28:00 +03:00
Aaron Godin
2c93120a42
feat: add QueryIntWithDefault to web context ( #93130 )
2024-09-10 09:04:49 -05:00
Ryan McKinley
22c63ea3c5
DualWriter: remove mode4 wrapper ( #93172 )
2024-09-10 16:01:14 +03:00
Ryan McKinley
2f792ee4ae
DualWriter: Return error for unsupported watch ( #93159 )
2024-09-10 15:42:17 +03:00
Jack Westbrook
e3fd9f9e58
Fix: Resolution of css for plugins using loadPluginCSS ( #93128 )
...
* fix(plugins): resolve loadPluginCss urls for filesystem and cdn hosted plugins
* fix(plugins): should a registry lookup fail in getLoadPluginCssUrl fallback to relative path
* refactor(plugins): rename var to id for legibility
* test(plugins): add some extra test cases for getLoadPluginCssUrl function
2024-09-10 14:35:21 +02:00
Laura Fernández
1701dc85e7
A11y: Focus outline is not fully visible in several areas of the application ( #93030 )
2024-09-10 13:50:12 +02:00
Gábor Farkas
c48caf0921
logging: log plugin request start ( #92925 )
...
log plugin request start
2024-09-10 13:25:50 +02:00
Ryan McKinley
9210414782
K8s: support unstructured spec+status mutation with GrafanaMetaAccessor ( #92970 )
2024-09-10 13:32:18 +03:00
renovate[bot]
86b9f76291
Update dependency knip to v5.30.1 ( #93155 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-10 11:23:09 +01:00
grafana-pr-automation[bot]
3278ab543b
I18n: Download translations from Crowdin ( #92834 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-10 11:22:44 +01:00
Leonor Oliveira
8d2b8378ed
Remove UID on update in dual writer mode 2 ( #93032 )
...
* Remove UID on update in dual writer mode 2
* WIP: add dashboard tests
* Add more crud tests for dashboards in each mode
* trigger build
* Fix test
2024-09-10 11:57:28 +02:00
Arati R.
b12a29a1da
K8s: Implement partial folders api with k8s client ( #93089 )
...
* Add kubernetes folder feature toggle
* Add kubernetes routes for getting and creating a folder
* Add documentation for interacting with k8s folders
2024-09-10 11:22:08 +02:00
Ashley Harrison
442bb1d35f
Internationalization: make i18nKey required in grafana-ui as well ( #93154 )
...
make i18nKey required in grafana-ui as well
2024-09-10 12:20:30 +03:00
Eric Leijonmarck
f3ede1f53d
Datasources: allow for query but with warning ( #93091 )
...
allow for query but with warning
2024-09-10 10:19:02 +01:00
renovate[bot]
544dbce708
Update dependency i18next to v23.15.1 ( #93153 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-10 12:14:28 +03:00
Jay
c4e0baa95f
Update _index.md ( #92790 )
...
Update to explain grafana_net is older and grafana_com is the preferred config name. However, grafana_net config is still accepted and parsed to grafana_com config.
2024-09-10 09:06:13 +00:00
renovate[bot]
691f93b204
Update dependency re-resizable to v6.9.18
2024-09-10 08:52:38 +00:00
Ieva
3197c5de8d
RBAC: Add available scopes to RBAC docs ( #93131 )
...
* update the list with some allowed RBAC scopes
* extend the http api docs as well
* display without bulletpoints
* add prettier ignores
2024-09-10 08:50:03 +00:00
Levente Balogh
831493278f
UI Extensions: Share the registries using a React context ( #92014 )
...
* feat: add a context for the extension registries
* feat: add a provider for registries to `AppWrapper`
* feat(extensions): add a read-only registry version
* feat: share the registry for exposed components using the context
* fix: tests
* feat: share the registry for added components using the context
* feat: share the addedLinks registry using react context
* use read-only registry versions
2024-09-10 10:42:07 +02:00
renovate[bot]
9255230d02
Update dependency @playwright/test to v1.47.0 ( #93138 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-10 09:30:22 +01:00
Pepe Cano
7eb7b51dce
Docs: update IAM links for Cloud docs ( #93147 )
2024-09-10 09:33:45 +02:00
Jack Baldry
639b1319fd
Use Docker Compose V2 if available but fall back to V1 with warning ( #93082 )
2024-09-10 07:36:41 +01:00
Ryan McKinley
aac66e9119
Slugs: use shorter slug fallback ( #93081 )
2024-09-10 09:04:23 +03:00
Leon Sorokin
f650a17030
Transformations: Fix inner join by field for zero-length frames ( #93144 )
2024-09-09 21:22:03 -05:00
Juan Cabanas
644a315667
ShareDrawer: Improvements ( #93107 )
2024-09-09 19:32:45 -03:00
Señor Performo - Leandro Melendez
40b5c30b94
docs: Update Gauges adding why, how with data reqs and images ( #92451 )
...
Co-authored-by: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com >
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-09-09 16:24:50 -04:00
renovate[bot]
baa0f073d8
Update dependency eslint-plugin-jest to v28.8.3
2024-09-09 20:08:40 +00:00
renovate[bot]
1e6735706d
Update dependency @types/node to v20.16.5
2024-09-09 19:39:19 +00:00
Alyssa (Bull) Joyner
0049e4f997
Add basic logs enabled check ( #92324 )
2024-09-09 13:35:56 -06:00
renovate[bot]
951f676ac8
Update dependency @grafana/plugin-e2e to v1.7.2
2024-09-09 18:50:49 +00:00
Leon Sorokin
53e59b27cd
FieldColor: Prefer displayName for hashing ( #93062 )
...
* FieldColor: Prefer displayName for hashing
2024-09-09 17:58:22 +00:00
Ashley Harrison
a6e2962319
update mock to work with react-virtual
2024-09-09 19:19:30 +03:00
renovate[bot]
b5d218e06e
Update dependency @grafana/scenes to v5.14.2
2024-09-09 19:19:30 +03:00
Aaron Godin
6ded6a8872
feat: Add feature toggle for groupAttributeSync ( #93116 )
2024-09-09 10:29:43 -05:00
Andreas Christou
11c1af0c5f
AzureMonitor: Remove Basic Logs retention warning ( #92870 )
...
Remove retention warning
2024-09-09 16:15:55 +01:00
Joao Silva
94068977f5
GrafanaUI: Improve Switch cursor focus on screen readers ( #93100 )
2024-09-09 16:06:05 +01:00
Esteban Beltran
0fb2eacba1
Chore: Move auto-triager workflow to issue-opened workflow file ( #93101 )
...
* move auto-triager to issue-opened workflow
* remove autotriager from codeowners
2024-09-09 16:44:01 +02:00
linoman
904b0a9ee6
SSO LDAP: Fix documentation render ( #93041 )
...
* Fix documentation link render
* Add i18n changes
2024-09-09 16:32:23 +02:00
Adela Almasan
af48d3db1e
Canvas: Add actions support ( #90677 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2024-09-09 09:11:55 -05:00
Kyle Brandt
b89f3f8115
Ad-Hoc Filters & Scopes: don't remap one-of to regex in frontend ( #92995 )
...
* send "one-of" and "not-one-of" directly to datasource (instead of changing them to regex)
* Added to Ad-hoc and and Scope Filters: The "values" prop ([]string) and the "one-of" and "not-one-"of" operators. "values" is used with one-of and not-one-of.
* adds prometheus support for the above
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
Co-authored-by: Todd Treece <todd.treece@grafana.com >
2024-09-09 16:56:43 +03:00
Andreas Christou
9c7029fa3e
Azure: Upgrade grafana-azure-sdk-go ( #93009 )
...
* Upgrade grafana-azure-sdk-go
* Run update-workspace
* Update go work
* Fix deps
* Update go.sum
2024-09-09 16:44:35 +03:00
Oscar Kilhed
c0df15dcde
InfluxDB: Fix variable interpolation in influx db ( #92988 )
...
Fix variable interpolation in influx db
2024-09-09 15:35:30 +02:00
Ashley Harrison
58907a8464
i18n: Add test to check languages match a canonical locale ( #93105 )
...
add test to check languages match a canonical locale
2024-09-09 14:25:49 +01:00
Alex Khomenko
2585c58dd4
OptionsUI: Change owners to dashboard squad ( #92592 )
...
* OptionsUI: Change owners to dashboard squad
* Update .github/CODEOWNERS
Co-authored-by: Alexa V <239999+axelavargas@users.noreply.github.com >
---------
Co-authored-by: Alexa V <239999+axelavargas@users.noreply.github.com >
2024-09-09 16:21:05 +03:00
Alex Khomenko
7e4500c7c9
Dashboards: Update tests to be compatible with react router 6 ( #93080 )
...
* Dashboards: Update tests to be compatible with react router 6
* Update VersionsSettings.test
* Update DashboardGrid.test
* Update TimeSrv.test
* Remove redundant mock
* Update PublicDashboardListTable.test
* Update PlaylistEditPage.test
* Revert TimeSrv changes
2024-09-09 16:03:57 +03:00
Andreas Christou
4ab61cea0e
MSSQL: Add errorsource ( #92152 )
...
* Add errorsource to mssql
* Fix args
* Use fmt.Errorf
2024-09-09 14:02:09 +01:00
Tom Ratcliffe
ef486133c2
Alerting: Make query wrapper match up datasource UIDs if necessary ( #93057 )
2024-09-09 14:01:46 +01:00
Polidoro-root
3fde6bd730
I18n: Add constants value tests to avoid typos ( #93070 )
2024-09-09 15:49:47 +03:00
Claudiu Dragalina-Paraipan
3aeb8d390e
[authn] update authlib and claims versions ( #93098 )
...
* update authlib version to latest
* make update-workspace -- 2nd run
* manual cleanup of old version
2024-09-09 15:45:59 +03:00
Andrej Ocenas
5e2ac24890
Sidecar: Add split view and basic APIs for extensions ( #91648 )
...
* Add split view and basic APIs to extensions
* Add comments
* Update public/app/AppWrapper.tsx
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
* Moved the .grafana-app element and deduplicate some code
* Remove the provider variants of usePluginLinks/Components
* Change buildPluginSectionNav
* Update comment
* Use eventBus
* Remove non existent exports
* refactor: use a sidecar service to encapsulate the state
* Don't wrap single app in split wrapper
* Use hook splitter
* Remove inline styles
* Type the style props from useSplitter
* Move the overflow style changes to appWrapper
* Deduplicate some common top level providers
* Move modals
* Move routes wrappers to it's own file
* Use better css and add comments
* Remove query rows app extension point
* Fix test
---------
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
2024-09-09 14:45:05 +02:00
Ieva
ba9f1da28e
Data sources: Hide the datasource redirection banner for users who can't interact with data sources ( #92886 )
...
* hide the datasource redirection banner for users who can't list data sources
* readding explore evaluation
* add a test
2024-09-09 14:50:09 +03:00
ismail simsek
6548ea377d
Chore: Bump grafana-plugin-sdk-go version to v0.247.0 ( #93095 )
...
* Bump grafana-plugin-sdk-go version to v0.247.0
* make update-workspace
* make update-workspace
2024-09-09 14:36:59 +03:00
Gábor Farkas
7afe6d7023
CODEOWNERS: improve ownership of query apis ( #93087 )
2024-09-09 14:31:05 +03:00
ismail simsek
5ecc927f08
Explore Metrics: Skip DataTrailsHistory tests ( #93096 )
...
* Fix tests
* Skip tests
* revert the change
2024-09-09 14:10:36 +03:00
Alex Khomenko
adf1402ff8
Grafana/ui: Update Link component to react router 6 ( #92976 )
...
* Grafana/ui: Update Link component to react router 6
* Add compat package to grafana/ui
2024-09-09 13:54:43 +03:00
Will Browne
2c47d246fc
Plugins: Introduce LoadingStrategy for frontend loading logic ( #92392 )
...
* do it all
* feat(plugins): move loadingStrategy to ds pluginMeta and add to plugin settings endpoint
* support child plugins and update tests
* use relative path for nested plugins
* feat(plugins): support nested plugins in the plugin loader cache by extracting pluginId from path
* feat(grafana-data): add plugin loading strategy to plugin meta and export
* feat(plugins): pass down loadingStrategy to fe plugin loader
* refactor(plugins): make PluginLoadingStrategy an enum
* feat(plugins): add the loading strategy to the fe plugin loader cache
* feat(plugins): load fe plugin js assets as script tags based on be loadingStrategy
* add more tests
* feat(plugins): add loading strategy to plugin preloader
* feat(plugins): make loadingStrategy a maybe and provide fetch fallback
* test(alerting): update config.apps mocks to include loadingStrategy
* fix format
---------
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
2024-09-09 10:38:35 +01:00
Andreas Christou
d61530941a
AzureMonitor: Add errorsource ( #92094 )
...
* Add errorsource
* Migrate to individually build metric queries
* Migrate logs queries to be built individually
* Migrate to individually build resource graph queries
2024-09-09 10:29:35 +01:00
Victor Marin
8eb7e55f8f
DashboardScenes: Fix duplicate query modifying original query on panel duplication ( #93038 )
...
make sure queries are cloned on panel duplicate
2024-09-09 10:09:22 +03:00
Leon Sorokin
fc4b3a2b03
Prometheus: Retain time field's interval with Table formatted queries ( #93065 )
2024-09-08 13:18:58 -05:00
Pepe Cano
c43bd82c92
IAM Docs: replace relref with refs links to enable IAM docs in Grafana Cloud docs ( #92890 )
...
* Update `refs` links in `Service accounts` to enable the Cloud docs
* Update `refs` links in `Migrate API keys` to enable the Cloud docs
* Update `refs` links in `RBAC docs` to enable the Cloud docs
* 2 - Update `refs` links in `RBAC docs` to enable the Cloud docs
* 3 - Update `refs` links in `RBAC docs` to enable the Cloud docs
* Apply Jack suggestions
* Set `folder permissions` for OSS and Cloud
* Set adminition shortcode to support GC ref links
* Fix `//` in URLs
2024-09-07 08:02:59 +02:00
Jean-Philippe Quéméner
368c4e53f1
feat(apiserver): refactor the hooking mechanism for standalone apiserver ( #93001 )
...
It now uses a full build handler chain that can be passed from up top to `SetupConfig`.
Co-authored-by: Charandas Batra <charandas.batra@grafana.com >
2024-09-06 14:12:12 -07:00
Larissa Wandzura
a1a18922e5
Docs: Minor updates to Explore metrics ( #93053 )
...
fixed some wording for clarity
2024-09-06 13:22:50 -05:00
Russ
c71aae8c5c
Icons: update Asserts menu icon ( #92888 )
...
Chore: update Asserts menu icon
2024-09-06 10:08:30 -08:00
Dave Henderson
e1090db5d9
Chore: Bump Go to 1.23.1 ( #93007 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-09-06 20:58:50 +03:00
Lucy Chen
2218841aa6
SharePanel: Add icons to panel options Share and More ( #92622 )
...
* add icon
* update icons
* add svg
* update legend
* remove new svg
* try again
* remove again
* add legend icons
* make review changes
2024-09-06 12:25:35 -05:00
Todd Treece
85759da360
Tracing: Add Start helper ( #93052 )
2024-09-06 13:02:17 -04:00
Tito Lins
539d363d2c
Create histogram and observe grafana config size ( #93028 )
2024-09-06 18:25:16 +02:00
Andre Pereira
72ed3107fa
Tempo: Remove usage of traceQLStreaming feature toggle ( #93033 )
...
* Remove usage of traceqlStreaming feature toggle and stop checking for Tempo version
* Increase Grafana Live's ClientQueueMaxSize to 4mb to support larger responses from Tempo
2024-09-06 16:12:21 +01:00
Irene Rodriguez
ffa925718e
fix broken link in backend style guide ( #93049 )
...
fix broken link
2024-09-06 15:03:50 +00:00
Josh Hunt
cad56df002
Make Combobox Storybook story public, with indev disclaimer ( #93042 )
2024-09-06 17:56:03 +03:00
Alex Khomenko
3d6c938e59
RolePicker: Improve overlay positioning ( #92590 )
...
* RolePicker: Improve overlay positioning
* Fix vertical position
* More fixes
2024-09-06 17:36:55 +03:00
Torkel Ödegaard
3111f23bf1
ViewPanel: Refactoring to simplify logic by rendering the source panel instead of a clone ( #93000 )
...
* ViewPanel: Refactoring to simplify logic by rendering the source panel instead of a clone
* Moved util function to utils
* Update
2024-09-06 16:00:59 +02:00
Sonia Aguilar
427af2e7ec
Ops: Add query param essentials to open Essentials drawer ( #93023 )
...
* Add query param essentials to open Essentials drawer
* use query param for keeping the state of the essentials drawer
2024-09-06 15:55:33 +02:00
linoman
9b2c2be82d
SSO LDAP: Add login form alert ( #93037 )
...
* add alert if login form is disabled
* add i18n texts
2024-09-06 16:13:22 +03:00
Juan Cabanas
8b2091ee4f
ShareDrawer: Improvements ( #92956 )
2024-09-06 09:37:00 -03:00
Martin Lehmann
55abfd7858
Docs: fix a typo on the Configure Grafana page (oentelemetry -> opentelemetry) ( #93021 )
...
chore(docs): fix a typo on the Configure Grafana page (oentelemetry -> opentelemetry)
2024-09-06 07:35:35 -05:00
Laura Benz
1be0105eb7
RestoreDashboards: Show root location as 'Dashboards' in folder picker ( #92936 )
...
* refactor: replace label if its value is Root
* refactor: replace label in the backend
2024-09-06 14:19:39 +02:00
João Calisto
a45ec2670d
chore(tests): fix flaky SMTP test ( #93031 )
2024-09-06 13:17:26 +01:00
linoman
8ea374b773
SSO LDAP: Add Group Mappings field ( #92993 )
...
* Add GroupMApping component
* Add remove/add buttons
* Implement role fields
* Change value as number for org ids
* Add i18n extracts
* Use conditional for GrafanaAdmin switch
2024-09-06 13:42:33 +02:00
Joao Silva
20f7e11987
Restore Dashboards: Revert e2e tests ( #93026 )
2024-09-06 11:18:49 +01:00
Ryan McKinley
3cf84d1921
Chore: update centrifuge library ( #93020 )
2024-09-06 12:17:43 +03:00
Pepe Cano
e87140bf75
API Docs: create Authentication page and order sidebar menu ( #92900 )
...
* API Docs: create `Authentication` page and order sidebar menu
* fix minor typos
* Update capitalization
We don't capitalize titles as per https://grafana.com/docs/writers-toolkit/write/style-guide/capitalization-punctuation/
* Update docs/sources/developers/http_api/examples/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/developers/http_api/authentication.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
---------
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-09-06 08:17:20 +02:00
Ivan Ortega Alba
d8c3645f31
TextVariable: Datalinks do not update variable value ( #93003 )
2024-09-05 22:19:30 +02:00
ismail simsek
9e6e41c6f8
Explore Metrics: Fix infinite loop while opening a panel in explore metrics ( #92946 )
...
* Fix infinite loop while opening a panel in explore metrics
* clean up
2024-09-05 21:04:43 +02:00
ismail simsek
0ba808805e
Explore Metrics: Fix existing parent error while opening a panel in explore metrics ( #92948 )
...
Fix exiting parent error while opening a panel in explore metrics
2024-09-05 21:04:33 +02:00
Ivan Ortega Alba
ae0e970bef
DetectChanges: Serialize message payload to avoid non-clonable props ( #92831 )
...
Detect changes: Serialize message payload to avoid non-clonable properties
2024-09-05 20:52:05 +02:00
Ivan Ortega Alba
35ba8fbad1
AutoSizeInput: Allow to be controlled by value ( #92997 )
2024-09-05 20:50:40 +03:00
Claudiu Dragalina-Paraipan
d5ebaa0ef9
[authn] adding appPlatformAccessTokens featureflag ( #92991 )
...
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
2024-09-05 19:18:44 +03:00
Claudiu Dragalina-Paraipan
1ce43b4c42
[authn] update authlib and claims versions ( #92987 )
...
* update authlib and claims versions
* 2nd make update-workspace
* manual fix
2024-09-05 19:17:15 +03:00
linoman
a0c886922e
Auth: Add LDAP scope to Grafana Admin ( #92990 )
...
Add LDAP scope to Grafana Admin
2024-09-05 17:15:47 +01:00
Ashley Harrison
6b6355e418
Chore: migrate _grid SCSS styles to emotion globals ( #92986 )
...
migrate _grid styles to emotion globals
2024-09-05 16:39:12 +01:00
Victor Marin
4a4e3a4063
DashboardScenes: Use behavior for library panels ( #90886 )
...
* wip - refactor using libPanelBehavior
* wip
* wip
* wip
* migrate test
* wip
* nearly all tests done, except one commented which breaks
* migrate last test
* revert defaults.ini
* fix tests
* tests + fixes
* fix
* fix bug -- adding lib panel through CTA in empty dashboard didn't enter edit mode
* show unsaved lib panel changes modal
* fix height problems
* fix
* LibPanelBehavior: Fixes view panel and edit panel full page reload issues (alt fix) (#92850 )
* LibPanelsBehavior: Fixes view panel
* Sort of working except panel edit
* Got panel edit working
* LibraryPanelsBehavior: Simpler fix
* Cleanup
* Remove more stuff
* Update tests
* fix tests
* Work around timing issues
* remove log
* fix repeated panels not showing due to gridItem height not being set + translations
* remove log that affects tests
---------
Co-authored-by: Victor Marin <victor.marin@grafana.com >
* fix translations
* Fix save issue
---------
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2024-09-05 18:08:25 +03:00
Jev Forsberg
d3ceaf41c2
CI/CD: Update retry logic for package validation ( #92943 )
...
* baldm0mma/retry_command/ update retry logic for package validation
* baldm0mma/retry_command/ update to 15 minutes
* baldm0mma/retry_command/ update to 30 minute retry
* baldm0mma/retry_command/ make drone
2024-09-05 08:34:05 -06:00
Karl Persson
bc20592fd4
IAM: Add and use identity ref ( #92978 )
...
* Add and use identity ref
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2024-09-05 16:10:23 +02:00
Matheus Macabu
95ef2a1eb2
CloudMigrations: Fix snapshot creation on Windows systems ( #92941 )
...
* cloudmigration: improve error logging stringify body
* deps: update migration snapshot library to v1.3.0 (fix to Windows)
2024-09-05 15:34:20 +02:00
Hugo Kiyodi Oshiro
c6fb9884a0
Plugins: Add sync update all plugins in cloud ( #92742 )
2024-09-05 15:04:37 +02:00
Ashley Harrison
82fe497b9d
Chore: remove adhocFilterOneOf toggle ( #92979 )
...
remove adhocFilterOneOf toggle
2024-09-05 15:49:24 +03:00
Claudiu Dragalina-Paraipan
085aaec958
Fix playlist tests ( #92837 )
2024-09-05 15:41:28 +03:00
Santiago
87f4df4bc3
Remote Alertmanager: update github.com/go-openapi/runtime (v0.27.1 -> v0.28.0) ( #92951 )
2024-09-05 08:47:38 -03:00
Karl Persson
2bfa607ad0
ServiceAccount: Update service account api resource and add service account token ( #92972 )
...
* Create own legacy store function to list service accounts and update api model
* Add service account tokens as a sub resource for service accounts
2024-09-05 13:43:54 +02:00
Arati R.
47cd8288cd
SearchV2: Fix reading library panels ( #92961 )
...
* Fix reading of library panel field
* Add test to check reading of library panel field
2024-09-05 13:42:15 +02:00
Mihai Doarna
ebd17adecf
API keys: Return 410 Gone status from POST /auth/keys endpoint ( #92965 )
...
* return 410 Gone status from POST /auth/keys endpoint
* generate swagger
* remove postAPIkeyResponse
* re-generate swagger
* remove docs for api key creation endpoint
2024-09-05 13:10:24 +03:00
renovate[bot]
de5bbd2539
Update dependency rc-cascader to v3.28.1 ( #92931 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 10:53:59 +01:00
Ryan McKinley
5441e4c752
Storage: create a client with access to all interfaces, not just ResourceStore ( #92967 )
2024-09-05 12:52:30 +03:00
Ryan McKinley
9338e40dc3
K8s/IAM: Move identity.grafana.app to iam.grafana.app ( #92929 )
2024-09-05 09:43:54 +03:00
Torkel Ödegaard
aae788ae46
DashboardScene: Add browser history step when changing time range ( #92950 )
...
DashboardScene: Upgrade scene and turn on url history
2024-09-05 07:43:52 +02:00
Dave Henderson
c00a3bed42
chore(tests): Attempting to fix flaxy SMTP unit test ( #92786 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-09-04 16:25:44 -04:00
kay delaney
d8b6a5bde2
DashGPT: Fixes issue with generation on Safari ( #90337 )
...
* DashGPT: Fixes issue with generation on Safari
* Fix infinite loop issue + more refactoring
* Solve linter
---------
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com >
2024-09-04 18:56:20 +03:00
Marcus Efraimsson
0a337ff3b3
Chore: Update SDK to v0.246.0 ( #92938 )
2024-09-04 17:30:37 +02:00
Ashley Harrison
d14a551ee8
Chore: Migrate _reboot SCSS styles to emotion globals ( #92934 )
...
migrate reboot styles to emotion globals
2024-09-04 16:27:07 +01:00
Ashley Harrison
86844142a9
Translations: Crowdin action now works on subsequent pushes ( #92939 )
...
* try using the generated token in the checkout action
* comment out github_user_name
* try adding with: token
* try env var
* try removing github_user_name
* restore user_name etc
* update action
* try persist-credentials: false;
* remove persist-creds false
* test
* restore github actions name
2024-09-04 16:20:00 +01:00
Joao Silva
b20017cf8c
Restore Dashboards: Add e2e tests ( #92514 )
2024-09-04 15:47:15 +01:00
antonio
1d5dffc51d
update commmands.json ( #92930 )
2024-09-04 17:02:32 +03:00
Brendan O'Handley
4bf350cc62
Prometheus: Variable query editor, display selected label when using query type of label values ( #92513 )
...
display label, add test
2024-09-04 08:11:17 -05:00
Gabriel MABILLE
cffaefddc3
Signer: Fix typo ( #92928 )
2024-09-04 15:01:24 +02:00
renovate[bot]
c17d1a3a4c
Update dependency rc-slider to v11 ( #92921 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 12:57:31 +01:00
renovate[bot]
58d9bc2cad
Update dependency react-calendar to v5 ( #92922 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 12:55:14 +01:00
Ryan McKinley
cb484f9883
K8s: Move ResourceInfo from common to utils ( #92924 )
2024-09-04 14:53:14 +03:00
Hugo Kiyodi Oshiro
668d87b19f
Plugins: Add message on levitate workflow failure ( #92906 )
2024-09-04 13:52:42 +02:00
renovate[bot]
7c88d50ac4
Update dependency blob-polyfill to v9 ( #92919 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 12:41:25 +01:00
renovate[bot]
b404dabc55
Update dependency rimraf to v6 ( #92923 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 12:40:52 +01:00
renovate[bot]
468c1fcb9c
Update dependency glob to v11 ( #92920 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 14:03:38 +03:00
renovate[bot]
d9dc7cba50
Update dependency eslint-plugin-jsx-a11y to v6.10.0 ( #92917 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 11:48:21 +01:00
Eric Leijonmarck
ded95af136
LBAC for datasources: doc improvements ( #92872 )
...
* LBAC for datasources: doc improvements
* fixed formatting of prettier
* Update docs/sources/administration/data-source-management/teamlbac/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-09-04 11:21:29 +01:00
linoman
b213ecc2dd
SSO LDAP: Add configuration for root ca, client key and client certificate ( #92866 )
...
* Add missing properties with `_value` prefix
* Add RadioButtonGrpoup
* Add file/value section for certs
* Add mapping for keys and certificates
* Rename base and file types
* Add styles
* Add base64 values configuration flags
* Add function to render root ca certificate contents
* generate i18n files
2024-09-04 12:19:45 +02:00
renovate[bot]
13c8f4d212
Update dependency postcss to v8.4.45
2024-09-04 10:17:55 +00:00
Andreas Christou
8daa6f1f30
CI: Ensure changelogs are prettified prior to commit ( #92580 )
...
* Ensure changelogs are prettified prior to commit
* Remove cache property
* Include .yarn directory
* Include packages directory
* Try just using npx
* Update workflows
2024-09-04 11:03:17 +01:00
Sonia Aguilar
14e1403b9e
Alerting: Recording rules detail view nits ( #92643 )
...
* Hide some fields in the details tab (view page) when it's a grafana recording rule
* link to the explore view from the metric name in the detail view
* Revert "link to the explore view from the metric name in the detail view"
This reverts commit 3c17d16cf6 .
* move logic to usePendingPeriod hook
* move logic to getPendingPeriod function
* move logic for getting annotations to a new getAnnotations function
2024-09-04 13:02:06 +03:00
renovate[bot]
9c837407bf
Update dependency eslint-plugin-react to v7.35.2
2024-09-04 09:57:10 +00:00
brendamuir
9d3d1703f7
Alerting docs: adds caps not supported in email contact points ( #92902 )
...
* Alerting docs: adds caps not supported in email contact points
* ran prettier
* feedback from antonio
* ran prettier
2024-09-04 09:54:38 +00:00
renovate[bot]
7933cbd204
Update dependency @types/node to v20.16.4
2024-09-04 09:25:17 +00:00
Tom Ratcliffe
aec73f3501
Alerting/Chore: Mock API (MSW) in browser ( #89223 )
...
Co-authored-by: joshhunt <josh@trtr.co >
2024-09-04 10:22:03 +01:00
renovate[bot]
636b831d90
Update dependency knip to v5.29.2 ( #92882 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 11:38:00 +03:00
brendamuir
4749064f57
Alerting docs: responds to feedback on alerting state or error alerts ( #92859 )
...
* Alerting docs: responds to feedback on alerting state or error alerts
* ran prettier
2024-09-04 08:10:55 +02:00
Leon Sorokin
43c960dc97
Templating: Fix searching non-latin template variables ( #92789 )
2024-09-03 17:22:04 -05:00
Kyle Cunningham
437472811e
Table: Fix nested table overlap when table is sorted ( #92716 )
2024-09-03 15:27:14 -05:00
Jean-Philippe Quéméner
5dce149221
feat(querier): propagate all known alerting headers ( #92873 )
2024-09-03 18:01:27 +02:00
renovate[bot]
db579877bd
Update dependency eslint-plugin-import to v2.30.0 ( #92878 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 16:53:01 +01:00
renovate[bot]
3acb43cf2e
Update dependency @types/systemjs to v6.15.0 ( #92876 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 16:15:55 +01:00
renovate[bot]
5a3acbb15d
Update dependency postcss to v8.4.44
2024-09-03 14:33:20 +00:00
Victor Marin
2bbce8a7f7
DashboardScene: Re-perform repeat when returning to dashboard from panel edit ( #92754 )
...
* Reset prev values on panel deactivation/reactivation
* add comments
* fix
* add test
2024-09-03 17:12:55 +03:00
renovate[bot]
cb9c7de0ff
Update dependency eslint-plugin-react to v7.35.1
2024-09-03 13:57:20 +00:00
Kyle Brandt
d382ea773a
Prometheus: Enable the promQLScope (Scopes, Adhoc filters and groupby) by default ( #92080 )
2024-09-03 09:56:25 -04:00
Alexander Zobnin
88259da745
RBAC: Optimize permissions caching ( #92673 )
...
* Access control: Use composite cache key for team permissions
* use composite key for teams
* use cache for hotpath (getCachedUserPermissions)
* don't cache empty teams set
* don't pass permissions as argument
* early return if no teams found
* reload cache correctly
* optimize allocations
* Clear user's teams cache
* remove composite cache for teams
* fix linter
* don't clear teams permissions
* pre-allocate memory for basic roles permissions
2024-09-03 15:46:56 +02:00
renovate[bot]
6244c2be2c
Update dependency eslint-plugin-jest to v28.8.2
2024-09-03 13:33:28 +00:00
Ivan Ortega Alba
351864653b
Scenes: Upgrade to v5.12.0 ( #92862 )
2024-09-03 16:05:21 +03:00
Ashley Harrison
f34f5b80b4
Chore: Migrate _widths SCSS to global emotion styles ( #92863 )
...
* migrate widths to global styles
* only calculate width once per loop
2024-09-03 16:04:21 +03:00
renovate[bot]
9d974f7560
Update dependency @swc/helpers to v0.5.13 ( #92858 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 13:44:51 +01:00
Serge Zaitsev
e699a71340
Chore: Bump moby version ( #92857 )
...
* bump moby version
* update workspace
2024-09-03 15:43:36 +03:00
Konrad Lalik
1128c417d8
Alerting: Fix cloud rules edit url ( #92853 )
...
Update cloud rule edit page url after successful update
2024-09-03 14:18:02 +02:00
Ashley Harrison
d9385d8a76
add missing await
2024-09-03 14:02:27 +03:00
oscarkilhed
aa2175822e
Fix bad mock in unittest
2024-09-03 14:02:27 +03:00
renovate[bot]
6c968f90ae
Update dependency @grafana/scenes to v5.11.2
2024-09-03 14:02:27 +03:00
Jack Westbrook
e7d7ed5406
Chore: Remove side-effect import from app ( #92650 )
...
* chore(frontend): remove stray side-effect features import that brings the whole jungle
* chore(app): delete features/all.ts and its friends
* chore(codeowners): remove public/app/features/all.ts from file
2024-09-03 13:43:13 +03:00
Ieva
46e81e98cf
RBAC: Always store action sets ( #92833 )
...
always store action sets, even if FT is disabled
2024-09-03 11:30:47 +01:00
Alexa V
9dc333dfa7
Dashboard Scene: Add close visualization button in panel edit ( #92848 )
2024-09-03 12:11:09 +02:00
Piotr Jamróz
d7d22bbbb8
TraceView: Display event names of a span ( #91382 )
...
* Display event name of a span
* Clean up
* Retrigger the build
* Show colon only when there are fields to display
* Rollback
* Use event name when exporting to OTLP
* Allow filtering spans by event name
* Show duration as a key/value pair
* Update betterer report (we do not translate panels that are planned to be externalized)
* Fix tests after changing how duration is rendered
* Handle long names
* Test handling long names
* Make parenthesis gray
* Fix a test
* Fix linting
* Fix tests
* Update label
2024-09-03 11:18:50 +02:00
Alexander Akhmetov
1df622641c
Alerting: Update documentation about alert instance limit ( #92668 )
2024-09-03 11:02:20 +02:00
Tom Ratcliffe
13ea3d85ae
Alerting: Fix preview of silences when label name contains spaces ( #92802 )
2024-09-03 09:14:11 +01:00
Pepe Cano
15de549093
Alerting docs: HA - configure alertmanager to prevent duplicated notifications ( #92611 )
...
* Alerting docs: HA - configure shared alertmanager
* Update docs/sources/alerting/set-up/configure-high-availability/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/set-up/configure-high-availability/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Apply minor content suggestion
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-09-03 06:31:09 +02:00
Laura Benz
cdf035f813
Scenes/RestoreDashboards: Adjust DeleteDashboardModal and Toast message ( #92601 )
...
* refactor: replace soft delete method
* refactor: adjust test to new naming
* refactor: clean up unused functions
* refactor: replace delete modal
* refactor: use new delete modal outside of scenes
2024-09-02 18:04:02 +02:00
Josh Hunt
a1190b165b
Revert "Update dependency msw to v2.4.1" ( #92829 )
...
Revert "Update dependency msw to v2.4.1 (#92648 )"
This reverts commit acab4c9438 .
2024-09-02 15:51:12 +00:00
Sven Grossmann
5ad7c47816
Plugin Instrumentation: Add target property to request logs ( #91946 )
...
* Plugin Instrumentation: Add `target` property to request logs
* remove comment
* remove error
2024-09-02 17:41:26 +02:00
Timur Olzhabayev
564d09c9be
Chore: fixing triage link ( #92828 )
...
fixing triage link
2024-09-02 18:24:04 +03:00
grafana-pr-automation[bot]
71e7d37727
I18n: Download translations from Crowdin ( #92827 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-02 18:21:53 +03:00
piyushfs
a038d4136e
NodeGraph: Allow to add datalinks ( #90163 )
...
* NodeGraph: allow to add datalinks
* chore: filter list
2024-09-02 16:06:56 +01:00
Andreas Christou
9459626372
AzureMonitor: Update logs workspaces ( #92809 )
...
Update logs workspaces and code to retrieve
2024-09-02 16:03:13 +01:00
Alex Khomenko
6ecc9b1d21
Announcement banner: Update docs ( #92820 )
2024-09-02 17:59:01 +03:00
Alexa V
f8cd448441
Dashboard: Fix Annotation runtime error when a data source does not support annotations ( #92504 )
...
When data source does not support annotations, shows an inline Error in Annotation Settings page
2024-09-02 16:46:20 +02:00
antonio
0df5a6aefc
alerting: docs / highlight tutorial in landing page ( #92805 )
2024-09-02 16:40:16 +02:00
Esteban Beltran
045c57af23
Chore: Update auto triager github action to use private repository ( #92819 )
...
* Update auto triager to use private repository
* Check for other secrets too
2024-09-02 16:39:22 +02:00
Tom Ratcliffe
d1dc595692
Alerting: Fix target rule group for moving alert rule group ( #92816 )
2024-09-02 15:28:12 +01:00
Arati R.
f26f655615
Provisioning: Fix admin reloading of dashboard configuration ( #92462 )
...
* Set dashboard provisioner before provisioning dashboards
* Test provisioner instantiation during dashboard provisioning
2024-09-02 15:48:13 +02:00
grafana-pr-automation[bot]
401658e650
I18n: Download translations from Crowdin ( #92810 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-02 16:39:54 +03:00
Esteban Beltran
a3e7e3dbfa
Chore: Add auto-triager github action ( #92807 )
...
* Chore: Add auto-triager github action
* Add codeowners
* Add link
* Update .github/workflows/auto-triager.yml
Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com >
---------
Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com >
2024-09-02 15:23:04 +02:00
renovate[bot]
1395cd89da
Update dependency @types/node to v20.16.3
2024-09-02 13:05:54 +00:00
Joey
bd5bd52a2c
TraceView: Update feedback link style ( #91845 )
...
Update feedback link style
2024-09-02 14:02:00 +01:00
Tobias Skarhed
220215c9ca
New Select: Create custom value ( #92652 )
...
* Display custom value in option list
* Ignore create new value when there is an exact match
* Support displaying custom value
* Add i18n string
* Update failing test
2024-09-02 14:42:42 +02:00
Eugene Apollonsky
5871362ccf
Grafana SQL: Fix broken import in NumberInput component ( #92803 )
...
SQL: Fix broken import
2024-09-02 14:34:06 +02:00
Dzmitry Skachkou
f0d100d17a
ValueFormats: Fix formatting of 'clock' unit when duration is more than 100 hours ( #92656 )
2024-09-02 13:50:54 +02:00
antonio
2226446318
tutorial : alerts with logs : add missisng interactive ( #92800 )
2024-09-02 10:48:40 +00:00
Esteban Beltran
51e27b8f3b
Chore: Update commands.json to expand labels and their related projects ( #92734 )
...
* Chore: Update commands.json to expand labels and their related projects
* Fix trailing slashes
2024-09-02 11:27:22 +02:00
linoman
8c92d2a0ef
SAML: Add description for Graph API permissions step ( #92408 )
...
* Add description for permissions step
* Update docs/sources/setup-grafana/configure-security/configure-authentication/saml/index.md
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
2024-09-02 11:23:02 +02:00
Victor Marin
47a0efd581
DashboardScenes: Default to first variable value when editing a repeated panel ( #91123 )
...
* DashboardScenes: Default to first variable value when editing a repeated panel
* cleanup
* tests
* refactor
* refactor
* refactor
* refactor
2024-09-02 12:05:14 +03:00
renovate[bot]
cf541b8869
Update dependency tslib to v2.7.0 ( #92744 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 10:00:07 +01:00
Ashley Harrison
714f2d6d51
Playlist: Add default border radius to PlaylistTableRows ( #92666 )
...
add default border radius to PlaylistTableRows
2024-09-02 09:39:47 +01:00
Konrad Lalik
5942d8595d
Alerting: Fix pending period for vanilla prom rules ( #92728 )
...
* Add support for reading pending period value from prom duration property
* Add tests
* Refactor the hook
* Remove unused import
2024-09-02 10:32:47 +02:00
Isabella Siu
2d10068714
CloudWatch: Logs queries should retry on throttling errors ( #92535 )
...
CloudWatch: logs queries should retry on throttling errors
2024-08-30 13:55:00 -04:00
Señor Performo - Leandro Melendez
d6f871490e
docs: Canvas updates adding why and how describing data needs ( #92375 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
2024-08-30 13:18:12 -04:00
Señor Performo - Leandro Melendez
129783ad8c
docs: Histogram update added missing options ( #92617 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-08-30 13:14:36 -04:00
Señor Performo - Leandro Melendez
88d12be9f2
docs: Alert list update adding missing elements and descriptions. ( #92619 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-08-30 12:19:43 -04:00
Piotr Jamróz
3b7021dabc
FieldConfig: Add missing "min/max" FieldConfigProperty option ( #92596 )
...
Add missing FieldConfigProperty standard option
2024-08-30 17:16:22 +02:00
Señor Performo - Leandro Melendez
7ce5ce4957
docs: updates to Pie chart documentation ( #91608 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
2024-08-30 11:16:11 -04:00
Tom Ratcliffe
9f5dca96f2
Alerting: Don't redirect after failed contact point creation ( #92761 )
2024-08-30 16:04:46 +01:00
Adela Almasan
91cbaa4afe
Table: Fix JSON formatting ( #92715 )
2024-08-30 17:51:51 +03:00
Victor Marin
962fcf1fa8
DashboardScenes: Row repeater panels cannot be dragged outside and adding new panels to a cloned row updates all rows ( #91062 )
...
* Disallow dragging panels in repeated rows + dropping panels into cloned rows will update all repeated rows
* test
2024-08-30 09:50:22 -04:00
Tom Ratcliffe
172662af58
Alerting: Stop rule state view from crashing when prom rule state is missing ( #91483 )
2024-08-30 14:47:28 +01:00
Victor Marin
a0c1fc20ec
DashboardScene: Update view panel scene variables properly after row repeat is performed ( #92698 )
...
* update view panel scene variables properly after row repeat is performed
* refactor
* Fix case where view mode from panel menu would not work
Co-authored-by: ivanortegaalba <ivan.ortega@grafana.com >
* add context
---------
Co-authored-by: ivanortegaalba <ivan.ortega@grafana.com >
2024-08-30 16:36:22 +03:00
Isabel Matwawana
b788f43cee
Docs: Moved data source UID info into technical notes ( #92712 )
2024-08-30 09:34:30 -04:00
Señor Performo - Leandro Melendez
f048c3273b
docs: StatusHistory update added missing option and reordered headers ( #92613 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-08-30 09:28:50 -04:00
Jack Baldry
7473ad6469
Lint "RBAC permissions, actions, and scopes" page for style ( #92740 )
2024-08-30 14:11:35 +01:00
Karl Persson
294712d7ef
User: Add sub resource and api for user teams ( #92649 )
...
* Add sub resource for user teams
* Add test snapshots
* Update to use ref:s
2024-08-30 15:05:27 +02:00
Torkel Ödegaard
31c9084a3a
DashboardGridItem: Fixes repeating panels issue when variable depends on time range ( #92661 )
...
* DashboardGridItem: Fixes repeating panels issue when variable depends on time range
* tests
---------
Co-authored-by: Victor Marin <victor.marin@grafana.com >
2024-08-30 15:50:09 +03:00
Sergej-Vlasov
00ae49a61a
FeatureToggle - new filters UI feature toggle ( #92189 )
...
* add newFiltersUI experimental feature toggle
* adjust Ad hoc filter varibale layout property based on feature toggle
* restore file
* bump to latest scenes
2024-08-30 15:48:13 +03:00
Tom Ratcliffe
3262f0256e
A11y: Fix some accessibility issues on the build error page ( #92691 )
...
Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com >
2024-08-30 13:42:45 +01:00
Ashley Harrison
a59474cf13
Chore: Migrate _forms styles to emotion globals ( #92690 )
...
migrate _forms styles to emotion globals
2024-08-30 13:04:31 +01:00
antonio
1f01a679f6
tutorial: link fix ( #92748 )
...
* tutorial: link fix
* typo
* link to tutorial pt 2
2024-08-30 11:56:16 +00:00
antonio
f670cf7920
update + sandboxfy tutorial ( #92419 )
...
* update + sandboxfy tutorial
* fix formatting
* update
* update2
* numbering
* final draft v1
* draft v1
* added jay's feedback
* query
* latest fixes
* typo
* all pretty no pity
2024-08-30 13:15:35 +02:00
Tom Ratcliffe
690fbe6077
Alerting: Edit, create and delete contact points via k8s API ( #91701 )
2024-08-30 12:10:30 +01:00
grafana-pr-automation[bot]
f4a8e0a214
I18n: Download translations from Crowdin ( #92696 )
...
* New Crowdin translations by GitHub Action
* New Crowdin translations by GitHub Action
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Clarity-89 <homes89@ukr.net >
2024-08-30 14:00:10 +03:00
Ieva
b99d1249db
Docs: Update the docs for folder creation permissions ( #92703 )
...
* update the docs to reflect permissions needed to create subfolders
* Minor language fix
---------
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
2024-08-30 10:55:32 +00:00
Alexander Akhmetov
152d3540db
Alerting: Log number of dimensions instead of all evaluation results ( #92733 )
2024-08-30 12:35:02 +02:00
renovate[bot]
a0e237dacf
Update dependency eslint-plugin-jest to v28.8.1
2024-08-30 10:05:24 +00:00
Ashley Harrison
c16cc488c9
AdHocFilters: Add support for new isOneOf multi value operator ( #91837 )
...
* handle oneOf operator in prometheus
* use new supportsMultiValueOperators
* remap oneOf to regex in prometheus datasource
* Remap one of operators for scope filters
* use plugin.json property instead of feature toggle
* optional chaining
* fix unit tests
* use getInstanceSettings
* update to latest scenes
* fix unit tests
---------
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
2024-08-30 11:03:44 +01:00
Leonor Oliveira
2e451b2ed7
Use dw dynamic config ( #91882 )
...
* Remove kubernetesPlaylists feature_toggle
* Remove unified_storage_mode
* Remove double import
* Read from config instead from feature_toggle
* cover scenario for when unified storage is not defined
* Be temporarily retro compatible with previous feature toggle
* Properly read unified_storage section
* [WIP] Read new format of config
* Fix test
* Fix other tests
* Generate feature flags file
* Use <group>.<resource> schema
* Use <group>.resource format on the FE as well
* Hide UniStore config from Frontend
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* unwanted changes
* Use feature toggles in the FE. Enforce FTs are present before enabling dual writing
Co-authored-by: Ryan McKinley <ryantxu@users.noreply.github.com >
* use kubernetes playlists feature toggle on the FE
* Remove unwanted code
* Remove configs from the FE
* Remove commented code
* Add more explicit example
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
Co-authored-by: Maicon Costa <maiconscosta@gmail.com >
2024-08-30 11:59:42 +02:00
renovate[bot]
f8765087b5
Update dependency @tanstack/react-virtual to v3.10.6
2024-08-30 09:44:21 +00:00
antonio
cf951ab589
tutorials: sandboxfy grafana fundamentals ( #92206 )
...
* tutorials: sandboxfy grafana fundamentals
* applied feedback
* applied feedback2
* fixed description
* interactives
* ignore new tab instructions
* ignore new tab
* update instructions
* updated alert term / alert isntance
* fix numbering
* adding Lisa's feedback
* changees to fundamentals tutorial
* Fix minor typos and style
* all pretty, no pity
---------
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
2024-08-30 11:42:46 +02:00
Pepe Cano
6a29e4aecf
IAM docs: Transform API keys to Migrate API keys docs ( #92380 )
...
* IAM docs: Transform `API keys` to `Migrate API keys` docs
* Update links to `API keys` in other doc pages
* Grafana UI: update help button link
* Update OpenAPI/Swagger links
* Update docs/sources/administration/service-accounts/migrate-api-keys.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update `relref` links to the new URL
* fix space before em dash
spaces before or after em dashes are not recommended (https://developers.google.com/style/dashes )
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
2024-08-30 11:37:36 +02:00
renovate[bot]
48f8be2cfc
Update dependency @babel/runtime to v7.25.6
2024-08-30 09:22:20 +00:00
Alex Khomenko
6abf50b0c9
Routing: Update core tests ( #92582 )
...
* Update MegaMenu.test.tsx
* Update GrafanaRoute.test.tsx
* Remove unused file
* Update SignupInvited.test.tsx
* Remove usage of match
* Update betterer
2024-08-30 12:01:32 +03:00
renovate[bot]
acab4c9438
Update dependency msw to v2.4.1 ( #92648 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-30 11:50:49 +03:00
Pepe Cano
fcb4b3d39e
Docs: keep the HTTP API list updated ( #92635 )
...
* Docs: keep the HTTP API list updated
* Update menu title to be consistent with the HTTP API list
* Update docs/sources/developers/http_api/preferences.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/developers/http_api/snapshot.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
---------
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-08-30 10:27:24 +02:00
Erik Sundell
db0cc24f2b
Plugin extensions: Introduce new registry for added links ( #92343 )
...
* add added component registry
* fix broken test
* add tests for usePluginComponents hook
* readd expose components
* add type assertion exceptions to betterer results
* use new addedComponent registry in legacy endpoints
* remove unused code
* cleanup
* revert test code
* remove commented code
* initial commit
* refactor sync method and hook
* fix tests
* subscribe to the correct registry
* remove old registry
* cleanup types
* add use usePluginLinks hook
* add more tests
* fix import order
* fix typo
* fix and temporarly skip failing tests
* wip
* add hook tests
* add more tests
* remove old hook
* fix versioning
* add version to all extension point ids
* remove cleanup
* remove unused imports
* revert touched file
* fix test
* test: remove hook creation
* catch init error
* send error to faro
* fix broken hook
* comment out call hook initialization
* use the right import ofr isString
* remove unused import
* remove registryState type
* pr feedback
* Update public/app/features/plugins/extensions/validators.test.tsx
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
* Update public/app/features/plugins/extensions/validators.test.tsx
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
* remove no longer relevant comment
* fix broken tests
* Fixed test to verify that the memotization works properly.
* simplify hooks
---------
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com >
2024-08-30 10:09:01 +02:00
brendamuir
16c618f4d3
Alerting docs: add info on changing default time out for evaluation ( #92391 )
...
* Alerting docs: add info on changing default time out for evaluation
* ran prettier
* Update docs/sources/alerting/fundamentals/alert-rule-evaluation/state-and-health.md
Co-authored-by: antonio <45235678+tonypowa@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/alert-rule-evaluation/state-and-health.md
Co-authored-by: antonio <45235678+tonypowa@users.noreply.github.com >
* ran prettier
* updates with yuris feedback
* ran prettier
---------
Co-authored-by: antonio <45235678+tonypowa@users.noreply.github.com >
2024-08-30 09:46:55 +02:00
Konrad Lalik
e0950a1283
Alerting: Add compatibility between prometheus and ruler identifiers ( #92496 )
...
* Unify Prom and Ruler rules hash creation
* Add tests, refarct prom hash
2024-08-30 08:39:11 +02:00
Jeff Levin
372d0acec8
Instrument tracing across dashboards ( #91937 )
...
Add tracing across dashboards and accesscontrol
2024-08-29 22:26:15 -08:00
Yuri Tseretyan
ce64d79027
Alerting: Integration tests for Receiver API ( #90632 )
...
---------
Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com >
2024-08-29 22:27:26 -04:00
Sergej-Vlasov
c4d804a964
ImportDashboard: adjust flaky e2e test ( #92705 )
...
adjust test to wait for monaco editor
2024-08-29 16:21:05 -04:00
Matthew Jacobson
d5fd6aceca
Alerting: Stop redacting receivers by default in receiver_svc ( #92631 )
...
* Stop redacting receivers by default in receiver_svc
[REDACTED] is only used in provisioning API since response doesn't include
SecureFields. This is not necessary in k8s or notifications api, instead we do
not include the encrypted settings in Settings at all, leaving it to
SecureFields to specify when a secure field exists.
* Capitalize logs messages
2024-08-29 14:48:59 -04:00
Juan Cabanas
eb8b6a5a70
ShareDrawer: Wording and defaults improvements ( #92629 )
2024-08-29 15:31:28 -03:00
Matthew Jacobson
e43ddd516d
Alerting: Ensure k8s receiver API create/update will never store nil settings ( #92701 )
...
Ensure Create/Update will never store nil Settings
2024-08-29 20:00:55 +03:00
Sarah Zinger
8774642788
QueryService: Forward headers to datasource clients ( #92329 )
...
Query Service: pass expected headers
2024-08-29 12:47:38 -04:00
Joao Silva
bdb1c7ee63
Bookmarks: Add empty state to page ( #92693 )
2024-08-29 16:58:19 +01:00
Joao Silva
6ab120a448
Bookmarks: Fix interaction tracking bug ( #92653 )
2024-08-29 16:52:52 +01:00
maicon
9e6a464328
UniStore: Remove unused feature toggles from docs ( #92688 )
...
`grafanaAPIServer` got removed on https://github.com/grafana/grafana/pull/81030
`idForwarding` got removed on https://github.com/grafana/grafana/pull/92209
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2024-08-29 18:27:38 +03:00
Carl Bergquist
56d35d32e2
Scopes: increase limit on list calls to storage ( #92687 )
...
scopes: increase limit on list calls to storage
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-08-29 18:12:11 +03:00
Sarah Zinger
c0b2fafd5e
Ensure that datasource apiservers receive and forwards headers ( #92304 )
...
* Ensure that datasource apiservers receive and forwards headers for datasources:
- adds log line for prometheus to see when from alert header is received
- add logging to the datasource apiserver
- Updates the Connect func in sub query to forward expected headers to datasources and log unexpected ones.
2024-08-29 11:06:25 -04:00
maicon
2b3d2e5b40
UniStore: Remove leftover references to unifiedStorage feature toggle ( #92685 )
...
it got removed on https://github.com/grafana/grafana/pull/92192
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2024-08-29 18:04:36 +03:00
Señor Performo - Leandro Melendez
f4249c2141
docs: Bar gauge doc updates adding why and how, explaining data needs ( #92374 )
...
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-08-29 10:36:54 -04:00
Señor Performo - Leandro Melendez
1d34fc2d1a
docs: Barchart doc updates add video, why, how and data needs ( #92262 )
...
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-08-29 10:34:32 -04:00
Ashley Harrison
d2ee4d1005
RadioButtonGroup: Ensure background colour displays properly ( #92665 )
...
add background colour to RadioButtonGroup
2024-08-29 15:16:04 +01:00
Tom Ratcliffe
6298825cf7
Alerting: Consolidate mute timings selector logic ( #92372 )
2024-08-29 15:09:53 +01:00
Sven Grossmann
15a4ff992b
Explore Logs: Add feature flags ( #92670 )
2024-08-29 15:55:59 +02:00
Timur Olzhabayev
dfba5776b9
Doc: Adding information about datasource UID enforcement ( #92659 )
...
* Adding information about datasource UID enforcement
* Style and content fixes (#92667 )
This fixes:
- datasource to data source as per our style guide
- some other minor typos
- style and content
* fixing prettier lint
---------
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
2024-08-29 13:54:47 +00:00
Larissa Wandzura
f9d38c8869
Docs: Re-order Explore docs in TOC ( #92624 )
...
* re-ordered Explore docs for cohesion
* ran prettier
2024-08-29 08:33:14 -05:00
Jack Baldry
5e89a9060b
Remove all documented references to time_options ( #92657 )
2024-08-29 13:47:26 +01:00
Victor Marin
6ddb96ada2
Add extra width to menu to accomodate checkbox ( #92600 )
...
* Add extra width to menu to accomodate checkbox
* modify value
2024-08-29 15:28:00 +03:00
Leonor Oliveira
66e0121dd5
Pass resource name into the dual writer initialization ( #92654 )
2024-08-29 13:30:48 +02:00
Ryan McKinley
82417c916f
K8s: Use stacks plural not singular in grafana namespaces ( #92550 )
2024-08-29 14:15:00 +03:00
Victor Marin
454d36167e
DashboardScene: Fix issue where panels are lost from dashboard ( #92118 )
...
* fix issue where panels aren't added to rows
* refactor
2024-08-29 13:56:42 +03:00
Ashley Harrison
68ca6e9610
MetricGraphScene: Position properly when bodyScrolling is enabled ( #92289 )
...
handle positioning of MetricGraphScene when bodyScrolling is enabled
2024-08-29 11:35:59 +01:00
Jack Westbrook
ec89854c5e
Performance: Lazy load built in panel plugins ( #92490 )
...
feat(plugins): lazy load built in panel plugins
2024-08-29 11:54:31 +02:00
Ieva
a72b557886
Docs: Extend docs with service account limitations ( #92630 )
...
* extend docs with service account limitations
* linting
* Apply suggestions from code review
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* PR feedback
* more PR feedback
* linting
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-08-29 09:50:11 +00:00
Kawthar Alakri
bd974bd791
New Select: Unit tests base cases ( #92485 )
...
* init commit
* New Select test cases
* click + scroll and click test cases
* code format
* code format
2024-08-29 11:45:21 +02:00
Andres Martinez Gotor
f9cd0fe5d1
Add debug headers when downloading plugins ( #92579 )
2024-08-29 11:30:21 +02:00
renovate[bot]
4209c13155
Update dependency @types/diff to v5.2.2
2024-08-29 09:23:00 +00:00
Laura Fernández
7e92cea000
TutorialCard: Fix link to tutorial not opening ( #92599 )
2024-08-29 11:22:50 +02:00
Bogdan Matei
1e1b554ff3
Scopes: Fix long texts for suggested dashboards ( #92641 )
2024-08-29 12:20:56 +03:00
Ashley Harrison
cec447cf7a
Drawer: Fix drawer mask positioning ( #92318 )
...
fix drawer mask positioning
2024-08-29 09:56:26 +01:00
renovate[bot]
90319c9482
Update dependency stylelint to v16.9.0 ( #92608 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-29 09:51:18 +01:00
Laura Fernández
8aaa155cb0
singleTopNav: Create feature toggle ( #92610 )
2024-08-29 10:48:32 +02:00
Karl Persson
56487d37db
Authn: No longer hash service account token twice during authentication ( #92598 )
...
* APIKey: Only decode and hash token once during authentication
* Only update last used every 5 minutes
2024-08-29 09:56:23 +02:00
Charandas
4f024d94d8
Authn: resolve issues with setting up a nil identity ( #92620 )
2024-08-29 00:49:41 +03:00
Adela Almasan
692280cd32
BarGauge: Add legend support ( #92449 )
2024-08-28 23:26:55 +03:00
Gilles De Mey
9d173ef579
Alerting: Fixes incorrect cache invalidation for silences when no silences exist ( #92322 )
2024-08-28 17:25:10 +01:00
renovate[bot]
a2602031c0
Update dependency react-zoom-pan-pinch to v3.6.1 ( #92606 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 17:19:35 +01:00
Eric Leijonmarck
577ebb3444
LBAC for datasources: Update swagger documentation ( #92594 )
...
* LBAC for datasources: Update swagger documentation
* update swagger again
2024-08-28 17:04:57 +01:00
renovate[bot]
8324a720f4
Update dependency @grafana/scenes to v5.10.2
2024-08-28 18:43:44 +03:00
Ida Štambuk
1735235277
Chore: Update elasticsearch_test.go ( #92602 )
2024-08-28 17:34:57 +02:00
renovate[bot]
faf2178a98
Update dependency react-hook-form to v7.53.0 ( #92585 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 16:19:39 +01:00
Eve Meelan
7057bd7caf
replace myself with Irene in CODEOWNERS ( #92589 )
...
Update CODEOWNERS
2024-08-28 10:57:24 -04:00
Gábor Farkas
abca0380a8
use count_bytes_reader from plugin-sdk-go ( #92553 )
...
* use count_bytes_reader from plugin-sdk-go
* run `make update-workspace`
* update postgres tests
* update mysql tests
* time back to utc
* make update-workspace done
---------
Co-authored-by: Kyle Brandt <kyle@grafana.com >
2024-08-28 16:44:13 +02:00
Leonor Oliveira
09f102b72e
Remove condition on where we return from unified storage in mode2 ( #92593 )
2024-08-28 16:31:53 +02:00
Hugo Kiyodi Oshiro
01b9ad3789
Plugins: Hide update all plugins in cloud ( #92597 )
2024-08-28 16:21:46 +02:00
Andrew Hackmann
f8af6f4eea
Graphite: Add @ to the lexer ( #92546 )
...
Add @ to the lexer
2024-08-28 09:12:23 -05:00
Andrew Hackmann
e0a0942203
Graphite: Tag values are queried with dashboard time range ( #92167 )
...
add time range to get tag values in graphite
2024-08-28 09:08:46 -05:00
Gabriel MABILLE
2a1a43fc9b
PermissionRegistry: Error on unknown kind ( #91469 )
...
* PermissionRegistry: Error on unknown kind
* Account for PR feedback
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com >
* Add missing alerting scope
---------
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com >
2024-08-28 15:58:25 +02:00
Todd Treece
2bb2183b41
Scopes: Move title and groups to status in ScopeDashboardBinding ( #92377 )
...
---------
Co-authored-by: Kyle Brandt <kyle@grafana.com >
Co-authored-by: Bogdan Matei <bogdan.matei@grafana.com >
2024-08-28 08:59:18 -04:00
Arati R.
34149c86d0
Provisioning: Prevent provisioning folder errors from failing startup ( #92560 )
...
* Prevent provisioning folder errors from failing startup
* Refactor setting of dashboard provisioner
2024-08-28 14:49:00 +02:00
renovate[bot]
68751ed310
Update dependency i18next to v23.14.0 ( #92584 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 13:35:21 +01:00
Arati R.
c5b377f06e
Provisioning: Revert "Allow startup when there are dashboard provisioning failures" ( #92568 )
...
Revert "Provisioning: Allow startup when there are dashboard provisioning failures (#92201 )"
This reverts commit 927ce6c700 .
2024-08-28 14:19:59 +02:00
Karl Persson
1eb49e1b0f
Chore: restructure legacy store for identity ( #92572 )
...
* Restructure user queries
* restructure display query
* restructure team queries
* restructure team bindings query
* Restructure team members
* Restructure store
2024-08-28 14:15:26 +02:00
renovate[bot]
965a9e2d79
Update dependency eslint-plugin-testing-library to v6.3.0 ( #92581 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 13:01:25 +01:00
Eric Leijonmarck
6a19278f23
API Keys: Removal & Redirect of Create endpoint ( #92144 )
...
* API keys: redirecting of create endpont
* update naming and using admonition
* fmt
* Apply suggestions from code review
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
---------
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2024-08-28 12:20:36 +01:00
renovate[bot]
909d0fac35
Update dependency @types/node to v20.16.2 ( #92576 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 12:15:38 +01:00
Mihai Doarna
2b70945fda
Auth: Display page not found when the provider is invalid ( #92563 )
...
display page not found when the provider is invalid
2024-08-28 14:06:24 +03:00
renovate[bot]
a9c2c97531
Update dependency @opentelemetry/semantic-conventions to v1.27.0 ( #92566 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 11:44:50 +01:00
renovate[bot]
58ecb8e3d8
Update dependency @tanstack/react-virtual to v3.10.5 ( #92561 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 12:59:41 +03:00
renovate[bot]
c92f5169d1
Update dependency @prometheus-io/lezer-promql to v0.54.1 ( #92556 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 10:16:31 +01:00
renovate[bot]
726fe8bd9c
Update dependency rudder-sdk-js to v2.48.17
2024-08-28 08:55:18 +00:00
Aaron Godin
86e8e3b75d
Revert "RBAC: Optimize permissions caching" ( #92548 )
...
Revert "RBAC: Optimize permissions caching (#92412 )"
This reverts commit 488e994d37 .
Co-authored-by: gamab <gabriel.mabille@grafana.com >
2024-08-28 10:44:38 +02:00
Karl Persson
4addd9637e
Team: Add sub resource and api for team members ( #92492 )
...
* Add team members as a sub resource
* Fix and clean up pagination for teams
* Fix and clean up pagination for users
* Fix and clean up pagination for service accounts
* Update snapshots
2024-08-28 10:30:23 +02:00
renovate[bot]
72be3e861e
Update dependency webpack to v5.94.0 [SECURITY] ( #92545 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 09:29:33 +01:00
renovate[bot]
1552ab0eb7
Update dependency @opentelemetry/semantic-conventions to v1.26.0 ( #92518 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 09:28:46 +01:00
Hugo Kiyodi Oshiro
af976c9a0b
Plugins: Set isFullyInstalled false on plugin uninstall ( #92503 )
2024-08-28 09:50:48 +02:00
Todd Treece
85ef26a85d
K8s: Add generic support for status ( #92378 )
2024-08-28 03:45:04 +03:00
Adela Almasan
39fda067cf
BarGauge: Add option to hide the names ( #92450 )
2024-08-27 17:21:35 -05:00
Charandas
af2e79aa83
K8s: namespace mapper should use authlib's util ( #92332 )
2024-08-27 15:01:42 -07:00
Señor Performo - Leandro Melendez
f9719d4ee9
docs: Added geomap missing headings, why and how describing data needs ( #92237 )
...
Co-authored-by: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com >
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-08-27 17:44:11 -04:00
Señor Performo - Leandro Melendez
f17bc146c2
docs: Nodegraph doc updates adding why and how explaining data needs ( #92258 )
...
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
2024-08-27 17:30:36 -04:00
Galen Kistler
867f3f793c
Logs Panel: Only send DataHoverClearEvent on container mouse leave event ( #92526 )
...
* fix: stop sending clear events between every row, and only when the mouse leaves the container
2024-08-27 22:44:17 +03:00
Andreas Christou
931d64b8fc
CI: Run prettier in bump-version workflow ( #92195 )
...
Run prettier
2024-08-27 20:21:51 +01:00
Isabel Matwawana
85cd9cbe25
Docs: Show youtube videos in what's new 11.2 ( #92520 )
2024-08-27 14:09:31 -04:00
Señor Performo - Leandro Melendez
1c1b081a4c
docs: Update logs doc adding why and how to including data reqs ( #92166 )
...
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-08-27 14:09:20 -04:00
grafana-delivery-bot[bot]
52f60cd4f9
Release: update changelog for 11.2.0 ( #92494 )
...
* Update changelog
* Update changelog
* Update changelog
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
2024-08-27 18:15:37 +01:00
renovate[bot]
d5b7b4ba58
Update dependency @grafana/experimental to v1.8.0 ( #92515 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-27 17:38:09 +01:00
Piotr Jamróz
573e16fa3b
CI: Null check for author ( #92516 )
...
Null check for author
2024-08-27 18:32:01 +02:00
maicon
de2c9a06bf
Unified Storage: First iteration Dual Write Syncer ( #89809 )
...
* Unified Storage: First iteration Dual Write Syncer
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
Co-authored-by: Leonor Oliveira <9090754+leonorfmartins@users.noreply.github.com >
Co-authored-by: Dan Cech <dcech@grafana.com >
2024-08-27 13:31:40 -03:00
renovate[bot]
2235825ef9
Update dependency ts-jest to v29.2.5
2024-08-27 16:15:49 +00:00
Jack Baldry
847b84004d
Reorganize Explore Metrics content so OSS TOC matches Cloud ( #92501 )
2024-08-27 17:02:07 +01:00
Andreas Christou
d00abe0972
CI: Update inputs to allow specifying previous version ( #92506 )
...
* Update inputs to allow specifying previous version
* Add one more input
2024-08-27 16:49:23 +01:00
renovate[bot]
aae8527410
Update dependency knip to v5.27.4
2024-08-27 15:46:36 +00:00
renovate[bot]
475fb6ac3a
Update dependency @types/lodash to v4.17.7 ( #92482 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-27 16:09:01 +01:00
Isabel Matwawana
18726943a3
Docs: Add videos to What's new 11.2 ( #92444 )
2024-08-27 11:07:34 -04:00
Stephanie Hingtgen
a4266df16d
SQL Store: Fix parse time setup ( #92484 )
2024-08-27 17:39:27 +03:00
grafana-pr-automation[bot]
aba4b42973
I18n: Download translations from Crowdin ( #92493 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-27 17:20:36 +03:00
Misi
a3d688c8ed
CLI: Provide the list of admins if the admin with the default ID was not found ( #92217 )
...
* Provide the list of admins if the admin with the default ID was not found
* Clean up
* Update docs
* Update docs/sources/cli.md
Co-authored-by: Dan Cech <dcech@grafana.com >
* Update pkg/cmd/grafana-cli/commands/reset_password_command.go
Co-authored-by: Dan Cech <dcech@grafana.com >
* Lint
---------
Co-authored-by: Dan Cech <dcech@grafana.com >
2024-08-27 16:01:33 +02:00
grafana-pr-automation[bot]
a884e03dc5
I18n: Download translations from Crowdin ( #91912 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-27 16:59:52 +03:00
Tobias Skarhed
92491dd78c
New Select: Semi-dynamic option width support ( #92284 )
...
* Fix button role and input id
* Use static height and dynamic width
* Estimate dynamic width
* Extract constant
* Remove unused code
* Extract dynamic width into a hook
* Remove console.log
* Add comment to the constants
* Update packages/grafana-ui/src/components/Combobox/Combobox.tsx
Co-authored-by: Laura Fernández <laura.fernandez@grafana.com >
* Update packages/grafana-ui/src/components/Combobox/getComboboxStyles.ts
---------
Co-authored-by: Laura Fernández <laura.fernandez@grafana.com >
2024-08-27 15:51:25 +02:00
Kim Nylander
f063088188
[DOC] Update TraceQL query editor doc ( #91910 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-08-27 14:49:49 +01:00
Kristian Bremberg
24afc7a5b3
TextPanel: Allow iframes (after sanitization) ( #92299 )
...
* Allow iframes in text panel
* add more attributes
* remove =true
2024-08-27 14:44:58 +01:00
grafana-delivery-bot[bot]
7c408f5e16
Release: update changelog for 11.1.5 ( #92488 )
...
* Update changelog
* Lint
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
2024-08-27 14:39:32 +01:00
Alexander Zobnin
0e0c877609
Zanzana: Model fixed roles as a part of schema ( #92364 )
...
* model fixed roles for dashboards and folders
* Correctly translate fixed role assignments
* minor refactor
* assign fixed roles to teams
* fix linter errors
* Migrate general folder permissions for fixed roles
* fix dashboards:create permission
2024-08-27 15:39:22 +02:00
Juan Cabanas
8862578f50
ShareDrawer: Wrap render logic and add shareView query param ( #92060 )
2024-08-27 16:31:07 +03:00
grafana-delivery-bot[bot]
c588882c26
Release: update changelog for 11.0.4 ( #92480 )
...
* Update changelog
* Fix lint
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
2024-08-27 14:11:27 +01:00
Jack Westbrook
892a50a3b7
Performance: Load shared frontend plugin dependencies on demand ( #87644 )
...
* feat(plugins): only load shared plugin dependencies when needed
* feat(plugins): add react-redux and fix up comments
* feat(plugins): attempt to load async deps in fe sandbox
* feat(frontend): defer script execution to prevent systemjs from loading app.js
2024-08-27 15:10:26 +02:00
renovate[bot]
1e32e98bf6
Update dependency @grafana/faro-web-tracing to v1.9.1
2024-08-27 12:41:19 +00:00
Matheus Macabu
b132d921b7
CloudMigrations: point cloud instance to sef-serve guide ( #92471 )
2024-08-27 13:25:51 +01:00
renovate[bot]
e66979765d
Update dependency @grafana/faro-web-sdk to v1.9.1
2024-08-27 12:18:44 +00:00
grafana-delivery-bot[bot]
1654ffeef4
Release: update changelog for 10.4.8 ( #92476 )
...
* Update changelog
* Lint CHANGELOG
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
2024-08-27 13:16:04 +01:00
Ashley Harrison
2318e32c9f
Chore: Migrate legacy dropdown styles to emotion/angular file ( #92282 )
...
migrate legacy dropdown classes to emotion/angular file
2024-08-27 12:40:54 +01:00
Hugo Kiyodi Oshiro
0f24c89c91
Plugins: Add update all plugins feature ( #92229 )
2024-08-27 13:38:39 +02:00
renovate[bot]
37f0c0d00f
Update dependency @grafana/faro-web-sdk to v1.9.1
2024-08-27 11:35:54 +00:00
grafana-delivery-bot[bot]
32c3e17e58
Release: update changelog for 10.3.9 ( #92467 )
...
* Update changelog
* Lint Changelog
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
2024-08-27 13:34:19 +02:00
Ryan McKinley
c59dddf7af
MySQL: Add parseTime=true to SQL connections ( #92469 )
2024-08-27 14:16:04 +03:00
renovate[bot]
c98e3e0483
Update dependency @grafana/faro-core to v1.9.1
2024-08-27 11:08:19 +00:00
Laura Benz
6950093911
RestoreDashboards: Set preselected folder in folder picker for restoring several dashboards from the same folder ( #92403 )
...
* feat: add condition for several dashboards
* refactor: clean up
* refactor: clean up and comment
* refactor: clean up
* refactor: clean up
2024-08-27 14:06:23 +03:00
renovate[bot]
a99e32947a
Update dependency @floating-ui/react to v0.26.23 ( #92470 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-27 13:44:26 +03:00
Jack Westbrook
c0a719caa7
Datalinks: Fix context menu position for body scroll ( #92389 )
...
* fix(datalinks): position context menu offest to vertical window scroll
* feature toggle change
* enhance boot data mock with empty featureToggles
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-08-27 13:28:48 +03:00
Ryan McKinley
5a30e12a10
SQLTemplate: Make Ident only work for identifiers (not any string) ( #92387 )
2024-08-27 13:22:40 +03:00
Ashley Harrison
437747f250
update committed yarn version
2024-08-27 13:18:56 +03:00
renovate[bot]
02f1bb7b46
Update Yarn to v4.4.1
2024-08-27 13:18:56 +03:00
Laura Benz
1f35bc8346
RestoreDashboards: Make confirmation text consistent ( #92388 )
...
* refactor: change wording
* refactor: change API
* refactor: clean up
2024-08-27 13:13:48 +03:00
Joao Silva
f1ba609b34
Chore: Upgrade micromatch to version without CVE-2024-4067 ( #92405 )
2024-08-27 10:16:59 +01:00
Erik Sundell
b648ce3acf
Plugin extensions: Introduce new registry for added components ( #91877 )
...
* add added component registry
* fix broken test
* add tests for usePluginComponents hook
* readd expose components
* add type assertion exceptions to betterer results
* use new addedComponent registry in legacy endpoints
* remove unused code
* cleanup
* revert test code
* remove commented code
* wrap in try catch
* pr feedback
2024-08-27 11:14:04 +02:00
Ryan McKinley
419edef4dc
LibraryPanels: Expose library panels in dashboard apiserver ( #92213 )
2024-08-27 12:12:22 +03:00
renovate[bot]
7ad3d9bf76
Update dependency @grafana/plugin-e2e to v1.7.1 ( #92308 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-27 09:47:37 +01:00
Alexander Zobnin
488e994d37
RBAC: Optimize permissions caching ( #92412 )
...
* Access control: Use composite cache key for team permissions
* use composite key for teams
* use cache for hotpath (getCachedUserPermissions)
* fix linter
* fix sorting
---------
Co-authored-by: Jeff Levin <jeff@levinology.com >
2024-08-27 10:31:52 +02:00
Hugo Kiyodi Oshiro
a54ec2341c
Plugins: Hide GetStartedWithDataSource when cloud plugin is not fully installed ( #92402 )
2024-08-27 10:14:40 +02:00
Alexander Akhmetov
7f6b6dea45
Alerting: Change expire placeholder for Pushover in the UI to 10800 seconds ( #92379 )
...
* Alerting: Change max retry for Pushover in the UI to 10800 seconds
* Update alerting to 70248a7a3a674e50e026a37205ebac86e1ec25fd
2024-08-27 11:13:58 +03:00
github-actions[bot]
3141c39d1f
Update make docs procedure ( #92340 )
...
Co-authored-by: grafanabot <bot@grafana.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-08-27 08:53:39 +01:00
brendamuir
667cbd626c
Alerting docs: adds display names to fixed roles for RBAC ( #92357 )
...
* Alerting docs: adds display names to fixed roles for RBAC
* ran prettier
* updates descriptions
* preposition update
* ran prettier
2024-08-27 09:23:04 +02:00
Karl Persson
2872e11c13
Teams: Add apis for team membership ( #92204 )
...
* Add TeamBinding resource
* Implement read api:s for TeamBindings
2024-08-27 08:31:29 +02:00
Pepe Cano
2ba930ab1f
Alerting Docs: Monitor your high availability setup ( #92063 )
...
* Alerting Docs: Monitor your high availability setup
* Update docs/sources/alerting/set-up/configure-high-availability/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/set-up/configure-high-availability/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/set-up/configure-high-availability/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/set-up/configure-high-availability/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Shorten links
* Update/reorder a bit the description about alertmanager gossiping
* Update `alertmanager_peer_position` description
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-08-27 08:01:14 +02:00
Señor Performo - Leandro Melendez
336e6d97b7
docs: time series add why use it and how to data needs ( #92158 )
...
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-08-26 17:25:05 -04:00
Andrew Hackmann
eac194815e
MSSQL: decouple plugin ( #89597 )
...
* decouple from core
* yarn decouple
* make health check work and azure config
* f
* driver error not needed
* merge
2024-08-26 23:09:21 +03:00
Yuri Tseretyan
4755eb5176
Alerting: Support template UID in template service ( #92164 )
...
* add uid to template and populate it
* update delete method to support both uid and name
* update UpdateTemplate to support search by UID and fallback to name + support renaming of the template
* update upsert to exit if template not found and uid is specified
* update Get method to address by name or uid
---------
Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com >
2024-08-26 23:05:38 +03:00
Señor Performo - Leandro Melendez
354aee951d
docs: added explanation of why to use tables and how to use with their data needs ( #92150 )
...
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-08-26 15:50:32 -04:00
Isabel Matwawana
6a15b677d8
Docs: What’s new & Upgrade guide v11.2 ( #91847 )
...
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com >
2024-08-26 15:49:19 -04:00
Eric Leijonmarck
413b511452
Revert "feat: Add new read filtering to datasources guardian" ( #92407 )
...
Revert "feat: Add new read filtering to datasources guardian (#91345 )"
This reverts commit 0176ead117 .
2024-08-26 13:16:04 -04:00
Carl Bergquist
61074e7e5e
Devenv: Adds docker for prometheus with high cardinality labels. ( #91035 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-08-26 19:12:59 +02:00
Matias Chomicki
3f88188a42
Logs panel: update internal displayed fields when the prop changes ( #92418 )
2024-08-26 19:08:01 +03:00
Alexander Weaver
490d6ba2fd
Alerting: Extend scheduler user with datasources:read ( #92410 )
...
Add permission
2024-08-26 10:59:54 -05:00
Sonia Aguilar
857e2b1bc3
Alerting: update Grafana recording rule name placeholder ( #92406 )
...
update Grafana recording rule name placeholder
2024-08-26 15:34:49 +00:00
Agnès Toulet
79abc0cf1d
Runtime: Make dashboardSceneSolo flag updatable at runtime ( #92290 )
...
Runtime: Make dashboardSceneSolo flag updatable at runtimeuntime
2024-08-26 17:12:01 +02:00
Matthew Jacobson
32f06c6d9c
Alerting: Receiver API complete core implementation ( #91738 )
...
* Replace global authz abstraction with one compatible with uid scope
* Replace GettableApiReceiver with models.Receiver in receiver_svc
* GrafanaIntegrationConfig -> models.Integration
* Implement Create/Update methods
* Add optimistic concurrency to receiver API
* Add scope to ReceiversRead & ReceiversReadSecrets
migrates existing permissions to include implicit global scope
* Add receiver create, update, delete actions
* Check if receiver is used by rules before delete
* On receiver name change update in routes and notification settings
* Improve errors
* Linting
* Include read permissions are requirements for create/update/delete
* Alias ngalert/models to ngmodels to differentiate from v0alpha1 model
* Ensure integration UIDs are valid, unique, and generated if empty
* Validate integration settings on create/update
* Leverage UidToName to GetReceiver instead of GetReceivers
* Remove some unnecessary uses of simplejson
* alerting.notifications.receiver -> alerting.notifications.receivers
* validator -> provenanceValidator
* Only validate the modified receiver
stops existing invalid receivers from preventing modification of a valid
receiver.
* Improve error in Integration.Encrypt
* Remove scope from alert.notifications.receivers:create
* Add todos for receiver renaming
* Use receiverAC precondition checks in k8s api
* Linting
* Optional optimistic concurrency for delete
* make update-workspace
* More specific auth checks in k8s authorize.go
* Add debug log when delete optimistic concurrency is skipped
* Improve error message on authorizer.DecisionDeny
* Keep error for non-forbidden errutil errors
2024-08-26 10:47:53 -04:00
Irene Rodriguez
22ad1cc16f
update minimum supported version for MySQL ( #92356 )
2024-08-26 10:39:02 -04:00
Julien Duchesne
3ac8760321
OpenAPI: Fix ValidationError message attribute ( #90846 )
...
It's `message`, not `msg`. It's been fixed for a while here: https://github.com/grafana/grafana-openapi-client-go/blob/9ef69836127d783a63b2d0c61b2f8bf3de0c8e86/scripts/pull-schema.sh#L46-L49
I've also reflected the change in the tests
2024-08-26 10:05:37 -04:00
Julien Duchesne
087df1d8e5
OpenAPI: Fix alerting DeleteMuteTiming errors ( #91109 )
...
The `GenericPublicError` is not what is actually returned by the API. Using `PublicError` describes the API correctly
2024-08-26 10:04:36 -04:00
Julien Duchesne
0075abe383
OpenAPI: Fix ProvisionedAlertRule.for type ( #90841 )
...
This override has been in the client for a while now: https://github.com/grafana/grafana-openapi-client-go/blob/9ef69836127d783a63b2d0c61b2f8bf3de0c8e86/scripts/pull-schema.sh#L34-L39
The API expects a string here and transforms it to a duration internally
2024-08-26 10:04:15 -04:00
Erik Sundell
1373b37166
Plugin Extensions: E2E test addLink and legacy APIs ( #92394 )
...
* cleanup tests
* more cleanup
* added links
* test legacy hooks
* test legacy hooks
* update codeowners
* revert package changes
* add project specfic example script
* remove console log
* Update .github/CODEOWNERS
Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com >
* Update CODEOWNERS
* use correct file names
* cleanup tests
---------
Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com >
2024-08-26 16:01:32 +02:00
Lucy Chen
a2de893ab3
ShareModal: Change public dashboard text to shared dashboard ( #92327 )
...
* update text
* update link
2024-08-26 09:56:48 -04:00
Aaron Godin
7623a844ba
Add test-go-unit-pretty ( #91645 )
...
Add make task for executing go test over a set of files and piping to tparse
2024-08-26 08:32:42 -05:00
Bogdan Matei
605bc811d2
Scopes: Group suggested dashboards ( #92212 )
2024-08-26 16:08:27 +03:00
Kristina
1dd830b9f1
Correlations: Migrate config type to root ( #91855 )
...
* WIP
* Validate new field, and add value in provisioning if not defined in correct spot
* Simplify logic, use correct value
* fix tests
* Fix linter errors
* fix swagger and tests
* 😬
* Auto-generation isnt doing this..
* Fix linter
* test if nullable is the issue…
* Change structure on the frontend fields
* Try with backtick
* try programatic quoting
* Try only quote non-ints
* quoting, no backticks
* Remove debugging
2024-08-26 08:02:48 -05:00
Kyle Brandt
84e5c3af22
Prometheus/Promlib: Remove the PrometheusDataplane feature so always enabled ( #92218 )
...
This has been default behavior since v10
---------
Co-authored-by: Brendan O'Handley <brendan.ohandley@grafana.com >
2024-08-26 08:53:38 -04:00
Hugo Kiyodi Oshiro
fa95eb8c02
Plugins: Fix big query credentials and improve detailed report errors ( #92373 )
2024-08-26 13:46:24 +02:00
Sonia Aguilar
116f29be74
Alerting: Update starting version for central ash (OSS users) ( #92399 )
...
* Update starting version for central ash (OSS users)
* Update version
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-08-26 11:41:38 +00:00
Mihai Doarna
096c25a285
Docs: Update TLS info from the LDAP config example ( #91975 )
...
* update TLS info from the LDAP config example
* address feedback
2024-08-26 12:43:01 +03:00
Konrad Lalik
30035b2367
Alerting: Fix invalid loading condition for vanilla Prometheus rules ( #92390 )
...
Remove invalid loading condition
2024-08-26 11:39:53 +02:00
Torkel Ödegaard
f990759633
Dashboards: Fixes timing issue when restoring scroll position ( #92342 )
2024-08-26 10:08:59 +02:00
Haris Rozajac
4015711133
Query Library: Interaction events for query library ( #92159 )
...
* interaction events for query library
* track adding or editing description
* Update to specify it's in explore
2024-08-23 16:17:38 -06:00
Lucy Chen
bef7139af0
Sharing Redesign: Export feedback changes ( #92346 )
...
* adjust height of codeEditor
* 75%
2024-08-23 16:09:02 -04:00
Joseph Perez
8cc95a7459
Docs: Edit contribute/style-guides (part 11 of doc improvement project) ( #92169 )
...
* Docs: edit contribute/style-guides
* Add missing 'is'
* Improve grammar of code comment
* Prettier fixes
* Minor fix
* Minor fix
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-08-23 08:08:04 -07:00
linoman
ca66133636
SSO LDAP - Address pending PR review comments ( #92368 )
...
* Address pending PR review comments
* Update i18n
2024-08-23 16:35:00 +02:00
Konrad Lalik
494376c5a9
Alerting: Fix resample expression and relativeTimeRange updates ( #91689 )
...
* Use dag to find origin nodes when updating resample queries
Co-authored-by: Gilles De Mey <gilles.demey@grafana.com >
* lint
* fix test and types
* short-circuit function
* Prevent cycles in DAG
* Handle dag cycle error
* Catch the cyclic link error in dashboard variables
---------
Co-authored-by: Gilles De Mey <gilles.demey@grafana.com >
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2024-08-23 15:22:33 +02:00
SADIK KUZU
b4e7329543
Docs: Fix typo in installation/debian/index.md ( #92040 )
...
Fix typo in installation/debian/index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-08-23 06:44:11 -05:00
Karl Persson
ddee95cb6d
Team: Create permission type for team membership ( #92352 )
...
* Create permission type enum for team and remove usage of dashboard permission type
2024-08-23 12:34:34 +02:00
Arati R.
927ce6c700
Provisioning: Allow startup when there are dashboard provisioning failures ( #92201 )
...
* Stop returning an error if dashboard provisioning fails
* Test that Run() does not error when dashboard provisioning fails
2024-08-23 11:48:42 +02:00
Tito Lins
4a124469fa
Check is config is default by comparing hashes ( #92296 )
2024-08-23 11:22:06 +02:00
Andres Martinez Gotor
a990b77c70
Add preinstall feature to defaults.ini ( #92347 )
2024-08-23 10:32:23 +02:00
Erik Sundell
d8ec95e9b1
E2E: Add support for building test plugins ( #91873 )
...
* build test apps with webpack
* add extensions test app
* update e2e tests
* remove non-build test apps using amd
* use @grafana/plugin-configs rather than create-plugin config
* Update e2e/plugin-e2e/plugin-e2e-api-tests/as-admin-user/extensions/usePluginComponents.spec.ts
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
* Update package.json
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
* use run dir variable instead of hardcoded path
* add dummy licence file
* add separate step for building test plugins
* support nested plugins
* remove react-router-dom from the externals array
* remove add_mode dev
* lint starlark
* pass license path as env variable
* fix the path
* chore(e2e-plugins): clean up dependencies to match core versions
* refactor(e2e-plugins): prefer extending webpack plugins-config
* docs(e2e-plugins): add basic info to extensions test plugin readme
* update readme
* change dir name from custom plugins to test plugins
* change root readme
* update lockfile
---------
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
2024-08-23 09:00:03 +02:00
Alex Khomenko
0af4a20b58
Routing: Import useLocation from compat package ( #92071 )
...
* Routing: Import useLocation from compat package
* Add ComparRouter
* Add CompatRouter
* Fix tests
* Add CompatRouter to TestProvider
* Use findBy
* Remove AppChromeService
* Remove historyOptions
* Routing: Fix alerting/test utils issues from react compat router usage (#92127 )
* Use render from test-utils
* Use compat router
* Convert more tests
---------
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
2024-08-23 09:54:13 +03:00
Isabel Matwawana
d24b21d3ef
Docs: update cell inspect behaviour ( #92334 )
2024-08-22 21:26:42 +00:00
Kevin Yu
3d3879fe6c
List Aurora as an enterprise plugin ( #92292 )
2024-08-22 14:05:59 -07:00
Sven Grossmann
ec857e1de9
Loki: Add dashboard and panel names as headers ( #92096 )
...
* feat(nameHeaders): add feature flag
* add safe parsing of headers
* use headers in loki datasource
* Loki: add option to pass headers to Loki
* Loki: add datasource tests for dashboard names
* cleanup
* DataSourceWithBackend: add test
* rename to `sanitizeHeader`
* Loki: add condition when to add headers
* Loki: add e2e tests
* Loki: change test name
2024-08-22 21:30:43 +02:00
Joseph Perez
a7b57be04f
Docs: Edit style-guides (part 12 of doc improvement project) ( #92263 )
...
* Docs: Edit style-guides (part 12)
* Update contribute/style-guides/storybook.md
* Prettier fixes
2024-08-22 12:15:12 -07:00
Joseph Perez
8f807a2df7
Docs: Fix broken link in developers/contribute ( #92328 )
2024-08-22 11:35:54 -07:00
Marcus Andersson
95409f53d2
Bugfix: QueryField typeahead missing background color ( #92216 )
...
Added missing styles to the typeahead menu.
2024-08-22 16:16:48 +01:00
linoman
9fbfaf08a6
SSO LDAP: Add LDAP settings drawer ( #92199 )
...
* Add LdapDrawer component
* Add success message for discarding LDAP settings
* Add Use SSL tooltip
* Add min tls version field
* Change alert error to alert success
* Add tls ciphers field
* Update i18n
* rename ssl for tls
* rename ldap to LDAP
2024-08-22 17:16:18 +02:00
Christian Inkster
922babb157
Alerting: Add mutex to Redis HA subs ( #89870 )
2024-08-22 16:01:33 +01:00
renovate[bot]
81935a3af1
Update dependency @grafana/experimental to v1.8.0 ( #92283 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-22 15:50:27 +01:00
Alexander Akhmetov
832bb01f36
Alerting: Add MQTT notifications receiver ( #91487 )
...
* Alerting: Add MQTT notifications receiver
* Update alerting to 9daa6239cc41dc42bff0e916c8d0d27766caa8b9 (main)
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-08-22 16:47:48 +02:00
Victor Marin
9c73916f09
Fix tests failing due to harcoded date ( #92293 )
...
fix tests failing due to harcoded date
2024-08-22 17:27:40 +03:00
Isabel Matwawana
69f50b3e88
Docs: remove aliases from incorrect files ( #92244 )
2024-08-22 10:24:50 -04:00
Irene Rodriguez
3999b4b616
Added admonition about time zones ( #92288 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-08-22 14:08:57 +00:00
Affan Amir Mir
4aecb02be2
Update index.md with instructions to install plugins for helm ( #92180 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-08-22 17:06:36 +03:00
Andres Martinez Gotor
c20ba5b09d
Add some basic stats for plugin preinstalls ( #92220 )
2024-08-22 16:17:27 +03:00
William Wernert
dfbddd8262
Alerting: Fix recording rule export ( #91405 )
...
* Fix HCL export
* Update rule export struct to support new optional fields
* Omit `for` field in export API if empty
2024-08-22 09:04:21 -04:00
Gilles De Mey
00381711a4
Alerting: useProduceNewRuleGroup for creating / updating alert rules. ( #90497 )
...
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
2024-08-22 15:57:23 +03:00
renovate[bot]
c315c2719d
Update dependency stylelint to v16.8.2
2024-08-22 12:33:59 +00:00
Andres Martinez Gotor
1b336e94c8
Chore: Check version compatibilty when installing a plugin ( #92200 )
2024-08-22 13:47:00 +02:00
renovate[bot]
f188da7b65
Update dependency rudder-sdk-js to v2.48.16
2024-08-22 11:38:21 +00:00
Torkel Ödegaard
3e84b2ba2f
Dashboard: Fixes closing share modal ( #92267 )
2024-08-22 13:35:24 +02:00
renovate[bot]
7b9843bc13
Update babel monorepo to v7.25.4
2024-08-22 10:30:18 +00:00
Aaron Godin
0176ead117
feat: Add new read filtering to datasources guardian ( #91345 )
...
* feat: Add new read filtering to datasources guardian
* Apply suggestion to use datasources read guardian check for frontend settings
---------
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com >
2024-08-22 11:26:46 +01:00
renovate[bot]
94a119ac63
Update dependency ol-ext to v4.0.23
2024-08-22 10:09:11 +00:00
Alex Khomenko
022892ef72
Routing: Add CompatRouter to tests ( #92114 )
...
* Add CompatRouter
* Fix tests
* Add CompatRouter to TestProvider
* Use findBy
* Remove AppChromeService
* Remove historyOptions
* Routing: Fix alerting/test utils issues from react compat router usage (#92127 )
---------
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
2024-08-22 13:05:12 +03:00
renovate[bot]
7bee9d5e0f
Update dependency knip to v5.27.3
2024-08-22 09:37:17 +00:00
Ieva
41ac5b5ae7
RBAC: Fix an issue with server admins not being able to manage users in orgs that they don't belong to ( #92024 )
...
* look at global perms if user is not a part of the target org
* use constant
* update tests
2024-08-22 10:04:06 +01:00
Sven Grossmann
40cdfeb00b
Loki: Add logsample supporting query type ( #92082 )
...
* Loki: Add `logsample` supporting query type
* use `SupportingQueryType`
* add missing test
2024-08-22 09:12:50 +02:00
Konrad Lalik
db711d6a21
Alerting: Allow groups and namespaces with slashes ( #92183 )
...
* Allow rule groups and namespaces with slashes
* Fix lint
2024-08-22 08:16:28 +02:00
Brendan O'Handley
130a86d9c7
Explore metrics: Improve performance for build layout ( #92238 )
...
* revert buildLayout
* filter metric names using metricPrefix using regex
* build groups with all the metric names and only build them once
* remove commented code
* use the metrics search input results to build the prefix select options
* simplify prefix regex because we do not have to do it at the same time as the metrics search input regex
2024-08-21 20:53:44 -05:00
Lucy Chen
2ad9d8cafe
ShareModal: delete shareView query param from url ( #92243 )
2024-08-21 19:36:20 -03:00
Todd Treece
733ae1f099
Chore: Skip gzip for apiserver routes ( #92245 )
2024-08-21 23:47:58 +03:00
Todd Treece
e4953b6ffd
Chore: Add Dockerfile CI check for new modules ( #92239 )
2024-08-21 16:25:25 -04:00
Todd Treece
a86ded2438
Chore: Add apistore dependency ( #92240 )
2024-08-21 16:22:45 -04:00
Todd Treece
2f01286034
Storage: Add go.mod for apistore ( #92224 )
2024-08-21 14:32:01 -04:00
Kristin Laemmert
2d0350e786
add spans to search v2 ( #92223 )
...
add tracing spans to search v2 service
2024-08-21 13:26:34 -04:00
Kristin Laemmert
aa913b5f39
chore: add tracing to quote API and service methods with contexts ( #92211 )
...
* chore: add tracing to quote API and service methods with contexts
I also fixed a typo (overriden -> overridden) and removed a method that looked like it wasn't useful anymore. (It seemed to exist to return an error, but never returned an error, and so just added many lines of unnecessary error checking).
2024-08-21 13:24:45 -04:00
Ryan McKinley
2136fd9a92
Storage: Remove unified storage feature flag ( #92192 )
...
remove unified storage flag
2024-08-21 19:28:30 +03:00
renovate[bot]
71f0dae39e
Update dependency mini-css-extract-plugin to v2.9.1
2024-08-21 16:16:12 +00:00
Todd Treece
2d43fdb29b
Aggregator: Add mutation and validation handlers ( #92036 )
2024-08-21 19:12:53 +03:00
renovate[bot]
6891eb1d35
Update dependency knip to v5.27.2 ( #92214 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-21 16:51:23 +01:00
Ashley Harrison
9f8e68e9a1
Docs: Update adhoc filter documentation ( #92197 )
...
update adhoc filter documentation
2024-08-21 16:50:32 +01:00
Dave Henderson
df3d8915ba
Chore: Bump Go to 1.23.0 ( #92105 )
...
* chore: Bump Go to 1.23.0
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
* update swagger files
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
* chore: update .bingo/README.md formatting to satisfy prettier
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
* chore(lint): Fix new lint errors found by golangci-lint 1.60.1 and Go 1.23
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
* keep golden file
* update openapi
* add name to expected output
* chore(lint): rearrange imports to a sensible order
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2024-08-21 11:40:42 -04:00
brendamuir
02c820382d
Alerting docs: separates doc on create alerts from panels ( #92131 )
...
* Alerting docs: separates doc on create alerts from panels
* deletes previous panel section
* adds time series limitation and play link
* removes play from old topic
* ran prettier
* removed play shortcode, typo
* adds feedback from gilles
---------
Co-authored-by: tonypowa <tonypowa@gmail.com >
2024-08-21 17:20:59 +02:00
Ashley Harrison
e675455502
PublicDashboards: Fix public dashboards when publicDashboardsScene is enabled ( #92187 )
...
* fix public dashboards pages when publicDashboardsScene is enabled
* properly handle react-grid-layout at small screen sizes
* use unset instead of auto
2024-08-21 16:16:12 +01:00
Kristin Laemmert
a04d2f44f8
chore: add spans to publicdashboards service methods ( #92149 )
...
* chore: add spans to publicdashboards service methods
* add tracing to test service
* test fixture whackamole
* move tracer to a package var
* Update pkg/services/publicdashboards/service/service.go
Co-authored-by: Dave Henderson <dave.henderson@grafana.com >
---------
Co-authored-by: Dave Henderson <dave.henderson@grafana.com >
2024-08-21 10:55:16 -04:00
Andres Martinez Gotor
21bf013a8e
Add support for synchronous plugin installation ( #92129 )
2024-08-21 16:11:55 +02:00
Torkel Ödegaard
801f2ba728
DashboardScene: Support remember scroll position when coming back from view panel, panel edit and settings ( #92185 )
...
* DashboardScene: Support remember scroll position when coming back from view panel, panel edit and settings
* remove unused state prop
* Update
* Fixes
* Update e2e
2024-08-21 14:05:07 +00:00
Leonor Oliveira
81ce3c92d5
Remove optionsStorage and labelSelector ( #92196 )
2024-08-21 15:44:38 +02:00
Diego Augusto Molina
9a65d0a977
Storage: remove sqlstore.WrapDatabaseDriverWithHooks ( #92111 )
...
remove sqlstore.WrapDatabaseDriverWithHooks from Unified Storage after related incident
2024-08-21 10:31:34 -03:00
Ryan McKinley
2e60f28044
Auth: remove id token flag ( #92209 )
2024-08-21 16:30:17 +03:00
renovate[bot]
302bfe3edf
Update dependency i18next-parser to v9.0.2
2024-08-21 13:24:51 +00:00
Matias Chomicki
1b6db3da22
Loki language provider: don't cache empty array while querying ( #92092 )
...
* Loki language provider: don't cache empty array while querying
* Prettier
* Unfocus test
* chore: add extra assertion
2024-08-21 13:07:01 +00:00
Torkel Ödegaard
4bc64dd747
Page/Body: Only show scrollbar lane gutter when needed ( #92186 )
...
* Page/Body: Only show scrollbar lane gutter when needed
* Update packages/grafana-ui/src/themes/GlobalStyles/elements.ts
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-08-21 14:44:12 +02:00
Fayzal Ghantiwala
8d725a641c
Alerting: Integration test for testing template via remote alertmanager ( #92147 )
...
* Add integration test for testing template
* Update drone signature
2024-08-21 13:06:01 +01:00
renovate[bot]
237f8c7bac
Update dependency downshift to v9.0.8
2024-08-21 11:53:12 +00:00
Ryan McKinley
9563c896ee
Playlists: limit the total number of playlists ( #92132 )
2024-08-21 14:49:28 +03:00
Ashley Harrison
4d82139a33
Chore: Migrate _button SCSS styles to emotion globals ( #92135 )
...
migrate button styles to emotion globals
2024-08-21 12:46:30 +01:00
renovate[bot]
f26258984a
Update dependency core-js to v3.38.1
2024-08-21 11:30:50 +00:00
renovate[bot]
9494e9b847
Update dependency @types/react-transition-group to v4.4.11
2024-08-21 10:58:24 +00:00
renovate[bot]
ef832219ed
Update dependency @types/ini to v4.1.1
2024-08-21 10:04:09 +00:00
Ashley Harrison
292982f30b
Collapse: stop cropping focus rings ( #92190 )
...
remove overflow: hidden; from bodyContentWrapper
2024-08-21 11:01:53 +01:00
renovate[bot]
584559d3c2
Update dependency @react-awesome-query-builder/ui to v6.6.3
2024-08-21 09:33:03 +00:00
renovate[bot]
a8c6000c19
Update dependency @prometheus-io/lezer-promql to v0.53.2 ( #92148 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-21 09:49:14 +01:00
Will Browne
aea8b60849
Plugins: Add support for fetching plugin includes from plugin CDN ( #91476 )
...
* update oss side
* add Rel func to plugins.FS
* update tests
* add comment
* fix fs paths for nested plugin
* fix test
* fix sources
* fix cdn class bug
* update tests
* remove commented out code
2024-08-21 09:46:41 +01:00
Victor Marin
e7c628f4e7
Bump scenes to 5.10.1 ( #92140 )
...
* bump scenes to 5.10.1
* mock config version
* refactor
* refactor
2024-08-21 11:45:37 +03:00
Ida Štambuk
0c55d0aa64
Features: Move openSearchBackendFlowEnabled toggle to GA ( #92117 )
2024-08-21 10:21:57 +02:00
Karl Persson
b6540e2a18
SSOSettings: Add api:s ( #92018 )
...
* apis: add sso setting resource
* Implement Storage for sso
* Rename packages
* Merge identity and sso package
* Update table format and expose GetNestedBool
* Restructure identity api package
2024-08-21 09:16:47 +02:00
Diego Augusto Molina
80a69319b0
WebAssets: improve checks and error messages on dtos ( #92093 )
...
fix web assets check and improve error message
2024-08-20 18:35:48 -03:00
Yuri Tseretyan
d27c3822f2
Alerting: Add Create and Update methods to Template service ( #91981 )
...
* rename SetTemplate to UpsertTemplate
* Introduce Create\Update methods
* update api endpoint to use GetTemplate
2024-08-20 15:23:01 -04:00
Kyle Brandt
cab5818bc7
Scopes: Add groups property to ScopeDashboardBinding ( #92077 )
...
- Note: The `dashboardTitle` property and this property (`groups`) are likely to move from the `spec` container to the `status` container within the `scopeDashboardBinding` object in the future.
2024-08-20 19:32:16 +03:00
renovate[bot]
15a623c344
Update dependency @playwright/test to v1.46.1
2024-08-20 16:03:07 +00:00
linoman
eecd56659c
LDAP: SSO Configuration page ( #91875 )
...
* Init screen for LDAP UI
* add ldap drawer
* update routes
* update definitions
* add definitions for ldap configurations
* improve readibility
* remove whitespace
* clean up
* Adjust LdapSettingsPage
* adjust form autocomplete from backend call
2024-08-20 17:31:13 +02:00
Alexa V
cd4b7ef9db
Dashboard Scene: Fix snapshots not displaying variables values ( #88967 )
...
* Use new snapshot variables from scenes
* Add snapshotVariable implementation
* Refactor: Extract variables logic from transforSaveModelToScene file
---------
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
2024-08-20 17:05:12 +02:00
Gilles De Mey
6f63def283
Alerting: Fix long Alertmanager names overflowing the window ( #92023 )
...
fix long names overflowing the window
2024-08-20 17:02:35 +02:00
brendamuir
0631322d36
Alerting docs: adds sns integration ( #92075 )
...
* Alerting docs: adds sns integration
* deletes 2000 alert rule limit
* added .md ext and set weight field to 0
---------
Co-authored-by: tonypowa <tonypowa@gmail.com >
2024-08-20 16:22:07 +02:00
Sergej-Vlasov
5bfce7f590
DashboardGridItem - increase timeout in flaky panel repeat test ( #92133 )
...
increase timeout in flaky panel repeat
2024-08-20 17:19:28 +03:00
renovate[bot]
17fd8a6bc3
Update dependency @msagl/parser to v1.1.22
2024-08-20 14:01:04 +00:00
Lucy Chen
1056cc6a0d
Share Panel: Library panels feature ( #91419 )
2024-08-20 09:56:10 -04:00
Leon Sorokin
74ebc66520
VizTooltip: Fix positioning at bottom and right edges on mobile ( #92042 )
2024-08-20 08:48:37 -05:00
Will Browne
d35e9264bb
Plugins: Use plugins SDK constants for OAuth header names ( #90892 )
...
use SDK consts
2024-08-20 13:29:41 +01:00
Diego Augusto Molina
e788df921c
Storage: always use transactions and make them readonly when possible ( #92110 )
...
* always use transactions and make them readonly when possible
* fix linters
* fix reference
2024-08-20 09:29:06 -03:00
Will Browne
704b07b3f0
Plugins: Bump plugin SDK to latest (0.244.0) ( #92057 )
...
bump SDK
2024-08-20 14:40:51 +03:00
renovate[bot]
8b11040b05
Update dependency @msagl/core to v1.1.22
2024-08-20 11:23:27 +00:00
renovate[bot]
1525ee1a04
Update dependency @lezer/highlight to v1.2.1
2024-08-20 10:23:17 +00:00
David Harris
24dad802c9
chore: update plugin schema for ui extensions ( #92121 )
...
chore: update plugin.schema.json
Follow up to https://github.com/grafana/plugin-tools/pull/1060/
2024-08-20 11:20:21 +01:00
renovate[bot]
90c5845b72
Update React Aria
2024-08-20 09:36:55 +00:00
Alexander Akhmetov
d32e1e009b
Alerting: Update prometheus/client_golang to v1.20 ( #92070 )
...
Update prometheus/client_golang to v1.20
2024-08-20 11:26:06 +02:00
renovate[bot]
d9812153dd
Update dependency typescript to v5.5.4 ( #91678 )
...
* Update dependency typescript to v5.5.4
* fix missing typeof
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-08-20 10:11:57 +01:00
Sergej-Vlasov
7c8184d5bf
DashboardModel - Add fallback for variable current value fallback ( #91833 )
...
* add variable current value fallback when null
* refactor to avoid loosing reference
2024-08-20 11:55:04 +03:00
Ieva
2e9cbda448
Docs: Add cloud label to doc articles ( #92007 )
...
* add service account docs to cloud docs
* also add label to RBAC docs
2024-08-20 09:52:04 +01:00
Ashley Harrison
ab312914cd
Chore: cleanup util SCSS styles ( #92078 )
...
migrate SCSS util classes
2024-08-20 09:31:04 +01:00
Laura Benz
e7b6b4cf34
RestoreDashboards: Add folder picker to restore modal ( #91945 )
...
* feat: add folder picker
* feat: run i18n extraction
* feat: add target folder to api query
* feat: hand over targetFolder data to api query
* feat: retrieve original location
* feat: Add condition for folder picker
* feat: Modify condition for folder picker default
* refactor: add changes from code review
* refactor: add changes from code review
* feat: add plural to translation, add styling
* feat: run i18n extraction
2024-08-20 10:08:18 +03:00
Ihor Yeromin
5233e4b47f
Stat: Fix double-zero percent render ( #91848 )
...
fix(stat): percent zero case
2024-08-20 04:25:15 +03:00
Pepe Cano
a0e1028ae6
Alerting docs: include Grafana Alerting API as one option to manage… ( #91593 )
...
Alerting docs: include `Grafana Alerting API` as one option to manage Data sources-mangaged resources
2024-08-20 00:03:07 +02:00
owensmallwood
1cb3470e3e
Unified Storage: Wrapping the mysql driver with hooks causes issues ( #92099 )
...
dont wrap the mysql driver with hooks. Its causing the error 'begin tx: sql: driver does not support non-default isolation level'.
2024-08-19 15:09:25 -06:00
Todd Treece
b97fb3bb78
Chore: Update storage and search feature toggle owners ( #92098 )
2024-08-19 16:57:00 -04:00
Alexander Weaver
ac5ebe6e4d
Alerting: Add enablement flag for recording rules ( #92032 )
...
* Add enablement flag
* Disable if toggle not enabled
2024-08-19 12:01:00 -05:00
Dan Cech
9020eb4b17
Auth: Update oauthtoken service to use remote cache and server lock ( #90572 )
...
* update oauthtoken service to use remote cache and server lock
* remove token cache
* retry is lock is held by an in-flight refresh
* refactor token renewal to avoid race condition
* re-add refresh token expiry cache, but in SyncOauthTokenHook
* Add delta to the cache ttl
* Fix merge
* Change lockTimeConfig
* Always set the token from within the server lock
* Improvements
* early return when user is not authed by OAuth or refresh is disabled
* Allow more time for token refresh, tracing
* Retry on Mysql Deadlock error 1213
* Update pkg/services/authn/authnimpl/sync/oauth_token_sync.go
Co-authored-by: Dan Cech <dcech@grafana.com >
* Update pkg/services/authn/authnimpl/sync/oauth_token_sync.go
Co-authored-by: Dan Cech <dcech@grafana.com >
* Add settings for configuring min wait time between retries
* Add docs for the new setting
* Clean up
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
---------
Co-authored-by: Mihaly Gyongyosi <mgyongyosi@users.noreply.github.com >
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
2024-08-19 18:57:37 +02:00
Ashley Harrison
5ce9324801
fix nav border when bodyscrolling with sticky variables ( #92087 )
...
* fix nav border when bodyscrolling with sticky variables
* better fix
2024-08-19 18:59:46 +03:00
qiyang
950d5630a0
Docs: Update configure-prometheus-data-source.md ( #92049 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-08-19 17:43:33 +03:00
Larissa Wandzura
7ff8b1e0e2
Docs: Create new landing page and Get started doc for Explore ( #91602 )
...
* started updates
* added descriptions
* changed some wording
* minor updates
* updates
* updates
* created new landing page, and the get started page
* finished creating landing page
* continued with restructure
* final edits
* updated the Explore landing page
* ran prettier
* Update docs/sources/explore/get-started-with-explore.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/explore/get-started-with-explore.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/explore/get-started-with-explore.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/explore/get-started-with-explore.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/explore/get-started-with-explore.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/explore/get-started-with-explore.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/explore/get-started-with-explore.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/explore/get-started-with-explore.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* updates based on Jack's feedback
* ran prettier a second time
* wording change on landing page
* removed uncommented section
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-08-19 09:30:51 -05:00
Tom Ratcliffe
e2a1d59a96
Alerting: Remove disable logic for name field on time intervals when using k8s API ( #91885 )
...
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2024-08-19 14:53:12 +01:00
Torkel Ödegaard
43dba8c3f9
DashboardScene: Support bodyScrolling ( #91888 )
...
* Progress
* Fix dashboards pane
* almost working
* add hook to get scopesDashboardsScene state
* check whether it's enabled when considering opened state
* add height to container
* Update
* revert change
* Make it work when bodyScrolling is disabled
* Last tweaks
* Update scenes
* Updating
* Fix
* fix tests
* fix lint issues
* fix lint issues
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-08-19 15:42:45 +02:00
Seungyong Lee
7647c689f1
Docs: Revise Configure Prometheus documentation to align with Grafana v11.1 ( #91852 )
2024-08-19 12:17:10 +00:00
Ryan McKinley
65a7d8f023
Chore: Fix panic with golang 1.23 ( #92055 )
2024-08-19 13:31:01 +03:00
Juan Cabanas
a50b5564be
ShareModal: shareView query param fix ( #92020 )
2024-08-19 07:28:54 -03:00
renovate[bot]
8d197387ed
Update dependency @grafana/tsconfig to v2 ( #92056 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 13:13:33 +03:00
Laura Fernández
84e0aa1ccd
RestoreDashboard: Avoid overwrite when saving dashboard triggers a 'name-exists' error ( #91881 )
2024-08-19 11:31:40 +02:00
Joey
41fc6ab89e
Tempo: Update max options ( #92050 )
...
* Update max options
* Update limit
2024-08-19 10:26:55 +01:00
Ryan McKinley
9567275365
SQL: Add more legacy helpers ( #92006 )
2024-08-19 12:15:43 +03:00
Alexander Zobnin
87c4f2448c
Zanzana: Use modular schema ( #92001 )
...
* Zanzana: Use modular schema
* Fix tests
* Add module transform tests
2024-08-19 11:10:51 +02:00
Ashley Harrison
dcdef1a02d
TextPanel: Prevent panel crashing when interpolating variables results in empty content ( #92019 )
...
fix text panel crashing when interpolating variables results in empty content
2024-08-19 09:45:58 +01:00
Erik Sundell
134467fc4a
Plugin Extensions: Introduce new registry for exposed components ( #91748 )
...
* refactor app plugin internals
* add base registry and exposed components registry
* refactor usePluginComponent hook
* change type name
* fix hook
* remove comments
* fix broken tests
* add more tests
* remove link and component related changes
* use right id format
* add title prop
* remove comments
* rename registry
* make exportedComponentsConfigs required
* fix broken test
* cleanup tests
* fix prop name
* remove capability related code
* rename exported to exposed
* refactor(extensions): make registry types generic
* Update public/app/features/plugins/extensions/registry/ExportedComponentsRegistry.test.ts
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
* fix levitate error
---------
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
2024-08-19 08:43:11 +02:00
Todd Treece
4a753dd2d5
Chore: Switch dev profiling address to 127.0.0.1:6000 ( #91916 )
2024-08-18 13:45:55 -04:00
Drew Slobodnjak
d3c6e2b203
Table: Avoid rtl when using datalinks with units ( #92038 )
2024-08-16 15:42:20 -07:00
Jeff Levin
028e8ac59e
Instrument tracing across accesscontrol ( #91864 )
...
Instrument tracing across accesscontrol
---------
Co-authored-by: Dave Henderson <dave.henderson@grafana.com >
2024-08-16 14:08:19 -08:00
Brendan O'Handley
68f545210d
Prometheus: Fix label names select component when there are too many options ( #92026 )
...
* add more doc info for truncate function and how we use it
* truncate label names and allow users to search all labels on typing
* remove unused import
* handle labels select in variable query in addition with truncated list
2024-08-16 13:55:03 -05:00
Todd Treece
def8104e74
Aggregator: Prepare for new handlers ( #92030 )
2024-08-16 14:13:38 -04:00
Yuri Tseretyan
135f6571a9
Alerting: Update Time Interval service to support renaming of resources ( #91856 )
...
* add RenameTimeIntervalInNotificationSettings to storage
* update dependencies when the time interval is renamed
---------
Co-authored-by: William Wernert <william.wernert@grafana.com >
2024-08-16 20:55:03 +03:00
Drew Slobodnjak
3c5d799c8c
BarChart: Prevent label clipping at top ( #91990 )
...
* BarChart: Prevent label clipping at top
* Fix const issue
2024-08-16 09:29:25 -07:00
Lu Shueh Chou
126169f3ca
Alerting: Add LogicOr operation option ( #89258 )
...
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-08-16 11:02:14 -04:00
Irene Rodriguez
62abaea8f5
Capitalized list items under "With Explore Metrics, you can:" ( #91879 )
...
capitalised list items under "With Explore Metrics, you can:"
2024-08-16 09:01:53 -05:00
Isabella Siu
6000d6a1ad
ElasticSearch: Neaten up vars/consts ( #91989 )
...
ElasticSearch: neaten up vars/consts
2024-08-16 09:42:39 -04:00
Todd Treece
a12b372556
Plugins: Update missed ConversionHandler checks ( #92011 )
2024-08-16 16:10:32 +03:00
Joey
ca56f16615
Tempo: Improve performance of drop down in variable query editor ( #92010 )
...
Improve performance of drop down
2024-08-16 14:07:09 +01:00
Tobias Skarhed
b0031c0781
New Select: Set highlighted index to selected item on open ( #91951 )
...
* Set highlighted index on open
* Remove console log
* Use defaultHighLightedIndex
2024-08-16 14:47:39 +02:00
Ryan McKinley
f432a1713b
SQLTemplate: Swap the IFace with the concrete struct ( #92008 )
2024-08-16 15:12:37 +03:00
Ashley Harrison
32a5651e96
Chore: Remove breakpoints SCSS ( #91883 )
...
remove breakpoints mixins
2024-08-16 12:38:26 +01:00
Ryan McKinley
d9cabe5e14
SQL: Add sql template test helper ( #91953 )
2024-08-16 14:36:56 +03:00
Ieva
ac72098248
RBAC: Update access action set toggle stage ( #91976 )
...
update access action set toggle stage
2024-08-16 13:57:09 +03:00
Andres Martinez Gotor
5bf6ffc315
Change plugin install config syntax ( #91895 )
2024-08-16 09:44:47 +02:00
Brendan O'Handley
f01263803a
Prometheus: Add a limit for the series resource api in metrics browser ( #91555 )
...
* add a limit for the series resource api in metrics browser
* decouple serieslimit from options and only use in metrics browser
* add series limit input to metrics browser
* add warning
* add and fix tests
* add new param to jsdoc
* do not use the limit in other calls outside metrics browser
* update test
* trim limit
* fix tests, remove limit from non labels calls
2024-08-15 23:39:42 +03:00
Drew Slobodnjak
de0e6d0fce
PanelInspect: Handle field type frame for csv export ( #91983 )
...
PanelInspect: Handle field type frame
2024-08-15 13:15:49 -07:00
Todd Treece
e60b0aef83
Plugins: Add support for ResourceConversion ( #91977 )
2024-08-15 16:02:21 -04:00
owensmallwood
28f2a4078d
Unified Storage: Records grafana database metrics ( #91932 )
...
* records grafana database metrics for unified storage
* update type to tracing.Tracer
* use nil for tracer in tests
2024-08-15 11:13:36 -06:00
Lucy Chen
d8ae905758
Change Public Dashboard text in Enterprise Users section ( #91816 )
...
* update text
* update tooltip
* add conditionals
* add conditions
* add conditionals
* fix conditionals
2024-08-15 13:09:01 -04:00
Matias Chomicki
4751bf915a
Loki: Higlight search words in queries when using template variables ( #91949 )
...
* backendResultTransformer: use templateSrv to highlight search words from variables
* Add unit tests
* Formatting
* Fix import issues
* Update public/app/plugins/datasource/loki/backendResultTransformer.ts
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
* Refactor: use executedQueryString to get the interpolated query
* Remove unused imports
* Update public/app/plugins/datasource/loki/backendResultTransformer.test.ts
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
---------
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
2024-08-15 19:20:48 +03:00
Kristin Laemmert
c6ae2d7999
chore: add replDB to team service ( #91799 )
2024-08-15 12:19:38 -04:00
Fayzal Ghantiwala
e321dbb690
Alerting: Use remote Alertmanager to test templates and receivers when enabled ( #91570 )
...
* Initial impl
* Add code to test templates and receivers
* Fix linter
* Fix forked am tests
* Update mimir client
* Remove trailing whitespace
* re-trigger CI
2024-08-15 16:56:14 +01:00
Matthias Loibl
fbc195549f
Parca: Update supported version to v0.19+ ( #89826 )
...
* pkg/tsdb/parca: Upgrade to using the flamegraph arrow
* pkg/tsdb/parca: Delete code for old flamegraphs
* pkg/tsdb/parca: Fix golangci-lint error in test
* pkg/tsdb/parca: Handle errors nicely
* docs/sources/datasource: Add Parca v0.19+ support note
* pkg/tsdb/parca: Don't use arrow table reader
As pointed out during reviews, it's not really needed and we can read the record directly.
2024-08-15 17:31:03 +02:00
Abdessamad Enabih
530355d5db
Profile: Add tooltip to revoke session button ( #91858 )
...
* A11y: Buttons in profile/sessions do not provide tooltips
* Adressing PR comment for #91858
2024-08-15 18:24:38 +03:00
Matias Chomicki
40c6f741c0
Logs: Show older logs button when infinite scroll is enabled and sort order is descending ( #91060 )
...
* LogsNavigation: show older logs button when the order is descending
* LogsNavigation: adjust styles for showing only older logs button
* Logs Navigation: revert changes
* Infinite scroll: add older logs button
* Older logs button: show only in explore
* chore: add unit test
* Formatting
* Update public/app/features/logs/components/InfiniteScroll.test.tsx
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
* Chore: add missing translation
* Chore: move the button a tiny bit
---------
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
2024-08-15 18:17:47 +03:00
Santiago
f852bf684a
Alerting: Fix duplicated silences in remote primary mode bug ( #91902 )
...
* Alerting: Fix duplicated silences in remote primary mode bug
* test that a new silence id returned by calling CreateSilence() on the internal Alertmanager is ignored
2024-08-15 17:14:55 +02:00
Kyle Cunningham
f14fd5828a
Table panel: Improve cell inspector ( #91862 )
...
* Improve cell inspector
* Update types
* Prettier
* Type checking fixes
2024-08-15 22:04:36 +07:00
Alexander Zobnin
aaf33c7923
Zanzana: Migrate basic, fixed and custom roles ( #91814 )
...
* Zanzana: Migrate basic roles permissions
* add basic roles assignments
* refactor
* Sync basic roles permissions in all orgs
* migrate fixed roles
* map root folders to orgs
* fix basic role assignments in orgs
* migrate other roles
* migrate team roles assignments
* add notes about authorization schema
* don't migrate fixed roles
2024-08-15 16:13:27 +02:00
Kat Yang
4b0e8653f2
Refactor: Consolidate code for query generator ( #91415 )
...
* Refactor: Consolidate code for query generator
* Update public/app/features/trails/AutomaticMetricQueries/query-generators/default.ts
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
* fix: rename index.ts to getQueryGeneratorFor.ts to avoid barrel files
---------
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
2024-08-15 09:50:56 -04:00
Yuri Tseretyan
5834981f86
Alerting: Add GetTemplate to template service and update tests ( #91854 )
...
* add GetTemplate to template service
* refactor GetTemplates to fetch all provenances at once
* refactor tests
2024-08-15 09:17:48 -04:00
Mehrshad Lotfi
868f9320e9
CI: Fix missing vendor dependencies ( #91872 )
...
* Add missing dependency to Dockerfile
Add aggregator dependency to Dockerfile, fix the issue #91871 .
* Add defaults.ini to Dockerfile, add bash for alpine
2024-08-15 09:02:15 -04:00
Joao Silva
42efb14989
Bookmarks: Move building logic to the Frontend ( #91849 )
2024-08-15 13:35:20 +01:00
Mihai Doarna
d6e793b31e
SSO: Add server discovery URL on Generic OAuth config ( #91047 )
...
* add OpenID metadata URL field
* add i18n generated content
* configure server discovery URL in a modal
* remove getValues
* address feedback
* update field name to OpenID Connect Discovery URL
* add well-known suffix to the URL provided
* address feedback
* add isLoading state to ServerDiscoveryField
2024-08-15 15:00:25 +03:00
Ryan McKinley
a0cd89860e
Identity: Add endpoint to get display info for an identifier ( #91828 )
2024-08-15 14:38:43 +03:00
Alexander Akhmetov
c7fdf8ce70
Alerting: Add error to annotations on data source errors ( #91594 )
2024-08-15 12:34:50 +02:00
Karl Persson
5105fb7f3a
Identity: remove GetIDClaims ( #91901 )
...
remove GetIDClaims
2024-08-15 11:39:13 +02:00
Ashley Harrison
2ac247be88
Navigation: Fix scope dashboards selector with bodyScrolling ( #91892 )
...
* almost working
* add hook to get scopesDashboardsScene state
* check whether it's enabled when considering opened state
* add height to container
2024-08-15 09:58:26 +01:00
Todd Treece
d6ce6aaf44
Aggregation: Support apidiscovery.k8s.io/v2 ( #91938 )
2024-08-15 04:39:53 -04:00
grafana-delivery-bot[bot]
675a58b680
Release: Bump version to 11.3.0-pre ( #91863 )
...
* bump version 11.3.0-pre
* fix linters with: yarn run prettier:write
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Diego Augusto Molina <diegoaugustomolina@gmail.com >
2024-08-14 18:34:14 -03:00
Adela Almasan
f6b55ced6f
Canvas: Remove null data links ( #91859 )
2024-08-14 23:58:39 +03:00
grafana-delivery-bot[bot]
38957b32ab
Release: update changelog for 11.1.4 ( #91930 )
...
* Update changelog
* fix changelog
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Diego Augusto Molina <diegoaugustomolina@gmail.com >
2024-08-14 17:12:21 -03:00
Juan Cabanas
07500e11be
ShareExternally: Rename public dashboard section ( #91928 )
2024-08-14 17:03:19 -03:00
Alexander Weaver
34ab5fe1f3
Alerting: Restart rule routines if the type changes ( #90867 )
...
* Restart when types change
* Wire up test hooks correctly
* testing
2024-08-14 14:57:47 -05:00
Todd Treece
f158d52ae4
Aggregator: Rename DataServiceType to QueryServiceType ( #91929 )
2024-08-14 22:28:57 +03:00
Kyle Cunningham
40144eb3c8
Table: Fix edge case where text wrapping crashes on undefined header widths ( #91850 )
...
Make sure we don't read from header groups if it's undefined
2024-08-15 01:49:28 +07:00
grafana-delivery-bot[bot]
8c4da28d7c
Release: update changelog for 11.0.3 ( #91923 )
...
* Update changelog
* fix changelog
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Diego Augusto Molina <diegoaugustomolina@gmail.com >
2024-08-14 15:47:21 -03:00
Isabel Matwawana
3087eae71d
Docs: Add max logo size ( #91800 )
2024-08-14 13:53:09 -04:00
grafana-delivery-bot[bot]
648005e0bb
Release: update changelog for 10.4.7 ( #91908 )
...
* Update changelog
* fix changelog
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Diego Augusto Molina <diegoaugustomolina@gmail.com >
2024-08-14 14:47:57 -03:00
Pepe Cano
98a74d844e
Add grafana_state_reason section in State of alerts ( #91562 )
...
* Add `grafana_state_reason` section in State of alerts
* Minor edit for clarification
* Mention `Paused/RuleDeleted/Updated` states
2024-08-14 19:22:55 +02:00
Juan Cabanas
8a97143120
ShareDrawer: Share snapshot panel ( #90678 )
2024-08-14 13:15:47 -03:00
Kristina
7cc925d319
Query Library: Enable edit description ( #90009 )
...
* WIP
* Finish getting form to populate
* WIP API
* Get PUT to work although the edit doesnt apply yet
* Complete working PUT
* PATCH v1 no json patch
* This works!
* Fix headers to be configurable
* Fix translations
* Revert "This works!"
This reverts commit d57ffcbc4b .
# Conflicts:
# public/app/features/query-library/api/factory.ts
# public/app/features/query-library/api/query.ts
# public/app/features/query-library/types.ts
* Use normal method of patching 😅
* Replace add to library form with generic version
* make translations generic
* Rename function, fix bad conflict resolution
2024-08-14 10:11:53 -05:00
Todd Treece
da6b02a2b0
K8s: Add k8s codegen PR check ( #91903 )
2024-08-14 11:06:37 -04:00
Andres Martinez Gotor
44290ddf32
Adapt plugin page to preinstalled plugins ( #91874 )
2024-08-14 17:04:59 +02:00
Mihai Doarna
340af8cf6b
Docs: Update SAML docs after making the certificate/private key optional ( #91202 )
...
* update SAML docs after changing the certificate/private key to be optional
* fix link with example of how to generate saml credentials
* revert link
2024-08-14 18:02:57 +03:00
Bogdan Matei
b0dd3fb1a1
Scopes: Add extra-check for fetching dashboards ( #91896 )
2024-08-14 18:00:09 +03:00
Karl Persson
e9bb3b4d73
Annotations: only set userID if caller is a user or service account ( #91898 )
...
* Ignore errors when extracting current user id
* Only set userID if caller is user or service account
* Fix patch api
2024-08-14 16:07:15 +02:00
Torkel Ödegaard
db5d8f03b7
Drawer: Fixes incorrect mask background and flickering ( #91890 )
2024-08-14 16:04:35 +02:00
Juan Cabanas
b569c1610f
ShareDrawer: Share embed panel ( #90994 )
2024-08-14 10:49:10 -03:00
Andres Martinez Gotor
55381a3e77
Add check for update/uninstall of plugins ( #91889 )
2024-08-14 14:57:37 +02:00
Ieva
134b9f731f
RBAC: Hide root level folder creation button if the user doesn't have the right permissions ( #91502 )
...
* hide root level folder creation button if the user doesn't have the right permissions
* linting
2024-08-14 11:53:03 +01:00
Karl Persson
8d36111420
IDForwarding: Set identity type and uid ( #91830 )
...
* Set identity type and uid
* Set uid without prefix
* Update authlib version
* Update to new claim name
2024-08-14 10:51:44 +02:00
Yulia Shanyrova
d1b0e70f8d
Plugins: Remove cards and list display options functionality from plugin catalogue ( #91840 )
...
* remove displayMode functionality from plugin catalogue
* remove test for removed functionality
* fix linting
2024-08-14 10:24:10 +02:00
Ryan McKinley
427dad26a2
Swagger: Add a custom swagger/api page ( #91785 )
...
Co-authored-by: Kristian Bremberg <kristian.bremberg@grafana.com >
2024-08-14 09:03:00 +03:00
Todd Treece
dacf11b048
K8s: Fix hack/update-codegen ( #91867 )
2024-08-14 08:17:05 +03:00
David Allen
e90b272299
docs: add play link to explore metrics to demonstrate ( #91744 )
2024-08-13 16:16:50 -05:00
Todd Treece
1b0e6b5c09
K8s: Data Plane Aggregator ( #91228 )
2024-08-13 22:28:17 +03:00
Todd Treece
4ce82d3f14
Chore: Update k8s.io dependencies to v0.30.0 ( #91851 )
2024-08-13 14:01:48 -04:00
Matias Chomicki
699ff406c3
Logs panel: Enable displayedFields in dashboards and apps ( #91810 )
...
* LogsPanelCfg: add displayedFields
* LogsPanel: expose displayedFields
* Chore: add docs
* LogsPanel: add callbacks to external API
* LogsPanel: expose field callbacks and add default implementation
* chore: add unit test
* chore: unfocus test
* LogsPanel: add docs for new props
* Enable by default
2024-08-13 18:58:15 +03:00
Gilles De Mey
0a2db346ab
Alerting: use new Alertmanager update hooks for mute and active time intervals ( #91404 )
2024-08-13 17:38:40 +02:00
Yuri Tseretyan
7b919e3277
Alerting: MuteTimeService to support TimeInterval and MuteTimeInterval fields in Alertmanager config ( #91500 )
...
* update notification policy provisioing to consider time intervals
* change names of intervals to be in order
2024-08-13 11:37:21 -04:00
Leonor Oliveira
d52d04b6d8
Revert "Use dw dynamic config" ( #91846 )
...
Revert "Use dw dynamic config (#91222 )"
This reverts commit 0258842f87 .
2024-08-13 17:24:26 +02:00
Mihai Doarna
b4db8bb967
LDAP: Remove omitempty flag from json annotation ( #91843 )
...
* remove omitempty flag from json annotation
* fix unit test
2024-08-13 18:17:52 +03:00
Brendan O'Handley
e0b8a00e78
Prometheus: Histogram table format should keep le values as strings ( #91662 )
...
* remove le value parsing as numbers
* add tests
2024-08-13 10:06:53 -05:00
Yuri Tseretyan
db33df5041
Alerting: Template API to return errutil errors ( #91821 )
2024-08-13 10:59:19 -04:00
Andres Martinez Gotor
9067797eb4
Feature: Allow to install plugins through configuration ( #91790 )
2024-08-13 16:57:55 +02:00
Kim Nylander
b03a709500
[DOC] Update Tempo and Pyroscope data source doc ( #91704 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-08-13 10:39:55 -04:00
Joey
d779dfb0a2
Tempo: Select performance improvements ( #91732 )
...
* Tempo select performance improvements
* Update type
* Tidy up and simplify
* Update tagValueOptions
* Update GroupBy options
2024-08-13 15:24:58 +01:00
Joey
d72846790e
Tempo: Send the existing query with the request for a tags values ( #90931 )
...
* Send query with request
* Ensure number tag values are added to query correctly
* Update test
* Update test
2024-08-13 15:23:18 +01:00
Nathan Marrs
d817ee9b99
Docs: Add example to transpose transformation ( #91823 )
2024-08-13 10:22:56 -04:00
Bruno
90b44fdcbf
Cloud migrations: GetSnapshotList only returns snapshots that belong to a session that exists ( #91798 )
...
* Cloud migrations: GetSnapshotList only returns snapshots that belong to a session that exists
* Cloud migrations: test GetSnapshotList
* add one more test case for GetSnapshotList
* fix test
* store encryption key for testing
2024-08-13 09:57:53 -03:00
Gilles De Mey
e9e5989549
Alerting: Introduce useProduceNewAlertmanagerConfiguration ( #91623 )
...
useProduceNewAlertmanagerConfiguration
2024-08-13 14:34:38 +02:00
Tom Ratcliffe
8136fbef1f
Chore: Add capability for overriding local development behaviour using env vars ( #85603 )
2024-08-13 13:07:42 +01:00
Tom Ratcliffe
735954386f
Alerting: Consolidate contact points dropdown and add filter in alert rules ( #91690 )
...
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com >
Co-authored-by: Sonia Aguilar <soniaaguilarpeiron@gmail.com >
2024-08-13 12:56:13 +01:00
Alexander Akhmetov
149f02aebe
Alerting: Add rule_group label to grafana_alerting_rule_group_rules metric ( #88289 )
...
* Alerting: Add rule_group label to grafana_alerting_rule_group_rules metric (#62361 )
* Alerting: Delete rule group metrics when the rule group is deleted
This commit addresses the issue where the GroupRules metric (a GaugeVec)
keeps its value and is not deleted when an alert rule is removed from the rule registry.
Previously, when an alert rule with orgID=1 was active, the metric was:
grafana_alerting_rule_group_rules{org="1",state="active"} 1
However, after deleting this rule, subsequent calls to updateRulesMetrics
did not update the gauge value, causing the metric to incorrectly remain at 1.
The fix ensures that when updateRulesMetrics is called it
also deletes the group rule metrics with the corresponding label values if needed.
2024-08-13 13:27:23 +02:00
antonio
71b56dbb95
alerting tutorial: improve visibility of part 2 ( #91795 )
...
* alerting tutorial: improve visibility of part 2
* changed wording
* Update docs/sources/tutorials/alerting-get-started/index.md
Co-authored-by: Jay Clifford <45856600+Jayclifford345@users.noreply.github.com >
* applied suggestions
* fixed admon
* all pretty no pity
---------
Co-authored-by: Jay Clifford <45856600+Jayclifford345@users.noreply.github.com >
2024-08-13 11:06:51 +00:00
Jeff Levin
8961f392f0
add team_member index on user_id org_id ( #91819 )
...
This pr adds a composite index on on the team_member table on user_id and org_id
2024-08-13 13:58:00 +03:00
Alexander Akhmetov
b2eeb0dd6e
Alerting: update rule versions on folder move ( #88376 )
...
* Alerting: update rule versions on folder move (#88361 )
* Add tracing to folder.Move and folder.Update
2024-08-13 12:26:26 +02:00
Yulia Shanyrova
8044cb50f1
Plugins: Plugin details right panel is added. All the details were moved from thee top to the right panel ( #90325 )
...
* PluginDetailsRight panel is added. All the details were moved from the top to the right panel
* Add feature toggle pluginsDetailsRightPanel,Fix build, fix review comments
* Fix the typo
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com >
* hasAccessToExplore
* changes after review, add translations
* fix betterer
* fix betterer
* fix css error
* fix betterer
* fix translation labels, fix position of the right panel
* fix the build
* add condition to show updatedAt for plugin details
* add test to check 2 new fields at plugin details right panel;
* change the gap and remove report abuse button from core plugins
* add more tests
---------
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com >
2024-08-13 11:55:30 +02:00
David Harris
bac68069e0
chore: update issue template codeowners ( #90925 )
...
Adds myself as an additional codeowner for issue templates given the current reliance on ordering for links to request a new plugin from Grafana.
This may be a temporary solution prior to being able to raise the requests natively within Grafana.
2024-08-13 09:57:51 +01:00
Ana Ivanov
8467838bef
Navigation: Remove grafana-aws-app from Infrastructure navigation ( #91524 )
...
Remove grafana-aws-app from Infrastructure navigation
2024-08-13 11:54:30 +03:00
Karl Persson
8bcd9c2594
Identity: Remove typed id ( #91801 )
...
* Refactor identity struct to store type in separate field
* Update ResolveIdentity to take string representation of typedID
* Add IsIdentityType to requester interface
* Use IsIdentityType from interface
* Remove usage of TypedID
* Remote typedID struct
* fix GetInternalID
2024-08-13 10:18:28 +02:00
Leonor Oliveira
0258842f87
Use dw dynamic config ( #91222 )
...
* Remove kubernetesPlaylists feature_toggle
* Remove unified_storage_mode
* Remove double import
* Regenerate feature-toggles
* Read from config instead from feature_toggle
* cover scenario for when unified storage is not defined
2024-08-13 10:03:28 +02:00
Konrad Lalik
b67bcdb9b8
Alerting: Handle namespace and group query string params in Ruler API ( #91533 )
...
* Handle namespace and group query string params in Ruler API
* Use the new namespace and group query params when slashes in names
* Add validation, add group handling in GMA Api
* Move constants
* Use checkForPathSeparator function
* Fix linter issue
2024-08-13 08:31:07 +02:00
Sam Jewell
d54fdba322
Bump to go-duck v0.1.0 ( #91794 )
...
* Bump to go-duck v0.1.0
This fixed ordering of the columns
**What is this feature, why do we need it?**
See https://github.com/scottlepp/go-duck/pull/14 for a description of the improvement we're including here
**Who is this feature for?**
Anyone who uses SQL Expressions. This is still an experimental feature, and only used by a very small number of instances.
* Run `make update-workspace`
2024-08-12 16:00:10 -04:00
owensmallwood
8fb334cf77
Unified Storage: Adds back readme to resource store ( #91812 )
...
adds back readme to resource store
2024-08-12 13:48:14 -06:00
Isabel Matwawana
5e638b4af0
Docs: add playlist management permissions ( #91146 )
2024-08-12 10:53:02 -04:00
Andres Martinez Gotor
d342e76f63
Chore: Add skeleton for background plugin installer ( #91743 )
2024-08-12 16:39:31 +02:00
Fayzal Ghantiwala
25dbb32cea
Alerting: Vendor in latest grafana/alerting package ( #91786 )
...
* temp
* vendor
* Remove dead code
* Vendoring
2024-08-12 15:37:15 +01:00
Erik Sundell
2ed6ca360f
Extensions: e2e test usePluginComponent hook ( #91750 )
...
* add simple test apps that use usePluginComponent hook and exposeComponent api
* add e2e test
* update readme
* Update README.md
* fix lint issue
* pr feedback
2024-08-12 15:43:42 +02:00
Joao Silva
b9cece8f9e
Bookmarks: Create Bookmarks landing page ( #91538 )
2024-08-12 14:31:01 +01:00
Joey
d00b4879d2
Tempo: Simplify span filters logic and fix regex for tag only search ( #90819 )
...
Simplify span filters logic and fix regex for tag only search
2024-08-12 14:15:06 +01:00
Joey
379249fc60
Tempo: Tidy up and organise ( #90649 )
...
* Move test files to folder
* Update paths
* Tidy up
2024-08-12 14:12:22 +01:00
Domas
6dce2ecbde
Sparkline: Support spanNulls graph config prop ( #91797 )
...
support spanNulls config prop for sparkline
2024-08-12 15:36:52 +03:00
Vijay Samuel
c9ddc688a2
Prometheus: Add support to make parallel queries ( #90316 )
...
* Add support for prometheus datasource to make parallel queries
* Incorporate review comments
* Update pkg/promlib/querydata/request.go
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
* Fix lint
* Add parallel queries behind feature flag
* Fixing lint issue
* Update go.mod
* Update pkg/promlib/querydata/request.go
* Update pkg/promlib/querydata/request.go
---------
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
Co-authored-by: Charandas <542168+charandas@users.noreply.github.com >
2024-08-12 14:31:39 +02:00
Ashley Harrison
369cd6f81e
Chore: Migrate dashboard_grid styles to emotion ( #91673 )
...
migrate dashboard grid styles to emotion
2024-08-12 13:22:14 +01:00
grafana-pr-automation[bot]
32e4ea3b3c
I18n: Download translations from Crowdin ( #91796 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-12 15:21:20 +03:00
Ashley Harrison
dface46474
Chore: Migrate gf-form classes to emotion globals ( #91632 )
...
* migrate gf-form classes to emotion globals
* should be sm due to the different way the breakpoints work
2024-08-12 13:16:16 +01:00
Ashley Harrison
78f78753c7
Chore: Migrate Modal SCSS styles to emotion ( #91569 )
...
migrate modal scss styles to emotion
2024-08-12 12:55:22 +01:00
Gilles De Mey
add99fb3d0
Alerting: Add basic support for active_time_intervals ( #91710 )
2024-08-12 14:51:12 +03:00
Santiago
5487ea444a
Alerting: Update remote Alertmanager config marshalling in test ( #91791 )
2024-08-12 13:45:22 +02:00
Gilles De Mey
f11d6ebcd0
Alerting: Update contact points list and mute timings list on update ( #91776 )
...
make sure that contact points list and mute timings list are updated when we update the alertmanager configuration
2024-08-12 13:37:17 +02:00
Bogdan Matei
3303900c09
Scopes: Lift scopes at global level ( #90136 )
2024-08-12 14:11:50 +03:00
Gilles De Mey
15f2b08f00
Alerting: Catch alert rule search exceptions ( #91788 )
...
catch search exceptions and prevent from bubbling
2024-08-12 12:13:26 +02:00
Andreas Christou
82d051f336
AzureMonitor: Mark Azure Prometheus exemplars as public preview ( #91674 )
...
Mark Azure Prom exemplars as public preview
2024-08-12 11:11:45 +01:00
Ieva
6e7bc028d0
RBCA: Better separation between action set svc and store ( #91491 )
...
better separation between action set svc and store
2024-08-12 10:07:33 +01:00
Ieva
5bae9f11bc
Docs: Add docs for bulk updating team members ( #91499 )
...
add docs for bulk updating team members
2024-08-12 09:58:55 +01:00
Ashley Harrison
ab3e8652aa
Adhoc Filters: add new feature toggle for 'one of' operator ( #91688 )
...
add new feature toggle for 'one of'
2024-08-12 09:56:42 +01:00
Karl Persson
7f1ae1cd54
Identity: Update authlib to version that has correct commit to claims ( #91784 )
...
* Update authlib to version that has correct commit to claims
2024-08-12 09:39:48 +02:00
Ryan McKinley
e106df6d0b
Auth: Update unified storage to depend on AuthInfo rather than Requester ( #91783 )
...
depend on authlib user info
2024-08-12 09:49:34 +03:00
Ryan McKinley
21d4a4f49e
Auth: use IdentityType from authlib ( #91763 )
2024-08-12 09:26:53 +03:00
ismail simsek
faf7cb9312
Chore: Refactor explore metrics layout switcher and breakdown scene ( #90944 )
...
* refactor breakdown scene
* refactor BreakdownScene along with LayoutSwitcher
* rename
* don't pass default layout
* better type handling
* betterer
2024-08-11 23:48:36 +02:00
ismail simsek
b8ebc5d463
Chore: Update lezer package of prometheus frontend ( #91252 )
...
* update lezer package
* Use UnquotedLabelMatcher instead of LabelMatcher
* Use UnquotedLabelMatcher instead of LabelMatcher in parsing.ts
2024-08-11 23:48:04 +02:00
Todd Treece
75f0b3a228
K8s: Test for changes to aggregator's postStartHooks ( #91771 )
2024-08-10 20:32:57 -04:00
Jmdane
8bb548e17b
Transformations: Add 'transpose' transform ( #88963 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2024-08-10 02:57:26 +03:00
Taewoo K.
ec7a247674
feat: Add atlassian statuspage ( #91769 )
...
* add atlassian statuspage
* fix test
2024-08-10 01:48:31 +03:00
Todd Treece
5972dd0b59
Chore: Update names of DisabledPostStartHooks ( #91767 )
2024-08-09 16:57:08 -04:00
Mitch Seaman
8525943699
Docs: add Zoom to Reporting docs ( #90219 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-08-09 16:28:39 -04:00
Todd Treece
30c3f5b66a
Chore: Revert drone go workspace change to tests ( #91762 )
2024-08-09 21:03:26 +03:00
Andreas Christou
24c9aad5bb
Bump grafana-azure-sdk-go and related dependencies ( #91124 )
...
* Bump Azure SDK and related dependencies
* Update go.mods
* update-workspace
* Update go files
2024-08-09 13:12:19 -04:00
Andreas Christou
ee18c64453
OpenTSDB: Fix test ( #91761 )
...
Fix test
2024-08-09 19:53:04 +03:00
Ryan McKinley
243c0935fc
Auth: Use claims.AuthInfo in requester ( #91739 )
2024-08-09 19:46:56 +03:00
Andreas Christou
d52626be3f
AzureMonitor: Add authproxy as supported user auth method ( #91754 )
...
Add authproxy as supported user auth method
2024-08-09 17:18:46 +01:00
Andreas Christou
06509712ec
OpenTSDB: Fix data frame construction ( #90991 )
...
* Update type and frame construction
* Update tests
* Keep dataField name as value
2024-08-09 17:16:29 +01:00
Yuri Tseretyan
1108a00668
Alerting: Support for optimistic concurrency in priovisioning Tempate API ( #91195 )
...
* support optimistic concurrency in template service
* update request handler to get version from query parameter
* return not found if a new template is set with version
* update PUT api to set version
* update documentation + for mute timings
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-08-09 11:40:07 -04:00
Isabel Matwawana
d20510a1db
Docs: added pagination information for state timeline ( #91749 )
2024-08-09 11:32:16 -04:00
Agni Bhattacharyya
be32630de5
Auth: Skip email extraction when api url is not present ( #91699 )
...
* Auth: Skip email extraction when api url is not present
* fix lint: reduce cyclomatic complexity
2024-08-09 18:20:54 +03:00
Karl Persson
bcfb66b416
Identity: remove GetTypedID ( #91745 )
2024-08-09 18:20:24 +03:00
Todd Treece
6061fdc8b9
Chore: Fix requires_buildifier typo ( #91747 )
2024-08-09 11:00:05 -04:00
Michael Mandrus
eee3a75b8b
CloudMigrations: Misc cleanup before codefreeze ( #91725 )
...
* fix retry logic
* slight adjustments
* fix disconnect and connect events
* Update pkg/services/cloudmigration/cloudmigrationimpl/snapshot_mgmt.go
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
---------
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
2024-08-09 17:38:08 +03:00
Todd Treece
13703de67e
Chore: Update tests to use go-workspace script ( #91746 )
2024-08-09 10:25:27 -04:00
Todd Treece
27545e3da4
Chore: Use golanglint-ci-includes script in Makefile ( #91742 )
2024-08-09 10:05:02 -04:00
lean.dev
e20c7342a9
CloudMigration: Removes snapshot and resources when deleting a session ( #91548 )
2024-08-09 16:42:45 +03:00
Alexander Zobnin
1cc438a56c
Zanzana: Evaluate dashboard and folder permissions ( #91539 )
...
* Zanzana: basic folder permissions checks
* Fix managed permissions for teams
* fix sync batch size
* add dashboards actions translations
* migrate folder tree
* migrate dashboard folders
* remove action sets from schema
* Adding more dashboard and folder-related permissions
* refactor
* Correctly translate dashboard permissions in folders
* fix dashboard parent permissions
2024-08-09 13:48:56 +02:00
Ivan Ortega Alba
423d198d77
Scenes: Upgrade to v5.7.4 ( #91741 )
2024-08-09 14:27:08 +03:00
grafana-pr-automation[bot]
0077dd09ae
I18n: Download translations from Crowdin ( #91737 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-09 13:19:40 +03:00
Todd Treece
122e291134
Chore: Add dataplaneAggregator feature toggle ( #91715 )
2024-08-09 04:41:07 -04:00
Todd Treece
c5c206d8a6
Semconv: Add k8s.dataplaneservice.name ( #91714 )
2024-08-09 04:39:37 -04:00
Kevin Putera
01fc31069f
StateTimeline: Add pagination support ( #89586 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2024-08-08 21:44:17 -05:00
Todd Treece
970a6e71ba
Chore: Fix go workspace update script ( #91720 )
2024-08-09 02:39:02 +03:00
Alexander Akhmetov
f4d2e064f4
Fix links to the What's new page in the PR template ( #91672 )
2024-08-08 23:32:37 +02:00
Todd Treece
7f155b2b6f
Chore: Add go workspace scripts ( #91707 )
2024-08-08 16:51:17 -04:00
Kristin Laemmert
54177ca619
experiment: use read replica for Get and Find Dashboards ( #91706 )
2024-08-08 14:22:55 -04:00
Todd Treece
f463d622d0
Chore: Remove depguard rule skip in apiserver ( #91705 )
2024-08-08 21:11:13 +03:00
Kristin Laemmert
299c142f6a
QuotaService: refactor to use ReplDB for Get queries ( #91333 )
...
* Feature (quota service): Use ReplDB for quota service Gets
This adds the replDB to the quota service, as well as some more test helper functions to simplify updating tests. My intent is that the helper functions can be removed when this is fully rolled out (or not) and we're consistently using the ReplDB interface (or not!)
* test updates
2024-08-08 13:41:33 -04:00
Nathan Marrs
787abccfbc
Canvas: Fix selection box glitch when adding certain elements ( #91654 )
...
* fix selecto glitch when adding certain elements
* minor doc updates
2024-08-08 09:42:24 -07:00