Commit Graph

53456 Commits

Author SHA1 Message Date
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