Gabriel MABILLE
14bee49f9a
AccessControl: Compute metadata from context permissions ( #45578 )
...
* AccessControl: Compute metadata from context permissions
* Remove nil
Co-authored-by: Jguer <joao.guerreiro@grafana.com>
* Check user permissions are set
Co-authored-by: Jguer <joao.guerreiro@grafana.com>
2022-02-18 11:27:00 +01:00
renovate[bot]
a5fd35691b
Update dependency @react-types/menu to v3.5.1 ( #45588 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-18 10:22:08 +00:00
renovate[bot]
f6780d8861
Update dependency lru-cache to v7 ( #45074 )
...
* Update dependency lru-cache to v7
* Make latest lru cache work
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2022-02-18 10:23:06 +01:00
Szymon Szypulski
929d8a358f
Cloudwatch: Add support for AWS/PrivateLink* metrics and dimensions ( #45515 )
...
Add support for AWS/PrivateLink{Endpoints,Interfaces} metrics and
dimensions. Change is based on the official AWS documentation[1].
1. https://docs.aws.amazon.com/vpc/latest/privatelink/privatelink-cloudwatch-metrics.html
2022-02-18 10:21:17 +01:00
Gabriel MABILLE
7c41cd15d7
Chore: Remove devenv link ( #45583 )
2022-02-18 09:44:18 +01:00
Kat Yang
0eb37c08bd
Chore: Add sqlstore dashboard methods to store and mockstore ( #45567 )
2022-02-18 09:37:49 +01:00
Agnès Toulet
478efffce7
Data source insights: Switch from ID to UID ( #45532 )
2022-02-18 09:19:39 +01:00
Hugo Häggmark
dbec2b02fd
Variables: move state tree into a keyed state ( #44642 )
...
* Variables: move state tree into a keyed state
* Update public/app/features/variables/state/transactionReducer.ts
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
* Chore: fix prettier error
* Chore: renamed slices and lastUid
* Chore: rename toUidAction
* Chore: rename dashboardVariableReducer
* Chore: rename state prop back to templating
* Chore renames variable.dashboardUid
* Chore: rename toDashboardVariableIdentifier
* Chore: rename getDashboardVariable
* Chore: rename getDashboardVariablesState
* Chore: rename getDashboardVariables
* Chore: some more renames
* Chore: small clean up
* Chore: small rename
* Chore: removes unused function
* Chore: rename VariableModel.stateKey
* Chore: rename KeyedVariableIdentifier.stateKey
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
Co-authored-by: kay delaney <kay@grafana.com>
Co-authored-by: Alexandra Vargas <alexa1866@gmail.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-02-18 06:06:04 +01:00
Santiago
a9de33601c
make send_alerts_to field nullable ( #45572 )
...
* make send_alerts_to field nullable
* set nullable to true since we have a default value
2022-02-18 01:45:34 -03:00
Kyle Cunningham
7a619cbe4e
Hide Barchart Value Labels for Automatic Display When Overlapping ( #44809 )
...
* Implement skip list for hiding value labels when Auto is selected
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2022-02-17 14:07:50 -06:00
achatterjee-grafana
e29c38ae27
Added correct format. ( #45562 )
2022-02-17 15:03:34 -05:00
achatterjee-grafana
912464a073
Docs: Update 8.4 What's New ( #45547 )
...
* replace * with
* Ran prettier check
* Revert "Ran prettier check"
This reverts commit 32be986af8
.
* Ran prettier check again.
* Added backticks.
2022-02-17 14:00:22 -05:00
Sarah Zinger
85753afdf0
Cloudwatch: Fix bug with onblur in Metric Search ( #45488 )
2022-02-17 12:53:42 -05:00
Cat Perry
fcd85951a7
Tempo: Switch out Select with AsyncSelect component to get loading state in Tempo Search ( #45110 )
...
* Replace Select with AsyncSelect to get loading state
2022-02-17 09:18:25 -08:00
Andrej Ocenas
4fcbfab711
Udpate latest.json ( #45548 )
2022-02-17 17:43:30 +01:00
Stephanie Closson
abe32b9521
Implement PromQL Functions in new query editor ( #45431 )
...
* adding functions for prometheus queries
* WIP: functions added. Just categorizing them and testing each function out
* WIP: testing functions
* WIP verifying other functions
* Functions added and classified
* added tests
* moved bottomk to aggregations module
* added tests to the PromQueryModeller
* code review comments. Made range renderer common with code
* removed duplicate functions
* updated comments
2022-02-17 12:39:41 -04:00
Karl Persson
f42c830b3c
Inject dashboard provisioning service instead of store ( #45533 )
2022-02-17 17:18:19 +01:00
Ryan McKinley
bbddab0294
Chore: refactor core transformer folder structure ( #45497 )
2022-02-17 08:12:38 -08:00
Kat Yang
d3ae8939af
Chore: Remove x from health, alert notification, dashboard, stats, user ( #45265 )
...
* Chore: Remove x from health
* Chore: Remove x from dashboard and user
* Chore: Remove x from alert notification
* Chore: Remove x from stats
* Fix: Update func signature in stats test
* Refactor: Remove x from GetDashboardTags
* Chore: Remove x from dashboard
* Chore: Remove x from Stats
* Fix: Update refs of HasAdminPermissionInFolders
* Fix: Adjust funcs in tests to be sqlStore methods
* Fix: Fix database folder test sqlstore methods
2022-02-17 16:59:09 +01:00
Todd Treece
c8bb01d1ad
Expressions: Add support for variables ( #41778 )
2022-02-17 10:50:22 -05:00
achatterjee-grafana
42e547d27f
Docs: Updated 8.4 What's New ( #45535 )
...
* replaced * with
* Ran prettier check.
2022-02-17 10:44:03 -05:00
Connor Lindsey
6e07b30048
Chore: Clean up logs and deprecated library in tracing tests ( #45486 )
...
* Fix logs and errors from tracing tests
* Refactor SpanBar to remove recompose
* Fix NodeGraph tests
2022-02-17 16:34:16 +01:00
Grot (@grafanabot)
23144fbcad
ReleaseNotes: Updated changelog and release notes for 8.4.0 ( #45531 )
...
* ReleaseNotes: Updated changelog and release notes for 8.4.0
* Apply suggestions from code review
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
2022-02-17 16:28:49 +01:00
Robby Milo
846842eb99
Update README.md ( #43358 )
2022-02-17 14:27:15 +00:00
Sofia Papagiannaki
17dee4700c
SQLStore: Fix migrator locking test for SQLite ( #45523 )
...
* SQLStore: Fix migrator locking test for SQLite
2022-02-17 16:12:44 +02:00
Isabella Siu
dac2b7ef73
Cloudwatch: Fix resource variables ( #45496 )
2022-02-17 09:04:59 -05:00
J Guerreiro
42d21e1af5
ServiceAccounts: Use http library for status codes ( #45525 )
2022-02-17 15:00:56 +01:00
Kristina
773da0e330
Explore: Add t * keybindings to change time range ( #45020 )
...
* Add keybindings to explore, allow override of dashboard model update for explore update
* Remove edits to Dashboard Model, add definition when url params should be updated
* Add tests
* Add and expose util function instead of bringing in unrelated library do not define explicit path to library file
* Use more generic model for TimeSrv
* Remove url utility functions, use javascript function instead
* Break out TimeModel into new type and bring it in
* condense object creation
2022-02-17 07:39:02 -06:00
Dimitris Sotirakis
af1691dbfb
Update grabpl ( #45520 )
2022-02-17 14:26:38 +01:00
Agnès Toulet
8835020457
Feature Highlights: add RS event for nav items ( #45470 )
2022-02-17 14:20:37 +01:00
Zoltán Bedi
815ccb1a03
Chore: Fix Debug Jest test command for vscode ( #45420 )
2022-02-17 14:18:09 +01:00
Gabriel MABILLE
47e248ceab
AccessControl: Remove permissions on data source delete ( #45504 )
...
* AccessControl: Remove permissions on datasource delete
* Ensure legacy behavior is preserved
2022-02-17 14:06:34 +01:00
Karl Persson
cdc08105c2
Access control: Set default permissions for data sources when using access control ( #45482 )
...
* Rename interfaces and use then with wire injection
* Set default permissions when creating new data source
2022-02-17 14:03:45 +01:00
J Guerreiro
8afd5d54f7
Service Account detailed edit ( #45404 )
...
* ServiceAccounts: Update service account route
* ServiceAccounts: Update service account tests
* ServiceAccounts: remove extraneous file
2022-02-17 12:19:58 +00:00
renovate[bot]
9275e88969
Update dependency @babel/plugin-proposal-object-rest-spread to v7.17.3 ( #45451 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-17 11:47:59 +00:00
Peter Holmberg
0502a84922
Alerting: Add choice to external alertmanagers ( #45157 )
...
* implement alertmanagersChoice
* return empty array and remove non null assertion
2022-02-17 12:47:38 +01:00
renovate[bot]
52d4e2ddcc
Update dependency axios to v0.26.0 ( #45355 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-17 11:47:07 +00:00
Torkel Ödegaard
7bc12629fd
Prometheus: Fixing state timing issues ( #45458 )
2022-02-17 11:41:05 +01:00
Ivana Huckova
123f095536
Docs: Update log level information and add tip ( #45411 )
...
* Docs: Update conent for log level
* Add tip
2022-02-17 10:04:15 +01:00
Artur Wierzbicki
3e53a08090
#44449 : hide dashboard preview admin UI ( #45493 )
2022-02-17 12:34:07 +04:00
ying-jeanne
10b47480eb
add dashboardsnap as service of http server ( #45461 )
2022-02-17 09:31:26 +01:00
Ryan McKinley
bb86ba99ee
Heatmap: new panel based based on uPlot ( #44080 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2022-02-16 14:49:17 -08:00
Ryan McKinley
685ec5383e
Chore: avoid pointer events in viz tooltip ( #45492 )
2022-02-16 13:52:39 -08:00
Isabella Siu
50a53ef58b
CloudWatch: replace metricFindQueries with CallResourceHandler ( #41571 )
2022-02-16 14:28:26 -05:00
idafurjes
b01a56c2b7
Fix alerting methods using AlertNotificationService ( #45477 )
2022-02-16 18:54:29 +01:00
Artur Wierzbicki
6c76aa71e8
Previews: capability check ( #44601 )
...
* add SQL migrations
* dashboard previews from sql: poc
* added todos
* refactor: use the same enums where possible
* use useEffect, always return json
* added todo
* refactor + delete files after use
* refactor + fix manual thumbnail upload
* refactor: move all interactions with sqlStore to thumbnail repo
* refactor: remove file operations in thumb crawler/service
* refactor: fix dashboard_thumbs sql store
* refactor: extracted thumbnail fetching/updating to a hook
* refactor: store thumbnails in redux store
* refactor: store thumbnails in redux store
* refactor: private'd repo methods
* removed redux storage, saving images as blobs
* allow for configurable rendering timeouts
* added 1) query for dashboards with stale thumbnails, 2) command for marking thumbnails as stale
* use sql-based queue in crawler
* ui for marking thumbnails as stale
* replaced `stale` boolean prop with `state` enum
* introduce rendering session
* compilation errors
* fix crawler stop button
* rename thumbnail state frozen to locked
* #44449 : fix merge conflicts
* #44449 : remove thumb methods from `Store` interface
* #44449 : clean filepath, defer file closing
* #44449 : fix rendering.Theme cyclic import
* #44449 : linting
* #44449 : linting
* #44449 : mutex'd crawlerStatus access
* #44449 : added integration tests for `sqlstore.dashboard_thumbs`
* #44449 : added comments to explain the `ThumbnailState` enum
* #44449 : use os.ReadFile rather then os.Open
* #44449 : always enable dashboardPreviews feature during integration tests
* #44449 : add /previews/system-requirements API
* #44449 : remove sleep time, adjust number of threads
* #44449 : review fix: add `orgId` to `DashboardThumbnailMeta`
* #44449 : review fix: automatic parsing of thumbnailState
* #44449 : update returned json
* #44449 : UI changes - dashboard previews sytem req check
* #44449 : lint fixes
* #44449 : fix tests
* #44449 : typo
* #44449 : fix getSystemRequirements API: return 200 even if we plugin version is invalid
* #44449 : fix getSystemRequirements API: don't return SemverConstraint on error
* #44449 : fix getSystemRequirements API
* #44449 : fix previews sytem requirements text
* #44449 : add `doThumbnailsExist` to repo
* #44449 : remove redux api
* #44449 : add missing model
* #44449 : implement frontedsettings-driven capability check
* #44449 : simplify
* #44449 : revert test changes
* #44449 : add dummy setup settings
* #44449 : implicit typing over `FC<Props>`
* #44449 : refactor conditionals
* #44449 : replace `getText` with a react component
* #44449 : fix component interface
* #44449 : add onRemove to `PreviewsSystemRequirements` alert
* #44449 : add bottom/top margin to previewSystemRequirements modal
* #44449 : merge conflict fix
* #44449 : remove console.log
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Alexander Emelin <frvzmb@gmail.com>
2022-02-16 21:49:50 +04:00
Ryan McKinley
1554bffcb8
Search: apply security in before returning results ( #45430 )
...
Co-authored-by: Artur Wierzbicki <wierzbicki.artur.94@gmail.com>
2022-02-16 09:47:41 -08:00
Will Browne
a2b391912a
Plugins: Add ability to enable debug logging per plugin ( #45481 ) ( #45485 )
...
* use plugin ID in logger name
* retrigger
(cherry picked from commit bd0ff79e28
)
2022-02-16 18:22:10 +01:00
Dan Cech
51cd6f3cc5
Configuration: Add ability to customize okta login button name and icon ( #44079 )
...
* add ability to customize okta login button name and icon
* update configs, add basic frontend test
* add icon to oauth settings type
* trigger tests
* fix typecheck
2022-02-16 11:35:00 -05:00
Torkel Ödegaard
2b9e46d1f8
Angular: Option to disable angular support and isolate angular dependencies ( #45421 )
...
* Angular: Initial setting that disables angular, load angular support in separate chunk
* Load angular panels on demand
* Load alerting in separate chunk only when angularSupportEnabled
* progress, do not export core_module if angular disabled
* Progress
* Update public/app/features/plugins/built_in_plugins.ts
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
* Removing remaining usage of angular from outside angular app (not counting plugins)
* Update config and docs
* Fix sample.ini
* Update public/app/features/alerting/AlertTab.tsx
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
* Fixing prettier issue
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
2022-02-16 17:14:33 +01:00