Commit Graph

33940 Commits

Author SHA1 Message Date
Gabriel MABILLE
74b441536d
ServiceAccount: fix writer role version (#46540) 2022-03-14 17:35:39 +01:00
renovate[bot]
9546523f41
Update dependency @react-aria/button to v3.4.2 (#45452)
* Update dependency @react-aria/button to v3.4.2

* Use type assertions

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-03-14 16:31:55 +00:00
Karl Persson
544b6ab736
Access control: Add logs to access control dashboard guardian (#46534)
* Add logs to access control dashboard guardian

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2022-03-14 17:12:09 +01:00
Karl Persson
8688073564
Access control: Support filter on several actions (#46524)
* Add support for several actions when creating a acccess control sql
filter
2022-03-14 17:11:21 +01:00
Yuriy Tseretyan
9465eb1b3a
Folder store (#46431)
* create FolderStore
* update usages to provide context
* implement methods to get folder by ID and UID
* update folder service to use store methods
2022-03-14 11:21:42 -04:00
Yaelle Chaudy
0b0d612372
A11y : Fix option panes not accessible when collapsed (#46405)
* Turned div into text button to make it accessible

* Only icon as button to avoid embedded buttons with overrides delete button

* use icon in Button directly

* Removed unused import

* moving id for labelledBy to h6 elem instead of icon

* Tweaking style, bigger caret

* Fixed aria-expanded

* Modifying and using CollapseToggle from unified alerting

* Added restOfProps to CollapseToggle
2022-03-14 15:37:13 +01:00
Konrad Lalik
2409405c34
Alerting: Integrate alerts with folders (#45763)
* Add Alert rules tab

* Add pagination and a simple name-based filtering

* Add name and label based filtering

* Improve pagination, handle the no results case

* Add tests for alerts folder view

* Add label filtering by clicking a tag

* Add tests for matcher to string method

* Add sorting, improve styles

* Use simple Select component for sorting

* Update default page size

* Remove unused code

* Use existingc thunk

* chore: update swagger spec

* Revert "chore: update swagger spec"

This reverts commit ee79ec7341.

* Code cleanup

* Fix ts

Co-authored-by: gillesdemey <gilles.de.mey@gmail.com>
2022-03-14 15:21:29 +01:00
Jguer
e512029afb
ServiceAccounts: lowercase edit url (#46517) 2022-03-14 14:22:54 +01:00
Todd Treece
cf9f76319a
DevEnv: Enable remote write for prometheus (#46256) 2022-03-14 09:18:33 -04:00
renovate[bot]
fa31508b93
Update dependency rc-cascader to v3.3.1 (#46407)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-14 10:55:23 +00:00
renovate[bot]
10462bb124
Update dependency @react-aria/overlays to v3.8.0 (#46307)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-14 10:52:52 +00:00
gotjosh
a75d4fcbd8
Alerting: Display query from grafana-managed alert rules on /api/v1/rules (#45969)
* Aleting: Extract query from alerting rule model for api/v1/rules

* more changes and fixtures

* appease the linter
2022-03-14 10:39:20 +00:00
Joey Tawadrous
ecf84be65a
Added margin right to space out previously squashed labels and values (#46284) 2022-03-12 14:57:36 +00:00
Jens Oliver Meiert
c649b54ed2
docs: make case consistent (#46436)
(Other headings use sentence case)
2022-03-11 22:03:45 +01:00
renovate[bot]
6db4b54ab0
Update dependency selecto to v1.15.0 (#46459)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-11 20:32:58 +00:00
renovate[bot]
e8496bc433
Update dependency eslint-plugin-jsdoc to v38 (#46468)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-11 20:32:11 +00:00
Zoltán Bedi
91265e6c8e
Bump publish docs node version (#46475) 2022-03-11 21:28:12 +01:00
Artur Wierzbicki
5881127319
Storage: fix filestorage.Wrapper PathFiltering and non-recursive folder listing (#46469)
* fix pathFilters in wrapper - apply rootPath changes before filtering

* fix non-recursive folder listing
2022-03-11 23:16:46 +04:00
Artur Wierzbicki
ed924b3d0c
Storage: list filtering and root folder support (#46453)
* git the things: FS api internal changes

* remove filestorage/service.go

* remove filestore flag

* remove dummy fs

* readd fileblob import
2022-03-11 22:08:19 +04:00
Dimitris Sotirakis
a29159f362
Update golang (#46458) 2022-03-11 16:09:17 +01:00
Dimitris Sotirakis
82b436afee
CI: Add more checks to standalone docs pipeline (#46449)
* Add build frontend package step

* Reorder dependencies

* Add codespell and prettier checks
2022-03-11 16:48:23 +02:00
Torkel Ödegaard
cb0b089d32
Gauge: Fixes blank viz when data link is added and orientation was horizontal (#46335) 2022-03-11 11:48:20 +01:00
matt abrams
52c9da1b11
A11y: add copy button to API Key modal (#46387)
* add copy button to API Key modal

* switch to inline button style

* update test snapshot
2022-03-11 11:10:27 +01:00
matt abrams
ec84b7bd23
A11y: Make the Library Panel "clear filter" buttons accessible (#46341)
* swap span for button + add aria-label

* swap span for button + add aria-label

* add new style + increase padding

* fix typo

* switch to link variant + trim custom css
2022-03-11 11:10:13 +01:00
Jack Westbrook
73ba04cda6
Build: Bump grabpl to 2.9.24 (#46420) 2022-03-11 11:05:41 +01:00
Gabriel MABILLE
bd918927b4
Accesscontrol: fix data source name resolver and add uid name resolver (#46409)
* Fix data source scope resolver

* Adding ds UID scope resolver

* Register UID resolver

* use package full name

* even if it cannot be empty as of now and is also checked by store, better safe than sorry
2022-03-11 08:50:04 +01:00
Marcus Efraimsson
6c7d326499
Plugins: Refactor GetPluginDashboards/LoadPluginDashboard (#46316)
Refactors GetPluginDashboards/LoadPluginDashboard by moving database 
interaction from plugin management to the plugindashboards service.

Fixes #44553

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2022-03-10 18:38:04 +01:00
Yuriy Tseretyan
d076cabb60
Folder name scope resolver (#46380)
* move dashboard store mock to parent package to avoid cycle of dependencies
* add scope resolver for folders that resolves names to id
2022-03-10 12:19:50 -05:00
Marcus Efraimsson
5a5def6de7
Docs: Fix formatting of docs file (#46419) 2022-03-10 17:36:23 +01:00
Andrej Ocenas
b3f8079f4f
Prometheus: Add title to metrics in the metric select with metric help text (#46406)
* Add title to metrics in the select

* Add some comments

* Fix tests
2022-03-10 16:58:25 +01:00
renovate[bot]
146745b3bb
Update dependency selecto to v1.14.0 (#46381)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-10 16:42:04 +01:00
Connor Lindsey
2fa154d33f
Tempo: Add search info to tempo docs (#46190)
* Add search info to tempo docs

* Apply suggestions from code review

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2022-03-10 10:14:31 -05:00
Kyle Brandt
cab509fbe8
SSE: Keep FieldConfig for data source queries (#46328)
for #46325
2022-03-10 10:03:26 -05:00
achatterjee-grafana
3d5ebba0c2
Removed extra word. (#46386) 2022-03-10 09:30:59 -05:00
Giordano Ricci
8b9e27c4ba
Card: make elements in metadata clickable (#46336)
* Card: make elements in metadata clickable

* add docs
2022-03-10 13:52:34 +00:00
Karl Persson
52decfaebc
Access control: Move call to create default permissions into folder and dashboard service (#46186)
* Move call to create permissions into folder service

* Inject cfg, feature toggles and permissions services into dashboard
service

* Move logic to set default permissions on create dashboard from api to
service

* Move call to set default permissions on import dashboard to dashboard
service

* Set permissions for provisioned dashboard and folders in service
2022-03-10 12:58:18 +01:00
Torkel Ödegaard
a327c4d7d6
Docs: Fix formatting of docs file (#46402) 2022-03-10 10:28:16 +01:00
Torkel Ödegaard
c952c9c90a
Loki: Adds more options to make line filter UX better (#46324)
* Loki: Adds more options to make line filter UX better

* Sync wording

* Tweak width

* More tweaks

* Added descriptions as well
2022-03-10 10:12:54 +01:00
Torkel Ödegaard
806b0e3b23
Prometheus/Loki: Improve operations header UX (#46346)
* Prometheus/Loki: Improve operations header UX

* More tweaks

* Rename file to match compponent
2022-03-10 09:38:53 +01:00
Yaelle Chaudy
9fc9708ba5
Fixed new variable button keyboard clickable (#46293) 2022-03-09 20:35:53 +01:00
achatterjee-grafana
f19594e8ff
update exemplars and azure authentication topics. (#46382) 2022-03-09 13:54:13 -05:00
gotjosh
8d4a0a0396
Alerting: Include annotations in prometheus Alert response. (#45970)
* Alerting: Include annotations in prometheus Alert response.

* add tests

* re-order depedencies
2022-03-09 18:20:29 +00:00
gotjosh
b1e6f7126a
Logging: Helper to create NopLogger (#46376) 2022-03-09 17:03:58 +00:00
Yuriy Tseretyan
314be36a7c
Move datasource scopes and actions to access control package (#46334)
* create scope provider
* move datasource actions and scopes to datasource package + add provider
* change usages to use datasource scopes and update data source name resolver to use provider
* move folder permissions to dashboard package and update usages
2022-03-09 11:57:50 -05:00
Erik Sundell
6670257c5e
CloudWatch: Use default http client from aws-sdk-go (#46370)
* use default http client from aws-sdk-go

* temp comment out line and link to issue
2022-03-09 16:29:10 +01:00
Jack Westbrook
e2a283b6b9
Chore: Fix failing lerna publish commands (#46359) 2022-03-09 15:29:11 +01:00
jcolladokuri
ce543037f1
Azure Monitor: Add 2 more Curated Dashboards for VM Insights (#45187)
Some fixes to the App Insights Curated Dashboard for Azure Monitor as well.
2022-03-09 09:02:59 -05:00
Joao Silva
4b57ffbb4f
A11y: Replace LinkButton with Button in Value Mappings to make it accessible (#46330) 2022-03-09 14:01:24 +00:00
Selene
53799973f0
Documentation: Add using mock explanation for testing (#46360)
* Add using mock explanation for testing

* Update information of how to add go:generate in code

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2022-03-09 14:08:55 +01:00
renovate[bot]
9fc6ee2535
Update Yarn to v3.2.0 (#45714)
* Update Yarn to v3.2.0

* Update sdks as well

* Update nodejs to latest

* Updates

* Update grabpl to 2.9.23

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2022-03-09 10:10:51 +01:00