Lucy Chen
6708848056
Add tracking dashboard toolbar options v2 ( #78237 )
...
* Add share, save, add tracking
* change event name
* revert naming
* change naming of action
2023-11-27 09:53:48 -05:00
ismail simsek
5eae18c166
InfluxDB SQL: Don't show dataset dropdown ( #78553 )
...
* Don't show dataset dropdown
* Default dataset is iox
* introduce sql dialect
2023-11-27 15:23:54 +01:00
Sven Grossmann
177496a686
Loki: Filter by labels based on the type of label (structured, indexed, parsed) ( #78595 )
...
* add label addition based on labeltype
* add `logRowToDataFrame`
* change to single row dataframe
* add documentation
* add tests for `LogDetailsRow`
* add tests for datasource
* remove row
* update tests
* fix tests
* PR comments
* removed comment
* add comment
* remove params
* remove unused jsdoc
* move `getLabelTypeFromFrame` to `languageUtils`
* add tests
* remove `refId` and use `frame`
* fix tests
* Update public/app/plugins/datasource/loki/modifyQuery.ts
2023-11-27 14:29:00 +01:00
Matias Chomicki
5db420619d
Logs Popover Menu: close menu on right click ( #78674 )
...
LogRows: close menu on right click
2023-11-27 12:36:55 +00:00
Dominik Prokop
703deeff0b
DashboardScene: Add time picker keybindings ( #78632 )
...
* grafana/data: Add time range zoom out util
* Add keybindings for time range zoom out
* TimeRangePicker: change the way absolute time range is detected
* Depend on dashboard scene tructure rather
* Revert "grafana/data: Add time range zoom out util"
This reverts commit bc1602db57
.
* Lint
* Lint
* dashboardSceneGraph tests
2023-11-27 00:32:23 -08:00
Ezequiel Victorero
0f25f18739
Analytics: Refactor dashboard sharing analytics ( #78612 )
2023-11-24 15:10:48 -03:00
Darren Janeczek
53e6182257
Data-trails: prevent creating new metrics node when clicking on historical metric node ( #78569 )
...
* fix: prevent creating new metrics node when clicking on historical metric node
* Adding some initial tests
---------
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2023-11-24 11:21:19 -05:00
Oscar Kilhed
ab982e7bd3
Transformations: Add regression analysis transformation ( #78457 )
...
* regression analysis first dragt
* Swap to better regression libraries
* fix name
* Interpolate x points instead of using source x points
* clean up ui and add feature toggle
* fix merge error
* change to loop for finding min max, rename resolution
* Add docs
* add docs and tests
* change name to regression analysis
* update docs
* Fix editor labels
* add regression images
* fix docs
2023-11-24 15:49:16 +01:00
Torkel Ödegaard
54bca5e590
DashboardSchema: Remove some old panel types ( #78590 )
2023-11-24 14:53:28 +01:00
Esteban Beltran
02a079e64a
Plugins: Fix outline for elements inside a plugin page ( #78004 )
2023-11-24 14:21:17 +01:00
Ashley Harrison
441d24f955
Chore: Remove some gf-form
classes ( #78601 )
...
* remove some gf-form
* couple more transformations
* clean up Playlists
* review comments
* fix unit tests
2023-11-24 12:09:09 +00:00
Torkel Ödegaard
a98a39c418
DashboardScene: Fixes angular panels inside collapsed rows ( #78532 )
...
* DashboardScene: Fixes angular panels inside collapsed rows
* Update
2023-11-23 15:15:36 +01:00
Joey
4f46fb412c
Tempo: Embed flame graph in span details ( #77537 )
...
* Embed flame graph
* Update test
* Update test
* Use toggle
* Update test
* Add tests
* Use const
* Cleanup
* Update profile tag
* Move flame graph out of tags, remove request and other cleanup + tests
* Update test
* Set flame graph by profile id and simplify logic
* Cleanup and redrawListView
* Create/use feature toggle
2023-11-23 13:36:53 +00:00
Domas
2402ad67af
Chore: Update "Observability" nav group subtitle ( #78579 )
...
Update observability nav group subtitle
2023-11-23 13:53:40 +02:00
Dominik Prokop
58a0ff7459
DashboardScene: Share library panel ( #78421 )
...
* DashboardScene: Share library panel
* Add menu item to create library panel
* Test update
2023-11-23 03:30:25 -08:00
Ashley Harrison
5355131aed
Tab: Only make Tab
an anchor if a href
is passed ( #78540 )
...
* initial work
* only make the tab an anchor if it has a href
* move things around for smaller diff
* use content()
* eslint-disable the type assertions
* extract props into common object and add missing return statement
2023-11-23 10:51:07 +00:00
Ieva
778841cabe
Annotations: Remove dashboard permission checks for annotations ( #78352 )
...
remove checks for access to dashboard if FlagAnnotationPermissionUpdate is enabled
2023-11-23 10:47:37 +00:00
Matias Chomicki
02068662c1
Logs: create DataSourceWithQueryModificationSupport + determine popover menu support ( #78322 )
...
* DataSourceWithQueryModificationSupportSupport: create interface
* Loki: implement DataSourceWithQueryModificationSupportSupport
* Elasticsearch: implement DataSourceWithQueryModificationSupportSupport
* DataSourceWithQueryModificationSupportSupport: add type guard
* DataSourceWithQueryModificationSupport: rename
* Check for nullish values in guards
* Logs container: replace support map with ds instances map
* Log rows: refactor deselection listener
* Formatting
* Formatting
* DataSourceWithQueryModificationSupport: add missing comment
* Logs container: update method name
* Logs container: check for query modification support
* Create QueryFixType
* QueryFixAction: move back to ds types
* getSupportedQueryModifications: update signature
* getSupportedQueryModifications: update signature
2023-11-23 11:04:23 +01:00
Nathan Marrs
d269a123e7
XYChart: Minor improvements ( #78506 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2023-11-22 11:50:02 -08:00
Ashley Harrison
4290ed3d86
Chore: Remove newBrowseDashboards
feature toggle ( #78190 )
...
* remove all the things
* fix OldFolderPicker tests
* i18n
* remove more unused code
* remove mutation of error object since it's now frozen in the redux state
* fix error handling
2023-11-22 15:22:00 +00:00
Galen Kistler
392a4342a8
Logs Panel: Table UI - Time range changes not reflecting in table ( #78500 )
...
* add hook to update selected dataframe when time range changes
2023-11-22 07:15:29 -06:00
Dominik Prokop
d0b1ceb7d4
DashboardScene: Support Textbox variables ( #78525 )
2023-11-22 04:43:27 -08:00
Levente Balogh
503176603f
Plugins: Support markdown in custom plugin deprecation messages ( #78251 )
...
* feat: support markdown in custom deprecation messages
* fix: use a div wrapper for rendered markdown
* feat: update the default deprecation message
2023-11-22 14:20:58 +02:00
Ieva
9a3b2937aa
Data sources: Refactor logic for naming new data sources ( #78479 )
...
* move the name finding logic for new data sources from frontend to backend
* cleanup and fix test
* linting
* change the way the number after the ds type is incremented - keep incrementing it without adding more hyphens
* enterprise spec updates (unrelated to the PR)
2023-11-22 09:57:26 +00:00
Sonia Aguilar
2acf153a26
Alerting: Simplify routing in alert form - part1 ( #78040 )
...
* Add routing option tabs
* Use alertingSimplifiedRouting feature toggle
* Move simplified routing tab to a separate component:SimplifiedRouting
* Populate contact point selector with the right values
* Show alert manager icons
* Fix descriptions
* Remove clear button on ContactPointSelector and save updated reducer state in the form
* Load contact points and manual option from rule data in RuleFormValues
* make contact point selector not clearable
* Refactor
* Add link to contact points view
* Move ContactPointSelector to a separate file
* Refactor: move hoook useReceiversMetadataMapByName to a separate file
* Update Need more info texts
* Address some PR review comments
* Use useContactPointsWithStatus hook and wrap each ContacPointSelector with AlertmanagerProvider
* use getAlertManagerDataSourcesByPermission instead of useGetAlertManagersMetadata in NotificationPreview
* Update enum
* Remove css style
* remove console
* update contact point selector
* file cleanup
* adds summary as description
* Update text in manual tab
* Fix preview routing not checking if alert manager can handle grafana alerts
* Fix typo
* remove unused location form field
* fix prettier
* fix test
* Remove unused location form field from AlertRuleNameInput
* Only use internal AlertManager for now
---------
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2023-11-22 10:15:33 +01:00
Javier Ruiz
b7a332276a
[sceneVariablesSetToVariables]: Use type guards from scenes to type variable ( #78488 )
...
* Update grafana/scenes version to 1.24.0
* Use type guards to properly type variables
* Update scenes to version 1.24.1
2023-11-22 09:47:44 +01:00
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