Torkel Ödegaard
ae3d70af3e
DashboardScene: Link to explore should take adhoc filters into account ( #78440 )
...
* DashboardScene: Link to explore should take adhoc filters into account
* Fix imports
2023-11-22 09:45:12 +01:00
Torkel Ödegaard
393d103782
DashboardScene: Fixes issue with variables without current property ( #78481 )
2023-11-22 00:40:39 -08:00
Andres Martinez Gotor
5a19813771
Chore: Display core plugins when showing all in the catalog ( #78447 )
2023-11-22 09:04:54 +01:00
Jev Forsberg
a3576fc8cf
Baldm0mma/docs expansion ( #78142 )
...
* baldm0mma/docs_expansion/ update Convert field type
* baldm0mma/docs_expansion/ update Extract fields
* baldm0mma/docs_expansion/ update Lookup fields from resource
* baldm0mma/docs_expansion/ update Filter data by query refId
* baldm0mma/docs_extension/ update Filter fields by name
* baldm0mma/docs_expansion/ update Format time
* baldm0mma/docs_expansion/ update Grouping to matrix
* baldm0mma/docs_expansion/ update Create heatmap
* baldm0mma/docs_extension/ updte Histogram
* baldm0mma/docs_expansion/ update Join by field
* baldm0mma/docs_expansion/ update Join by labels
* baldm0mma/docs_expansion/ update Labels to fields
* baldm0mma/docs_expansion/ update Limit
* baldm0mma/docs_expansion/ update Merge
* baldm0mma/docs_expansion/ update Oraganize fields
* baldm0mma/docs_expansion/ update Partition by values
* baldm0mma/docs_expansion/ update Prepare time series
* baldm0mma/docs_expansion/ update Rename by regex
* baldm0mma/docs_expansion/ update Rows to fields
* baldm0mma/docs_expansion/ update Series to rows
* baldm0mma/docs_expansion/ update Time series to table transform
* baldm0mma/docs_expansion/ build docs
* baldm0mma/docs_expansion/ update Prepare time series
* baldm0mma/docs_expansion/ build markdown
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* baldm0mma/docs_expansion/ update Rows to fields conclusion
* baldm0mma/docs_expansion/ update sort by
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* baldm0mma/docs_expansion/ build markdown
* baldm0mma/docs_expansion/ update note in Add field from calculation
* baldm0mma/docs_expansion/ update spelling
* baldm0mma/docs_expansion/ update wording
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* baldm0mma/docs_expansion/ update Partition by values
* baldm0mma/docs_expansion/ update enhancements
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* baldm0mma/docs_expansion/ rem whitesapce
* baldm0mma/docs_expansion/ build markdown
* Update public/app/features/transformers/docs/content.ts
* baldm0mma/docs_expansion/ update whitespace
* baldm0mma/docs_expansion/ update Extract fields
* baldm0mma/docs_expansion/ update with @codeincarnate's suggestions
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* baldm0mma/docs_expansion/ update syntax
* baldm0mma/docs_expansion/ update transformation names
* baldm0mma/docs_expansion/ build markdown
* baldm0mma/docs_expansion/ dataset fix
* baldm0mma/docs_expansion/ build docs
---------
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-11-21 12:05:11 -07:00
Ophir LOJKINE
a57dc513d3
PublicDashboards: Typo in acknowledge checkboxes information ( #77375 )
...
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com>
Co-authored-by: Juan Cabanas <juan.cabanas@grafana.com>
2023-11-21 15:02:47 -03:00
Jev Forsberg
4275f2dc8c
Chore: Update e2e selectors for Transformations ( #78426 )
...
* baldm0mma/e2e_selector_migration/ update labels
* baldm0mma/e2e_selector_migration/ run prettier
* baldm0mma/e2e_selector_migration/ add test
* baldm0mma/ update results
* baldm0mma/e2e_selector_migration/ update betterer
2023-11-21 09:31:56 -07:00
Haris Rozajac
5b9097e7ff
Explore: Wrap RawPrometheusContainer with PanelChrome ( #78084 )
...
* Use LoadingState type for loading prop
* Fix test
2023-11-21 09:17:41 -07:00
Leon Sorokin
d1cffdc58a
HeatmapTooltip: Refactor to simplify upcoming PRs ( #78436 )
2023-11-21 10:16:45 -06:00
Torkel Ödegaard
0119a9f0f2
DashboardScene: Fixes focus panel z-index issue ( #78474 )
2023-11-21 16:23:03 +01:00
Juan Cabanas
cbb607b36f
Revert "Panel: omit query API call when the panel is a row ( #75847 )" ( #78475 )
2023-11-21 12:00:03 -03:00
Torkel Ödegaard
2d9f5a6b71
DashboardScene: Fixes wrapping panel time override ( #78470 )
2023-11-21 15:30:22 +01:00
kay delaney
9e11779921
Chore: Clean up usage of deprecated stylesFactory function ( #78419 )
2023-11-21 14:01:53 +00:00
Kristina
165de515cd
Explore: Default synced to true, only show synced status if panes are split ( #77759 )
...
* Default synced to true, only show synced status if panes are split
* Don’t default sync to true until split happens, handle syncing when init or history change sync happens
* Sync times if origin pane and new pane have the same range
2023-11-21 07:55:01 -06:00
Aditi Patel
bd6f8e6ef7
fix: Explore -Tables missing vertical spacing ( #78149 )
...
* fix: added vertical space to tables
* chore: used theme for spacing
* fix: extended themeable2
* test: fixed TableContainer test with theme
2023-11-21 12:20:57 +00:00
Javier Ruiz
ee42f41e0e
[sceneVariablesSetToVariables]: Manually check variable type, instead of instanceof ( #78407 )
...
Check type instead of instanceof, manually type variable
2023-11-21 10:40:30 +01:00
Ivan Babrou
860b3bbce7
Dashboards: Implement natural sort for query variables ( #78024 )
2023-11-21 10:17:38 +01:00
Torkel Ödegaard
d03b291eed
Explore: Fixes issue with adhoc filters when coming from dashboards ( #78339 )
2023-11-20 20:22:01 +01:00
Adela Almasan
e4fb112d6e
Auto-generate: Scrollable history container ( #77895 )
2023-11-20 12:01:25 -06:00
Torkel Ödegaard
d70d939294
DashboardScene: Basics stubs for starting with editviews (dashboard settings) ( #78209 )
2023-11-20 18:19:30 +01:00
Ben Sully
35b1e49024
Alerting: Add actions extension point to alert instances table view ( #77900 )
...
This PR adds a new [extension point][] to each row of the
alert instances table. This allows plugins to add actions
to a dropdown menu in the rightmost column of the table.
Those actions are passed the alert instance so can use it
for contextual handling.
See https://github.com/grafana/machine-learning/pull/3461
for an example of how this can be used (e.g. by Grafana Sift
here).
2023-11-20 17:43:36 +01:00
Haris Rozajac
499915ff9a
Explore: Rename RichHistoryCard for clarity and consistency ( #78358 )
...
Rename for clarity and consistency
2023-11-20 07:16:08 -07:00
Ieva
87c3703a0d
Data sources: show data source menu to users who only have access to create a data source ( #78347 )
...
* show data source menu to users who only have access to create a data source
* return early if missing permissions
2023-11-20 13:59:02 +00:00
Giordano Ricci
53642b60ed
Explore: handle URLs parse errors ( #77784 )
...
* Explore: handle URLs parse errors
* minor modifications
* tentative fix
* update docs
* omit v0 params from the final url
* Apply suggestions from code review
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
* remove safeParseJson, make parse return an object
---------
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2023-11-20 13:54:00 +00:00
Levente Balogh
12c245720c
Plugins: Share plugin context with the component-type extensions ( #78111 )
...
feat: wrap component type extension with plugin context
2023-11-20 14:43:11 +02:00
Esteban Beltran
cfc67a9e2d
Sandbox: do not load grafana signed app plugins into the sandbox ( #78334 )
...
* Sandbox: do not load grafana signed app plugins into the sandbox
* remove unused dependency
2023-11-20 12:00:31 +01:00
Nathan Marrs
0088fe0211
Docs: Update transform docs ( #78290 )
2023-11-17 12:53:04 -08:00
Kyle Cunningham
b9fa9d4a11
Timeseries to table transformation: Improve time series detection ( #77841 )
...
* Improve time series detection
* Prettier
* Add test
* Update packages/grafana-data/src/dataframe/utils.ts
Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com>
* Ensure correct time field support and set maximum size
* Look at each field to see if they are time series
* Add further tests
* Prettier
---------
Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com>
2023-11-17 14:52:26 -06:00
Alex Khomenko
2976f0ebe6
Admin: Fix Stack direction ( #78320 )
2023-11-17 14:08:41 +02:00
Ivan Ortega Alba
f32f8a160e
SaveDashboard: Reduce time to open drawer when many changes applied ( #78283 )
2023-11-17 10:02:53 +01:00
Nathan Marrs
7397f975b6
Transformations: Support enum field conversion ( #76410 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2023-11-16 09:44:30 -08:00
Galen Kistler
1dec96ebe7
Logs Panel: Table UI - Multiple dataframes (queries) ( #77589 )
...
* Add dropdown to logs table UI to allow users to select which dataFrame to visualize in the table
2023-11-16 10:42:28 -06:00
Piotr Jamróz
3d4940cf85
QueryHistory: Improve test performance ( #78255 )
...
Improve performance
2023-11-16 15:06:37 +01:00
Ashley Harrison
2c0c51a0df
Chore: improve types ( #78126 )
...
* fix some types
* more type updates
* some more fixes
* more changes
* string instead of unknown
* more like original logic
* remove outdated comment
* update betterer
2023-11-16 12:39:12 +00:00
Matias Chomicki
9cb303c3f7
Log Rows: Added popover menu with filter options when a log line is selected ( #75306 )
...
* LogRow: detect text selection
* LogRow: refactor menu as component
* LogRow: add actions to menu
* LogRow: hack menu position
* Remove unsused imports
* LogRowMessage: remove popover code
* PopoverMenu: refactor
* LogRows: implement PopoverMenu at log rows level
* PopoverMenu: implement copy
* PopoverMenu: receive row model
* PopoverMenu: fix onClick capture issue
* Explore: add new filter methods and props for line filters
* PopoverMenu: use new filter props
* Explore: separate toggleable and non toggleable filters
* PopoverMenu: improve copy
* ModifyQuery: extend line filter with value argument
* PopoverMenu: close with escape
* Remove unused import
* Prettier
* PopoverMenu: remove label filter options
* LogRow: rename text selection handling prop
* Update test
* Remove unused import
* Popover menu: add unit test
* LogRows: update unit test
* Log row: hide the log row menu if the user is selecting text
* Log row: dont hide row menu if popover is not in scope
* Log rows: rename state variable
* Popover menu: allow menu to scroll
* Log rows: fix classname prop
* Log rows: close popover if mouse event comes from outside the log rows
* Declare new class using object style
* Fix style declaration
* Logs Popover Menu: add string filtering functions (#76757 )
* Loki modifyQuery: add line does not contain query modification
* Elastic modifyQuery: implement line filters
* Modify query: change action name to not be loki specific
* Prettier
* Prettier
* Elastic: escape filter values
* Popover menu: create feature flag
* Log Rows: integrate logsRowsPopoverMenu flag
* Rename feature flag
* Popover menu: track interactions
* Prettier
* logRowsPopoverMenu: update stage
* Popover menu: add ds type to tracking data
* Log rows: move feature flag check
* Improve handle deselection
2023-11-16 11:48:10 +02:00
Andres Martinez Gotor
05cf8c9253
Bug Fix: Only display latest version if a plugin is not installed ( #78178 )
2023-11-16 10:47:42 +01:00
Alex Khomenko
d641f9153e
Grafana/ui: Move Grid out of unstable ( #78220 )
...
* Grafana/ui: move Grid out of unstable
* Update docs
2023-11-16 07:23:22 +02:00
Kristina
1ebdf390e6
Correlations: Only show original field list in transformation field list ( #78230 )
...
Only show original field list in transformation field list
2023-11-15 15:06:36 -06:00
Piotr Jamróz
64d05e009a
Correlations: Ensure datasource uid property exists when a link is created ( #78167 )
...
Ensure datasource uid property exists
2023-11-15 21:56:21 +01:00
Alex Khomenko
441403729f
Grid: Make props responsive ( #78214 )
...
* Grid: Make props responsive
* Make 'columns' and 'minColumnWidth' mutually exclusive
* Cleanup
2023-11-15 18:49:27 +02:00
Giordano Ricci
42a3f36c18
Explore: Fix queries (cached & non) count in usage insights ( #78097 )
...
* Fix: Fix queries (cached & non) count in usage insights
* also keep deprecated error property
* Fix & refactor tests
2023-11-15 16:32:28 +00:00
Dominik Prokop
0122f7ccad
DashboardScene: Support dashboard links ( #77855 )
...
* MenuItem: Allow react node as label
* LinkButton: Expose ButtonLinkProps
* Typecheck fix
* DashboardLinks: Refactor and use LinkButton and menu
* DashbaordLinks scene object
* Use flex layout for dashboard controls
* Update public/app/features/dashboard/components/SubMenu/DashboardLinksDashboard.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* fix keepTime and includeVars
* Add ellipsis to menu item label and description
* Use DashboardLink type from grafana/schema
* Update dashboard scene controls layout
* Fix e2e
* Test fix
* Bring back keyboard navigation
* Remove unused code
* One more fix
---------
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2023-11-15 17:49:51 +02:00
Torkel Ödegaard
dfa506857a
SharedQueryProvider: Fixes issue when source panel query runner is waiting for container width ( #78199 )
...
SharedQueryProvider: Fixes issue when source panel is not active and is waiting for container width
2023-11-15 16:49:37 +01:00
Haris Rozajac
2a675d5905
Explore: Refactor RichHistory.tsx into a functional component ( #78144 )
...
* Refactor to functional component
* Remove theme as it's unused
2023-11-15 07:15:55 -07:00
Dominik Prokop
384db8e0ca
DashboardScene: Add macro for interpolating __dashboard variable ( #78172 )
...
* DashbaordScene: Add macro for interpoladint __dashboard variable
* Review
* Test fix
* Test fix
2023-11-15 04:05:54 -08:00
Torkel Ödegaard
1f1d348e17
DataTrails: Auto query, explore and breakdown/drilldown prototype ( #77019 )
...
* First try
* Update
* app with drilldowns
* Progres
* Progress
* update
* Update
* update
* Update
* Update
* Progress
* Update
* Progress
* Update
* Progress
* logs url sync
* related metrics
* Progress
* progress
* Progress
* Update
* Update
* Update
* Update
* Update
* fix
* Update
* update
* Update
* update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* update
* Update
* Update
* Settings
* Update
* Tweaks
* update
* Improve auto queries
* Update
* Update
* Fixes
* Update
* Update
* Update
* fix
* Update
* Removing logs view, cleanup
* Update
* Update
* disabled not implemented buttons
* Update
* Feature toggle on dashboard menu
* remove unused prometheus change
* removed bit
* Fix failing test
* chore: added `/public/app/features/trails/` to CODEOWNERS
* go mod tidy
* go mod tidy
* fix: added missing arg
* Moved panel action
* Moved panel action
---------
Co-authored-by: André Pereira <adrapereira@gmail.com>
Co-authored-by: Darren Janeczek <darren.janeczek@grafana.com>
2023-11-15 11:28:29 +00:00
Ivana Huckova
c0a866d7c7
Logs: For LogLines frames, don't show additional fields in log details ( #78109 )
...
* Logs: Don't use other fields in log details for log details
* Reorder variables
* Update comment
* Update comment
2023-11-15 12:02:32 +01:00
Torkel Ödegaard
f7e5689305
Variables: Add support for aliasIDs to datasource variables (Fixes issue with Postgres datasource variables) ( #78170 )
...
* Variables: Add support for aliasIDs to datasource variables
* remove file
2023-11-15 11:18:21 +01:00
Óscar Erades
20f541d7e7
Transformations: Fix Timeseries to table transformation trend reduction when result is 0 ( #78026 )
...
* Transformations: Fix Timeseries to table transformation trend reduction when result is 0
When reduceField function returns 0, the reduced value is set to null. I
think we can remove this "|| null" statement, as:
- There is a check a few lines above to make sure the field type is a number. This might be a reasonable guarantee that the calculation we are doing will make sense and there will be no need to set to null.
- Sparkline cell type already has an option to hide value if we believe the calculation
does not make sense.
Fixes #78025
* make sure we check for undefined
---------
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
2023-11-15 10:12:04 +01:00
Lucy Chen
384e024955
Task: Add tracking dashboard toolbar options ( #77524 )
...
* add tracking for toolbar
* Add favorite
* add timepicker
* add reusable analytics file
* change the refresh and zoom click prop function
* add interaction for timepicker
* decouple tracking code
* update naming of function
* Update packages/grafana-ui/src/components/DateTimePickers/TimeRangePicker.tsx
Co-authored-by: Juan Cabanas <juan.cabanas@grafana.com>
* use useEffect
* remove prop from useEffect
* destructure prop
* add dependency on useEffect
---------
Co-authored-by: Juan Cabanas <juan.cabanas@grafana.com>
2023-11-14 13:37:43 -05:00
kay delaney
d0180957d1
Scenes/ShareModal: Implement public dashboard tab ( #76837 )
...
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2023-11-14 17:05:24 +00:00