Nathan Marrs
015a31644c
Search: clean up styling ( #47221 )
2022-04-06 16:59:24 -07:00
Nathan Rodman
49505b9a3b
Alerting: fgac for notification policies and contact points ( #46939 )
...
* add FGAC actions for silences table
* redirect users without permissions
* add permissions checks to routes
* add fgac to notifications and contact points
* fgac for notification policies
* fix mute timing authorization
* use consistent naming for checking grafana alertmanager
* tests for fgac in contact points and notification policies
* bump up timeout on rule editor test
* use new permissions util
* break out route evaluation into util
* Remove test timeout
* Change permissions for the alert-notifiers endpoint
* Use signed in handler for alert-notifiers when unified alerting enabled
Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com>
2022-04-06 18:24:33 +02:00
Ashley Harrison
04c037b2cb
Navigation: implement full-width mobile menu ( #47383 )
...
* navigation: implement proper mobile menu
* Update public/app/core/components/NavBar/Next/NavBarMenu.tsx
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
* animation feedback
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2022-04-06 16:53:59 +01:00
Kristina
b9e6ed3a8a
Convert Rich History tests to RTL ( #47220 )
...
* Migrate enzyme tests to RTL
* Convert rich history card tests
* Fix Lint errors
* Fix tests based on feedback
* Fix second await
2022-04-06 10:26:33 -05:00
Piotr Jamróz
88ec750728
Query History: Load history when QueryHistoryContainer is opened ( #46457 )
...
* Load Rich History when the container is opened
* Store rich history for each pane separately
* Do not update currently opened query history when an item is added
It's impossible to figure out if the item should be added or not, because filters are applied in the backend. We don't want to replicate that filtering logic in frontend. One way to make it work could be by refreshing both panes.
* Test starring and deleting query history items when both panes are open
* Remove e2e dependency on ExploreId
* Fix unit test
* Assert exact queries
* Simplify test
* Fix e2e tests
* Fix toolbar a11y
* Reload the history after an item is added
* Fix unit test
* Remove references to Explore from generic PageToolbar component
* Update test name
* Fix test assertion
* Add issue item to TODO
* Improve test assertion
* Simplify test setup
2022-04-06 13:49:25 +02:00
Andrej Ocenas
0d3879d1c1
Prometheus: Add beta tag to mode switch for Builder mode ( #47376 )
...
* Add beta tag to mode switch
* Fix selectors
2022-04-06 11:50:12 +02:00
Ivana Huckova
caa82a124d
Loki,Prometheus: Fix of showing error message for empty query ( #47379 )
...
* Loki,Prometheus: Dont show error on empty query
* Add tests
2022-04-06 11:17:49 +02:00
Andrej Ocenas
ad4fcfd69b
Prometheus: Set default mode to Code ( #47342 )
...
* Set default to Code
* Fix tests
2022-04-06 10:07:11 +02:00
Isabella Siu
05b1edb4a7
CloudWatch: re-add filter to handleMetricQueries ( #47341 )
2022-04-06 09:02:34 +02:00
Ivana Huckova
82aa31df36
Loki: Add missing functions to query builder ( #47333 )
2022-04-05 19:15:22 +02:00
Josh Hunt
1b27e55e5a
Analytics: Identify users to Rudderstack by externalUserId where available ( #47325 )
...
* wip
* tests
* move util, fix test
* fixes
* Update public/app/core/services/echo/utils.ts
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
2022-04-05 17:41:22 +02:00
Ashley Harrison
9b61f1cd9f
close when clicking just the icon ( #47331 )
2022-04-05 16:16:05 +01:00
Ivana Huckova
6938d5b975
Loki: Show error when parsing nodes not supported in visual query builder ( #47321 )
...
* Show error when parsing nodes not supported in visual query builder
* Refactor, simplify
* Spell fix
* Spell fix
2022-04-05 17:07:13 +02:00
Ashley Harrison
b6a184996b
Implement hover states + remove some old code to do with pinning ( #47328 )
2022-04-05 15:53:23 +01:00
Joao Silva
d311a3bef5
Navigation: Keeps nav item hover when hovering over the item menu ( #47281 )
2022-04-05 15:38:58 +01:00
Ashley Harrison
8ede6161d4
Navigation: implement underlay ( #47311 )
...
* Navigation: implement underlay
* abstract out animation duration and add box-shadow
* rename underlay to backdrop, better syntax for composing css
2022-04-05 14:21:22 +01:00
Josh Hunt
2fe6eca7a0
NewsPanel: Remove Use Proxy option and update documentation with recommendations ( #47189 )
...
* NewsPanel: Remove CORS proxy and update documentation with recommendations
* Updated generated model
* Update news-panel.md
* Update docs/sources/visualizations/news-panel.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/visualizations/news-panel.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update news-panel.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2022-04-05 15:16:28 +02:00
Ivana Huckova
c5ac19d499
Loki: Add all supported parsers to query builder ( #47304 )
...
* Loki: Add all supported parsers to query builderr
* Update test
* Add tests for new parsers
2022-04-05 14:52:06 +02:00
Ezequiel Victorero
6a059dcb4d
Access Control: hiding add annotation button without permissions ( #47223 )
...
* Access Control: hiding add annotation button without permissions
2022-04-05 08:20:10 -03:00
kay delaney
25c91d7bb9
Nav: Capitalize "Dashboards" in "Search Dashboards" ( #47289 )
2022-04-05 09:17:23 +01:00
kay delaney
2018d83e1c
Navigation: Add persistence to collapsible nav items ( #47292 )
2022-04-05 09:17:02 +01:00
Cat Perry
b5f2f3e710
Tempo: Traces to Logs - From viewing Tempo traces to displaying Splunk logs ( #46855 )
...
* Add functionality to see splunk logs via tempo trace view
2022-04-04 13:24:33 -07:00
Konrad Lalik
6992d17924
Alerting: Add support to distinguish Prometheus datasource subtypes (Mimir, Cortex and Vanilla Prometheus) ( #46771 )
...
* Add basic UI for custom ruler URL
* Add build info fetching for alerting data sources
* Add keeping data sources build info in the store
* Use data source build info to construct data source urls
* Remove unused code
* Add custom ruler support in prometheus api calls
* Migrate actions
* Use thunk condition to prevent multiple data source buildinfo fetches
* Unify prom and ruler rules loading
* Upgrade RuleEditor tests
* Upgrade RuleList tests
* Upgrade PanelAlertTab tests
* Upgrade actions tests
* Build info refactoring
* Get rid of lotex ruler support action
* Add prom ruler availability checking when the buildinfo is not available
* Add rulerUrlBuilder tests
* Improve prometheus data source validation, small build info refactoring
* Change prefix based on Prometheus subtype
* Use the correct path
* Revert config routing
* Add deprecation notice for /api/prom prefix
* Add tests to the datasource subtype
* Remove custom ruler support
* Remove deprecation notice
* Prevent fetching ruler rules when ruler api is not available
* Add build info tests
* Unify naming of ruler methods
* Fix test
* Change buildinfo data source validation
* Use strings for subtype params and unveil mimir
* organise imports
* frontend changes and wordsmithing
* fix test suite
* add a nicer verbose message for prometheus datasources
* detect Mimir datasource
* fix test
* fix buildinfo test for Mimir
* shrink vectors
* add some code documentation
* DRY prepareRulesFilterQueryParams
* clarify that Prometheus does not support managing rules
* Improve buildinfo error handling
Co-authored-by: gotjosh <josue.abreu@gmail.com>
Co-authored-by: gillesdemey <gilles.de.mey@gmail.com>
2022-04-04 18:30:17 +01:00
Ivana Huckova
4c6d2ce618
Loki: Parse query with unwrap ( #47282 )
...
* Loki: Parse simple unwrap
* Update public/app/plugins/datasource/loki/querybuilder/parsing.ts
* Simplify
2022-04-04 18:44:23 +02:00
Ivana Huckova
f8b9bf543b
Loki: Replace auto with ( #47283 )
2022-04-04 18:43:37 +02:00
Ivana Huckova
24cf70dd29
Loki: Add parsing for vector aggregations with grouping ( #47257 )
...
* Parse aggregations with grouping
* Move getByType to shared parsing utils
2022-04-04 18:11:15 +02:00
Eric Leijonmarck
78bdcede70
Service accounts: polish UI and refactoring ( #47269 )
...
* no other tab has title
* made Add service button not visable and upper right
* renaming and added space between token number
* aligned button (:css:)
* refactor: out component listitem
* unused import
2022-04-04 17:09:51 +01:00
Isabella Siu
b1c68b5a12
CloudWatch: filter alert queries ( #47222 )
2022-04-04 12:06:31 -04:00
Ashley Harrison
1c34cc8b91
Navigation: Put expand toggle at beginning of tab order ( #47268 )
...
* Put toggle at beginning of tab order
* create NavBarToggle
* move margin into the common component
* lint fixes
2022-04-04 16:51:24 +01:00
Gilles De Mey
322a14fe6e
Alerting: fix flakey default time range assertion ( #47262 )
2022-04-04 17:35:53 +02:00
Ezequiel Victorero
76b221e9d5
Access Control: hiding annotation edition and deletion without permissions ( #46904 )
...
* Access Control: disabling annotation edition without FGAC permissions
2022-04-04 11:57:43 -03:00
Isabella Siu
f8d11fbef9
CloudWatch: use custom variable editor ( #46943 )
2022-04-04 10:39:31 -04:00
Ivana Huckova
5ba9ccb5a7
Loki: Add label_replace option to query builder ( #47247 )
...
* Add label_replace operation
* Update
2022-04-04 16:20:19 +02:00
Ashley Harrison
962eba39ac
Navigation: Make expandable menu items fill content properly ( #47264 )
2022-04-04 14:48:58 +01:00
Ashley Harrison
56176e320b
Navigation: Fix menu scrolling in expanded menu ( #47261 )
2022-04-04 14:48:48 +01:00
Gilles De Mey
473fa6d997
Alerting: add Mimir to the list of cloud rules ( #47258 )
2022-04-04 12:04:03 +00:00
Gábor Farkas
fdb7bab41a
Loki: do not special-case __name__ label ( #47251 )
...
* loki: do not mutate the caller's data
* Update public/app/plugins/datasource/loki/result_transformer.ts
better comment
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
* Update public/app/plugins/datasource/loki/result_transformer.ts
no need to handle __name__
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
* simplify code
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2022-04-04 13:52:55 +02:00
CommanderRoot
d29b8e8858
Chore: Replace deprecated String.prototype.substr() ( #46763 )
...
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-04-04 11:08:06 +02:00
Leon Sorokin
ed140906de
HeatmapNG: implement zooming & fix heatmap-buckets rendering ( #47231 )
2022-04-01 21:54:44 -06:00
Ryan McKinley
4c89c8c468
Heatmap: make x axis a time field ( #47168 )
2022-04-01 13:54:16 -07:00
Andrej Ocenas
1110666b6b
Loki: Fix parsing chained and scalar binary queries ( #47132 )
...
* Fix bin parsing for more cases
* Add test for some utils
* Removing console.log
* Simplify some code and fix typing
* Rename function
2022-04-01 18:33:09 +02:00
Andrej Ocenas
ba2332eb96
Prometheus: bool bin op improvements ( #47198 )
...
* Change param order
* Align tooltip icon styling
2022-04-01 17:51:50 +02:00
Eric Leijonmarck
07aa1349d8
fix: error when licensing was not checked ( #47201 )
2022-04-01 16:57:02 +02:00
Peter Holmberg
cb03b05ced
Alerting: Add yaml editor to cloud rules ( #46533 )
...
* ruleinspector component
* Adding yaml component
* setvalues
* update yarn.lock
* bump types
* chore: update lockfile
* move apply button position
* move button back to tab
Co-authored-by: gillesdemey <gilles.de.mey@gmail.com>
2022-04-01 16:34:08 +02:00
Yaelle Chaudy
d217d2aa40
A11y : Fix a11y in CollapsibleSection ( #46455 )
...
* Fix a11y in CollapsibleSection
* Added type to button to avoid form submit on enter
2022-04-01 14:00:09 +02:00
Ashley Harrison
9d3b701797
Accessibility: Trap focus correctly in dashboard settings ( #47149 )
...
* Accessibility: Trap focus correctly in search + dashboard settings
* add accessible names for the overlays
* Undo changes to search
* missed a bit
2022-04-01 11:44:48 +01:00
Ashley Harrison
e0457665f6
Navigation: prevent navbar from showing when .sidemenu-hidden
is set ( #47134 )
2022-04-01 11:27:53 +01:00
Ashley Harrison
4958f932aa
wrap icons in a div to ensure they're centred ( #47136 )
2022-04-01 11:27:46 +01:00
Maria Alexandra
7ae72e1195
Navigation: Refactor existing menu to allow for scrolling ( #47076 )
...
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: Joao Silva <joao.silva@grafana.com>
2022-04-01 11:24:52 +01:00
kay delaney
83140f7369
Navigation: Fix layout shift for long collapse content ( #47161 )
2022-04-01 10:42:19 +01:00
Ryan McKinley
38dc34359b
Search: show dashboards form query ( #47085 )
2022-03-31 14:38:46 -07:00
Yaelle Chaudy
00ec99a8a1
Added button type to avoid trigger on enter ( #47147 )
2022-03-31 21:05:05 +02:00
Gábor Farkas
a246381879
loki: backend-mode: add stats support ( #46526 )
...
* loki: backend-mode: add stats support
* refactor: rename variable
2022-03-31 17:50:27 +02:00
Ashley Harrison
eddefdc274
Variables: Ensure variables in query params are correctly recognised ( #47049 )
...
* user essentials mob! 🔱
* user essentials mob! 🔱
* update comment
Co-authored-by: kay delaney <kay@grafana.com>
Co-authored-by: Alexandra Vargas <alexa1866@gmail.com>
Co-authored-by: joshhunt <josh@trtr.co>
Co-authored-by: kay delaney <kay@grafana.com>
Co-authored-by: Alexandra Vargas <alexa1866@gmail.com>
2022-03-31 15:59:14 +01:00
Connor Lindsey
5a87d12e8c
Tempo: Download span references in data inspector ( #47074 )
...
* Tempo: Download span references in data inspector
2022-03-31 08:30:22 -06:00
Ashley Harrison
a571fcda6e
knock back the color of the navbar toggle ( #47131 )
2022-03-31 14:35:38 +01:00
Peter Holmberg
32ad1199e1
Alerting: Colorize labels and matchers ( #46678 )
...
* Replace AlertLabel with TagsList
* left align labels
* restart drone
2022-03-31 15:20:57 +02:00
kay delaney
54b1d88c44
Navigation: Add animation when closing nav menu ( #47128 )
2022-03-31 14:42:38 +02:00
Ashley Harrison
6b2e1c6187
Navigation: lower expandable navbar z-index ( #47125 )
2022-03-31 13:03:23 +01:00
Ashley Harrison
0cde5908ca
Navigation: fix gap at top of menu ( #47123 )
2022-03-31 13:03:13 +01:00
Ashley Harrison
7d9f22fa59
Navigation: add border in collapsed state ( #47122 )
2022-03-31 12:05:24 +01:00
Ashley Harrison
3d23722b30
Update @types/lodash
everywhere ( #47020 )
...
* Update @types/lodash everywhere
* Update @grafana/e2e as well
2022-03-31 10:19:33 +01:00
Joao Silva
0e93fe7e07
Text Panel: Fixes mailto links not working ( #47025 )
2022-03-31 10:00:33 +01:00
Ivana Huckova
554492ec4e
Loki: Add parsing of query to visual query ( #46700 )
...
* Create parser
* Add parsing
* Update comment
* Remove operations that we don't support
* Resolve type errors
* Update test
* Handle backticks
* Handle backticks
* Remove copied test, update test
* Parsing for binary operations
* Remove error about setting state after unmount
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
2022-03-31 10:51:49 +02:00
Gábor Farkas
2d61022d93
logs: better handle missing fields ( #46963 )
2022-03-31 10:48:03 +02:00
Joey Tawadrous
58922d78df
Traceview find: background color and prev/next ( #46527 )
...
* Next/prev buttons
* expand
* Sticky search bar
* Removed anys
* testing
* testing
* Tests for next/prev/suffix
* More tests
* Span bar row color
* Add clear to input and update search bar styles
* Update test
* PR changes
Co-authored-by: Connor Lindsey <cblindsey3@gmail.com>
2022-03-31 09:43:59 +01:00
Torkel Ödegaard
4d0204d012
Prometheus: Highlight run query after changing query ( #47043 )
...
* Prometheus: Highlight run query after changing query
* fixed ts issue
* Updated
2022-03-31 10:14:13 +02:00
Zoltán Bedi
15b48fc188
Table: Add enable pagination option ( #45732 )
...
* Table: Add page size option / pagination
* Update docs/sources/visualizations/table/_index.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* FIx packages build
* Move pagination below footer
* Move styles to tableStyles
* Fix typecheck in jaeger-ui
* Set footer to hide onChange
* Styling tweaks
* Center paging
* Tweaks
* Change pageSize to enablePagination
* Move header and footer options to a separate category
* Fix performance and styling issue for the pagination
* Some more styling and tweaking
* Fix tests
* Update docs/sources/visualizations/table/_index.md
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
* Update docs/sources/visualizations/table/_index.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2022-03-31 09:36:04 +02:00
Giordano Ricci
6565d0ee64
Explore: move Time picker next to run button ( #47082 )
2022-03-31 02:04:17 +01:00
Adela Almasan
dea9b51a0f
Resize map on changing browser size ( #47084 )
2022-03-30 17:39:28 -05:00
Nathan Marrs
85286a5182
Search v2: encode query in url ( #47078 )
2022-03-30 13:00:40 -07:00
Ryan McKinley
abeb08bc98
PanelInspect: show dataframe JSON in JSON view ( #47071 )
2022-03-30 19:58:49 +02:00
Ryan McKinley
edf384c730
DashboardSave: use a feature flag for drawer behavior ( #46972 )
2022-03-30 10:07:41 -07:00
kay delaney
f486b54b84
Navigation: Rough implementation of new navbar design ( #46909 )
2022-03-30 18:05:52 +01:00
Nathan Marrs
4449439a41
Search: Implement basic improved UI ( #46758 )
2022-03-30 09:50:32 -07:00
Adela Almasan
851c54b3b1
Call optionsChanged when props options have changed ( #47031 )
2022-03-30 11:15:42 -05:00
Gilles De Mey
18862a22a6
Alerting: use mimir logo ( #47063 )
2022-03-30 17:57:18 +02:00
Adela Almasan
118b87ee8f
Geomap: Display legend ( #46886 )
...
* Display legend for fixed colors and field; Hide tooltip on base layer;
2022-03-30 09:41:13 -05:00
Alex Khomenko
114704e2e2
Feature Highlights: update components ( #46920 )
...
* Apply new upgrade styles
* Add caption/update pro badge color
* Update team sync upgrade page
* Add UpgradeContentVertical
* Update public/app/core/components/Upgrade/UpgradeBox.tsx
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
* Update screenshots
* Update screenshots[2]
* Scroll screenshot if doesnt fit
* Add missing target prop
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
2022-03-30 14:46:56 +02:00
kay delaney
f1c3177e79
Chore: Add type info for grafana boot data ( #45322 )
...
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
2022-03-30 10:48:58 +01:00
Torkel Ödegaard
21fd9dd056
Loki: Adds line format operation ( #47015 )
2022-03-30 09:11:36 +02:00
Leon Sorokin
475a027562
Prometheus: make JS heatmap response a single-frame (field-per-bucket) ( #46611 )
2022-03-29 22:23:08 -06:00
Torkel Ödegaard
feaa4a5c64
Loki: Support binary operations and nested queries in new builder ( #47012 )
...
* Binary ops support
* Add support for nested expressions in loki
* Nested queries working
* Fixing tests
* Share more code between loki and prometheus query modellers
2022-03-29 18:50:07 +02:00
Andrej Ocenas
10d8ccc8ff
Loki: Return false from isMetricsQuery if query is empty ( #47024 )
2022-03-29 18:18:43 +02:00
Torkel Ödegaard
5f9cd7b875
Loki: Add aggregate by label support ( #46965 )
...
* Loki: Add aggregate by label support
* Label lookups now work for loki
* Fixed ts issue
* review comment fixed
2022-03-29 17:49:21 +02:00
Cameron Waterman
8426cfe400
Profile/Help: Expose option to disable profile section and help menu ( #46308 )
...
* Expose option to disable help menu
* Expose option to disable profile menu
* Add Profile FeatureTogglePage
* Update public/app/features/profile/FeatureTogglePage.tsx
Uptake PR wording suggestion.
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Fix front end lint issue
* Fix back end lint issue
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2022-03-29 16:27:53 +01:00
Ryan McKinley
d1681dcc18
DashboardSave: keep version message ( #46966 )
2022-03-29 07:11:34 -07:00
Piotr Jamróz
bf977ac245
Explore: Fix time interpolation ( #46737 )
...
* Ensure TemplateService is updated with new time range on each time range change.
* Fix linting errors
* Fix explorePane.test.ts
* Reuse createDefaultInitialState
* Remove unused imports
* Add a test for left/right split
* Silence console.error in tests
* Silence console.error in tests
2022-03-29 15:10:40 +02:00
Ashley Harrison
280b1ee828
Update @types/mousetrap to latest version ( #46893 )
...
* Update @types/mousetrap to latest version
* kick drone
* kick drone again
* Remove @types from the import
2022-03-29 12:13:31 +01:00
myml
23a1dbc264
feat: Bar Gauge Support scrolling ( #46819 )
...
* feat: Bar Gauge Support scrolling
* Update public/app/plugins/panel/bargauge/module.tsx
Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>
* Update public/app/plugins/panel/bargauge/module.tsx
Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>
* docs: Bar gauge add 'min-width' and 'min-height'
Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>
2022-03-29 11:21:45 +01:00
Braden Snell
9a850de5a8
Variables: add graceful circular dependency failure ( #46590 )
...
* adds circular dependency check
* adds circular dep test
2022-03-29 11:18:59 +01:00
Fabien Pelletier
51396d5363
enable logs for postgres data source ( #39496 )
...
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2022-03-26 11:08:00 +01:00
Sarah Zinger
d5f40b63bb
Azure Monitor: Add support for multiple template variables in resource picker ( #46215 )
2022-03-25 14:12:52 -04:00
Andrej Ocenas
20b4112b3b
Prometheus: Report error when parens are used and switching to visual builder ( #46899 )
2022-03-25 14:03:30 +01:00
Torkel Ödegaard
1c648cb52c
Loki: Adds options to the new query builder ( #46783 )
...
* Initial commit for loki builder options
* Loki query options
* Added some basic tests
* Update public/app/plugins/datasource/loki/querybuilder/components/LokiQueryBuilderOptions.test.tsx
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
* Updated options
* All option changes should trigger query
* Fixed ts issue
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2022-03-25 13:13:55 +01:00
Torkel Ödegaard
3516821012
Dashboard: Fixes save modal rendered ontop of save drawer ( #46916 )
...
* Dashboard: Fixes save modal rendered ontop of save drawer
* removed commented line
* Simplified dismiss -> hideModal mapping
* Fixed issue with new dashboard
* Fixing issues
2022-03-25 13:08:42 +01:00
Yaelle Chaudy
c00f488f89
Azure Monitor : Add support for the resource picker to be configurable to only select some entry types ( #46735 )
...
Co-authored-by: Kevin Yu <kevinwcyu@users.noreply.github.com>
Co-authored-by: Andres Martinez Gotor <andres.mgotor@gmail.com>
Co-authored-by: Isabella Siu <isabella.siu@grafana.com>
Co-authored-by: Sarah Zinger <sarah.zinger@grafana.com>
2022-03-25 12:22:28 +01:00
Ashley Harrison
c13f4542d8
Dashboard: Template variables are now correctly persisted when clicking breadcrumb links ( #46790 )
...
* Add history listener to update titleHref/parentHref when location changes
* Convert to functional component and use useLocation
* Wrap component in React.memo
* Add new `getUrlForPartial` method, deprecate `updateSearchParams`
2022-03-24 16:01:43 +00:00
kay delaney
8329cd59f6
LibraryPanels: Increase max description length to 2048 chars ( #46601 )
2022-03-24 12:14:56 +00:00
Josh Hunt
89757cf58f
ManageDashboards: Fix error when deleting all dashboards from folder view ( #46877 )
...
* user essentials mob! 🔱
* draft tests
* tests!
* better default ids for test data
2022-03-24 09:43:25 +00:00
Andres Martinez Gotor
987afeee38
Chore: Cover CloudMonitoring function utils with tests ( #46878 )
2022-03-24 09:47:59 +01:00
Gabriel MABILLE
3440e7c8f7
AccessControl: Fix locked role picker in orgs/edit page ( #46539 )
...
* AccessControl: Fix locked role picker in orgs/edit page
* Use correct org when computing metadata
2022-03-24 08:58:10 +01:00
Ivana Huckova
7839fadf00
Loki: Fix fetching of second label set for the streams selector ( #46898 )
...
* Fix fetching of labels
* Add test
2022-03-23 17:59:48 +00:00
matt abrams
562a25ad99
increase label width on TLS info ( #46816 )
2022-03-23 17:22:08 +00:00
Connor Lindsey
78c23d8dab
Tracing: Prevent createSpanLink from returning an invalid Loki query ( #46864 )
2022-03-23 09:48:11 -07:00
Joey Tawadrous
aabafee90a
InfluxDB: annotations migration to backend ( #45635 )
...
* Annotations backend migration
* Response parser checks
* Moved parse to response parser
* Removed unused imports
* Update type
* response_parser test
* response_parser test for text
* Removed from ctx
* Use vars in annotationQuery
* Tags and tests
* Removed import
2022-03-23 16:02:29 +00:00
Sarah Zinger
dd49f9d182
Azure Monitor: Small bug fixes for Resource Picker ( #46665 )
...
- fixes issue with checkbox styling
- fixes issue with selecting subscriptions
2022-03-23 09:38:46 -04:00
Torkel Ödegaard
76c9ad2d9b
Loki: Improve operation ordering when adding new operations ( #46598 )
2022-03-23 07:42:25 +01:00
Gilles De Mey
4a568769e7
Alerting: fix flakey test ( #46845 )
2022-03-22 21:20:58 +01:00
Ashley Harrison
04bbafb4a6
Chore: Enable jest-fail-on-console
to prevent console errors in unit tests ( #46835 )
...
* Add jest-fail-on-console
* Fix last 2 console warnings
* Update package syntax
2022-03-22 17:03:07 +00:00
Kevin Yu
ba62f5ad5d
Chore: clean up console warning from SQL Builder Editor tests ( #46779 )
...
* Chore: clean up console warning from SQL Builder Editor tests
* Re-add test for checking dimensions filter
2022-03-22 09:39:51 -07:00
renovate[bot]
dd2a952c29
Update sentry-javascript monorepo to v6.19.1 ( #46799 )
...
* Update sentry-javascript monorepo to v6.19.1
* fix breaking change
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Domas <domasx2@gmail.com>
2022-03-22 16:06:53 +01:00
Nathan Rodman
5a25ada3d0
Alerting: Add FGAC for Silences ( #46479 )
...
* add FGAC actions for silences table
* redirect users without permissions
* hide silence button in rules list
* add permissions checks to routes
* add read action for silences page
* add permissions checks to navigation
* add additional access checks for rule viewing
* create authorize component
* add tests for silences
* hide alerting nav for users without access
* nolint: gocyclo
* add permission check to alert details
* add check for external instances
* remove unecessary new lines
* use correct actions for alert details
* fix failing tests
Co-authored-by: Yuriy Tseretyan <yuriy.tseretyan@grafana.com>
2022-03-21 16:54:37 -07:00
Kevin Yu
54d4a69e91
Chore: clean up console warning from Metrics Query Editor tests ( #46747 )
...
* Chore: clean up console warning from Metrics Query Editor tests
* Chore: remove type assertions
2022-03-21 12:21:04 -07:00
Kevin Yu
7480ba0226
Chore: clean up console warning from SQL Group By tests ( #46733 )
2022-03-21 12:20:48 -07:00
Shirley
499445a5f9
Azure Monitor: Bump core plugin version ( #46776 )
...
* Azure Monitor: Bump core plugin version
* Remove updated, update learn more link
2022-03-21 19:01:26 +01:00
Santiago
18c1c6ca6a
fix double slash in share link ( #46757 )
2022-03-21 08:00:54 -06:00
jcolladokuri
237ca1660f
AzureMonitor: Add Links to Azure Portal for VM Insights dashboards ( #46482 )
2022-03-21 12:59:14 +01:00
jcolladokuri
0dc4db0a94
AzureMonitor: Update curated dashboards ( #46745 )
2022-03-21 12:01:22 +01:00
Andres Martinez Gotor
788fde7ead
AzureMonitor: Update China regions ( #46695 )
2022-03-21 09:36:26 +01:00
Gábor Farkas
890a7cdd7c
loki: add id-field ( #46519 )
...
* loki: add id-field
* fixed test
2022-03-21 09:15:52 +01:00
Adela Almasan
bb8304c838
Heatmap: Color scale improvements ( #46751 )
...
* Updated color scale tooltip and added follower
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-03-18 21:03:06 -05:00
Adela Almasan
576b73ed48
Updated bucket size/offeset settings; Check for negative values in bucket size ( #46754 )
2022-03-18 18:47:34 -05:00
Kristina
1afd278bd0
Fix tests for Explore - ErrorContainer, MetaInfoText & cleanup ( #46744 )
...
* Move ErrorContainer.test.tsx to RTL
* Remove snapshots and unnecessary tests, change enzyme tests to RTL
* Add fixes to tests
2022-03-18 14:44:51 -05:00
Pierre Baumard
1dbfbc0e96
GeoMap: support setting view based on map data ( #44852 )
2022-03-18 11:13:55 -07:00
Ashley Harrison
6eecd021a4
Chore: Fix a couple more console errors in jest tests ( #46732 )
...
* Chore: Fix a couple more console errors in jest tests
* remove console.errors
* better spy
* Fix linting
2022-03-18 17:25:59 +01:00
Eric Leijonmarck
c592e6606c
Filtering of service accounts by expired tokens ( #46251 )
...
* Refactor to ServiceAccounts Query
* filtering expiredtokens on backend
* WIP
* WIP
* WIP
* fix: missing that we do not cover for no service accounts
* fix: wrong link
* feat: filter able to get only service accounts with expired tokens
* refactor: naming
* Update pkg/services/serviceaccounts/models.go
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
* goimported
* Update pkg/services/serviceaccounts/api/api.go
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2022-03-18 15:50:34 +01:00
lean.dev
c3ee98a9b6
Fixing delete dashboard url form datasource configuration ( #46637 )
2022-03-18 11:47:57 -03:00
Gilles De Mey
64d4e6fcaa
Alerting: visual alert type picker ( #46111 )
2022-03-18 14:33:32 +01:00
renovate[bot]
644e7e7c19
Update dependency lru-cache to v7.7.1 ( #46675 )
...
* Update dependency lru-cache to v7.7.1
* update snapshot
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-03-18 11:30:15 +00:00
Ashley Harrison
7d8af12cca
Navbar: remove visual sections + home button ( #46693 )
...
* Navbar: remove visual sections + home button
* remove padding
* Fix label
2022-03-18 10:57:55 +00:00
Tom
ea7d5a6185
Transformers: Add template variable substitution ( #44486 )
...
* Transformers: Add template variable replacement to transformer operator
* Transformers: Add template variable replacement to calculateField transformer
* Transformers: Add scopedVars to transformer template replacement
* Transformers: Add calculateField template variable test
* Transformers: Fix 'undefined' is not assignable to type 'string'
* Transformers: Fix lint-frontend bug
* Fix lint check
* Fix lint
2022-03-18 10:25:53 +00:00
Ryan McKinley
93390b5a1e
Search: use search service ( #46714 )
...
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2022-03-18 01:36:32 +01:00
Nathan Marrs
7589b83c5b
Icon: Fix default icon color mismatch with default fill color ( #46602 )
2022-03-17 14:52:32 -07:00
Ryan McKinley
736820f975
Search: use minisearch for better frontend searching ( #46710 )
...
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2022-03-17 14:26:48 -07:00
Connor Lindsey
0da40b7f09
Tempo: Separate trace to logs and loki search datasource config ( #46655 )
...
* Tempo: Separate trace to logs and loki search datasource config
* Add getLokiSearchDS util and tests
2022-03-17 11:23:15 -06:00
Kevin Yu
fb17b9f545
Chore: clean up console warning from Annotation Query Editor tests ( #46660 )
2022-03-17 07:00:42 -07:00
Kevin Yu
56b750dc42
Chore: clean up console warning from Cloudwatch Dimensions tests ( #46661 )
2022-03-17 06:59:55 -07:00
Kevin Yu
7c255f190c
Chore: clean up console warning from Query Header tests ( #46663 )
2022-03-17 06:57:43 -07:00
Kevin Yu
cffa52d906
Chore: clean up console warning from Metric Stat Editor tests ( #46662 )
2022-03-17 06:57:23 -07:00
Kevin Yu
50bbbbf376
Chore: clean up console warning from Resource Picker tests ( #46664 )
2022-03-17 06:55:14 -07:00
Piotr Jamróz
ed155e47c4
Graphite: Fallback to hardcoded list of functions when no functions are returned ( #46681 )
2022-03-17 14:26:08 +01:00
Joao Silva
a9002e80b4
Annotations: Fix issue with spinner always showing ( #46686 )
2022-03-17 13:00:52 +00:00
Torkel Ödegaard
60af3af92c
Prometheus/Loki: Allow custom value in operation selects ( #46679 )
...
* Prometheus/Loki: Allow custom value in operation selects
* Add missing operator
2022-03-17 12:55:47 +01:00
Andrej Ocenas
22a4c5f086
Prometheus: Add optional param tooltip for visual builder ( #46644 )
2022-03-17 10:51:42 +01:00
Andrej Ocenas
ee87ed3b51
Prometheus: Parsing for vector matching and UI changes ( #46668 )
2022-03-17 10:50:49 +01:00
Ikko Ashimine
d887068904
Alerting: Fix typo in matchers.test.ts ( #46641 )
...
occurence -> occurrence
2022-03-16 19:15:23 +00:00
Ryan McKinley
15ca294be0
Dashboards: show changes in save dialog ( #46557 )
...
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2022-03-16 09:28:09 -07:00
Torkel Ödegaard
31d141b267
Dashboards: Fixes repeating by row and no refresh ( #46565 )
2022-03-16 07:57:12 +01:00
Joao Silva
00c93fff8c
Grafana-UI: Fix use of Fragments as children of InlineField ( #46326 )
2022-03-15 17:50:29 +00:00