Levente Balogh
47d1d83673
feat: add a new <SecretInput> component ( #46073 )
2022-03-02 14:53:34 +01:00
Ryan McKinley
796bc27f75
Loki: support live streaming ( #42804 )
2022-03-01 14:46:52 -08:00
renovate[bot]
26e5af4b2e
Update dependency rollup to v2.68.0 ( #45747 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-03-01 17:21:56 +00:00
renovate[bot]
36b039a10e
Update sentry-javascript monorepo to v6.18.1 ( #45842 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-03-01 10:49:46 +00:00
matt abrams
07dda8a299
Transformations: Use asterisk for First non-null label ( #45940 )
2022-03-01 10:27:01 +01:00
Dominik Prokop
eb537e2efd
TablePanel: Add cell inspect option ( #45620 )
...
* TablePanel: Add cell preview option
* Review comments
* Change modal title
* Review
* Review 2
* Docs
2022-02-28 15:35:05 +01:00
Gilles De Mey
15d681b823
grafana/ui: Selectable Card ( #45538 )
2022-02-28 11:23:23 +01:00
Ivana Huckova
4ab191b612
Prometheus: Create AutoSizeInput with dynamic width ( #45601 )
...
* Autosize input for dynamic width
* Update
* Refactoring to use measureText util instead
* removed react fragment tags
* Add tests
* Use AutoSize input in legend, step and nested queries vector matcher
* Update
* Remove unused imports
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2022-02-28 10:52:58 +01:00
Tharun Rajendran
970dee4199
Trace View: Show number of child spans in span details view ( #44393 )
...
* package(jaegar): show no of child spans in view
Signed-off-by: tharun <rajendrantharun@live.com >
Co-authored-by: Connor Lindsey <cblindsey3@gmail.com >
2022-02-25 12:22:01 -07:00
Shachi Solanki
190757b3c6
Tempo / Trace Viewer: Support Span Links in Trace Viewer ( #45632 )
...
* Support Span Links in Trace Viewer
* Update ReferencesButton styles
* Remove datasource prop
Co-authored-by: Connor Lindsey <cblindsey3@gmail.com >
2022-02-25 11:14:13 -07:00
Borja Garrido
359ef074fa
Transformations: Add new grouping to matrix transformer ( #28739 )
...
* Add new transformer grouping to matrix
* Add new transformer grouping to matrix tests
* Add new transformer grouping to matrix UI
* Fix tests for grouping to matrix transformer
* Update transformer to latest interfaces
* Add field selector to form
* Make linter happier
* Replace Fields with InlineSnapshot as it was to taking units properly
* Rearrange for new transformers structure
* Expose GroupingToMatrix options as part of data package
* Increase labelWidth as suggested
* Add uniqueValues helper function and use it to extract Column and Row Values
2022-02-24 17:01:04 +00:00
Per Osbäck
dcd98f7819
Escape windows newline. ( #45771 )
...
Fixes #45746
2022-02-24 17:37:49 +01:00
Ashley Harrison
64ad33f31a
Add a fallback for the clipboard API ( #45831 )
2022-02-24 13:58:56 +00:00
Tharun Rajendran
0a572cae4b
Explore: fix object value parsing for downloading traces as csv ( #44492 )
...
* Explore: fix object value parsing for downloading traces as csv
Signed-off-by: tharun <rajendrantharun@live.com >
* add replacer function to fix circular objects
Signed-off-by: tharun <rajendrantharun@live.com >
2022-02-24 11:45:51 +00:00
Ashley Harrison
d3700c4032
Chore: Remove console output from some jest tests ( #45792 )
...
* Chore: Remove console output from some jest tests
* Skip manual performance test
2022-02-24 10:49:48 +00:00
renovate[bot]
ede31b1602
Update dependency react-dropzone to v12 ( #45089 )
...
* Update dependency react-dropzone to v12
* Don't use FS Access api
* kick drone
Co-authored-by: Renovate Bot <bot@renovateapp.com >
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com >
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2022-02-24 10:33:59 +01:00
renovate[bot]
f4d9de00e9
Update dependency cypress to v9.5.0 ( #44678 )
...
* Update dependency cypress to v9.5.0
* drone: update cypress version
* Update drone.yml
Co-authored-by: Renovate Bot <bot@renovateapp.com >
Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com >
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com >
2022-02-24 10:32:55 +01:00
Piotr Jamróz
5715be4afa
Explore: Integration test for running a query and saving it in query history ( #45728 )
...
* Create basic query history test
* Clean up
* Clean up
* Use run button selector
* Mock AutoSizer instead of monkey-patching
* Reset local storage after each test
* Add accessible name to Run Query button and use it in the test
* Update public/app/features/explore/spec/helper/interactions.ts
Co-authored-by: Giordano Ricci <me@giordanoricci.com >
* Rename query to urlParams
* Fix linting errors
* Remove unused import
Co-authored-by: Giordano Ricci <me@giordanoricci.com >
2022-02-23 19:05:38 +01:00
Jack Westbrook
d0d5304662
Revert "Update dependency react-hook-form to v7.26.1" ( #45761 )
...
* Revert "Update dependency react-hook-form to v7.26.1 (#43670 )"
This reverts commit 175891a5e3 .
* chore(renovate): prevent bumping react-hook-form so plugins dont break
2022-02-23 12:22:45 +01:00
Todd Treece
01df00fd0f
DataFrame: Add cached response notice for X-Cache: HIT header ( #45564 )
2022-02-23 04:17:35 +01:00
renovate[bot]
6165377eb2
Update dependency webpack to v5.69.1 ( #45661 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-02-22 20:39:36 +01:00
renovate[bot]
4a804b57f7
Update dependency prismjs to v1.27.0 ( #45621 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-02-22 17:06:01 +01:00
Giordano Ricci
9307cc86f2
UI: Improve modal a11y by setting role & using title as label ( #45472 )
...
* UI: Improve modal a11y by setting role & using title as label
* remove wrapping div for cutom title components
* Fix typo
2022-02-22 14:12:34 +00:00
renovate[bot]
c11cf7d470
Update dependency @react-aria/menu to v3.4.1 ( #45514 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-02-22 13:58:51 +00:00
Alexander Emelin
28c30a34ad
Comments: support live comments in dashboards and annotations ( #44980 )
2022-02-22 10:47:42 +03:00
kay delaney
b6682cdcb9
Navigation: Proof-of-concept for pinning navbar items ( #44775 )
2022-02-21 15:25:47 +00:00
renovate[bot]
4fb0337168
Update dependency sass-loader to v12.6.0 ( #45660 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-02-21 12:21:32 +01:00
renovate[bot]
5f533dac72
Update dependency @emotion/react to v11.8.1 ( #45656 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-02-21 12:04:24 +01:00
Hugo Häggmark
c6470be34c
Chore: Replace enzyme with RTL in ConfirmModal.test.tsx ( #45651 )
2022-02-21 08:25:52 +01:00
Hugo Häggmark
2f63d7b1c4
Chore: Replace enzyme with RTL in BigValue.test.tsx ( #45650 )
2022-02-21 08:21:06 +01:00
renovate[bot]
175891a5e3
Update dependency react-hook-form to v7.26.1 ( #43670 )
...
* Update dependency react-hook-form to v7.27.0
* fix type errors for alerting components with new react-hook-form version (#45341 )
Co-authored-by: Renovate Bot <bot@renovateapp.com >
Co-authored-by: Nathan Rodman <nathanrodman@gmail.com >
2022-02-18 17:13:31 +01:00
Yaelle Chaudy
530913dd37
Azure Monitor : Adding json formatting of error messages in Panel Header Corner and Inspect Error Tab ( #44877 )
...
* Trying out json formatting of azure graph err from frontend
* Added some tests wip
* Wrap text in popper tooltip
* fix conflict
* Wrap text in tooltip
* Complete tests
* Added invalid json test
* Backend changes and tests
* removed comments
* Added split of message / json and edge cases tests
* Addressed comments
* moved catch to parseErrorMessage
2022-02-18 12:09:24 +01: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
Agnès Toulet
8835020457
Feature Highlights: add RS event for nav items ( #45470 )
2022-02-17 14:20:37 +01:00
Artur Wierzbicki
3e53a08090
#44449 : hide dashboard preview admin UI ( #45493 )
2022-02-17 12:34:07 +04: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
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
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
Torkel Ödegaard
cfa24a3cfb
Prometheus: Auto legend handling ( #45367 )
...
* Legend editor is working
* It's working
* Progress on auto legend mode
* Fixes
* added unit tests
* Added go tests
* Fixing tests
* Fix issue with timing and internal state
* Update public/app/plugins/datasource/prometheus/querybuilder/components/PromQueryCodeEditor.tsx
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2022-02-16 14:06:33 +01:00
Hugo Häggmark
ae8c8a2910
Chore: Replace enzyme with RTL ( #45434 )
2022-02-16 00:49:06 -08:00
Hugo Häggmark
6584735bef
Chore: Replaces enzyme with RTL in ConfirmButton.test.tsx ( #45435 )
2022-02-16 09:46:46 +01:00
Ryan McKinley
d665306ad1
Search: add feature flag and basic service ( #45112 )
...
Co-authored-by: Artur Wierzbicki <artur@arturwierzbicki.com >
2022-02-15 10:26:03 -08:00
Sofia Papagiannaki
d718ee1918
SQLStore: Prevent concurrent migrations ( #44101 )
...
* SQLStore: Prevent concurrent migrations
* Hide behind a feature toggle
* Configurable locking attempt timeout
* Update docs/sources/administration/configuration.md
Co-authored-by: Igor Suleymanov <radiohead@users.noreply.github.com >
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
2022-02-15 18:54:27 +02:00
Ivana Huckova
6a828a051a
Logs: Fix LogDetailsRow tests that produced console errors ( #45388 )
...
* Fix LogDetailsRow tests that produced console errors
* Use div instead of wrapping with table
* Use div instead of wrapping with table
2022-02-15 14:06:24 +01:00
Gábor Farkas
a612087c63
loki: remove fullRangeLogsVolume feature flag ( #45286 )
2022-02-15 09:05:03 +01:00
Marcus Andersson
9a12b3ea00
TemplateSrv: exposing a function to detect if a target contains a template ( #45214 )
...
* exposing a function to check if a target contains variables.
* fixed tests.
* renamed function
* updated betterer result.
2022-02-15 08:53:42 +01:00
kay delaney
10cc2fd6bc
Chore: Add types for OAuth settings in config ( #45247 )
2022-02-11 13:54:24 +00:00
Hugo Häggmark
5f043e6106
Chore: Fix test import ( #45271 )
2022-02-11 11:24:27 +01:00