Commit Graph

19375 Commits

Author SHA1 Message Date
Gilles De Mey
7dbbdc16a3
Alerting: useAbility hook for alert rules (#78231) 2023-11-28 11:48:42 +02:00
Todd Treece
529271d7a8
Perf: Disable core kind registry (#78568)
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2023-11-28 09:09:54 +01:00
Sven Grossmann
a73be4b963
Loki: Cancel inflight /stats requests when new requests are issued (#78654)
* add requestId to stats requests

* add `exploreId`

* change from `exploreId` to `useId`

* change ref id

* add comment
2023-11-27 19:36:53 +01:00
Adela Almasan
4aea1107b3
Tooltip: Improved Trend tooltip (#77251)
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2023-11-27 12:12:24 -06:00
Dominik Prokop
5015b5b2b0
DashboardScene: Add inspect submenu to panel menu (#78679)
* DashboardScene: Add inspect submenu to panel menu

* Test fix
2023-11-27 08:23:16 -08:00
Khushi Jain
b7c74a1af6
Alerting: Migrate from aria-label e2e selectors to data-testid (#78437)
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2023-11-27 16:24:31 +01:00
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
Jack Westbrook
1112e9006b
Bug: Fix broken ui components when angular is disabled (#78208)
fix(frontend): move bootstrap import to app so disabling angular doesnt break ui
2023-11-27 10:43:55 +01: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
Fabrizio
6c7beb1ec3
Tempo: Allow quotes in tag names and attributes (#77864) 2023-11-24 17:24:40 +01: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
John Martins
4f5db5f177
Azure Monitor: Add Azure Infrastructure Monitoring Dashboard (#78498)
Add Azure Infrastructure Monitoring dashboard
2023-11-24 14:58:48 +02: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
Ivana Huckova
8a7eb4b484
Loki: Refactor template variable logic and remove reliance on timeSrv (#78586)
* Loki: Refactor variables support to reuse loic

* Remove redundant methods

* Make parseStringToVariableQuery private
2023-11-24 12:52:29 +01:00
Ivana Huckova
9306020426
Loki: Update getStats logic and remove reliance on timeSrv (#78603)
* Loki: For stats queries, use timeRange provided by query editor

* Add comment

* Update public/app/plugins/datasource/loki/components/LokiQueryEditor.tsx

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Rebane variable

---------

Co-authored-by: Matias Chomicki <matyax@gmail.com>
2023-11-24 11:38:36 +01:00
Ivana Huckova
0893fa1e84
Loki: Fix trailing comma in renderers for json, logfmt, keep and drop operations (#78594)
* Loki: Fix renderers for json, logfmt, keep and drop pipe operations

* Make spacing and trimming more consistent

* Fix
2023-11-23 15:39:10 +01: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
Sven Grossmann
be157399d0
Loki: Add structured metadata keys to autocomplete (#78584)
* wip

* remove import

* scope to monaco completions for now

* use `LabelType` enum

* change strucutred metadata documentation

* fix import

* add `responseUtils` tests

* update tests

* fix completions.ts tests

* fix LabelType enum

* fix CompletionDataProvider test
2023-11-23 13:26:57 +01:00
Domas
2402ad67af
Chore: Update "Observability" nav group subtitle (#78579)
Update observability nav group subtitle
2023-11-23 13:53:40 +02:00
Brendan O'Handley
7cf173b651
Opentsdb: Add variables to select when interacting with the metric select (#78558)
add variables to select when interacting with the metric select
2023-11-23 12:32:35 +01: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
Josh Hunt
05070385cd
Chore: Refactor TimeRangePicker for aria-label selectors (#78399)
* Change from aria-label to data-testid for e2e selectors

* translate

* update tests

* swap buttons:
2023-11-23 10:39:26 +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
Ivana Huckova
fd5f66083c
Loki: Move convertToWebSocketUrl from Explore to Loki (#78542)
* Move convertToWebSocketUrl to Loki

* Add tests

* Fix test
2023-11-23 11:43:48 +02:00
Jo
5dd5ed9b30
SignedInUser: Only register echo backend if user is signed in (#78545)
fix SignedIn checks
2023-11-23 10:11:53 +01:00
ismail simsek
2e756395f7
InfluxDB SQL: Fix sql query template variable interpolation (#78557)
interpolate sql too
2023-11-23 08:06:20 +01:00
Adela Almasan
5b851d7410
Timeseries: Remove cursor sync when x is not time (#78496) 2023-11-22 16:23:16 -06: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
4247696402
DockedMegaMenu: Keep undock button (#78461)
* dock undock smoothly

* handle keyboard focus

* use ref instead of state

* run i18n:extract

* undo this change

* make dock/undock first button to focus

* only focus when going to docked, add comment

* minor tweaks
2023-11-22 15:56:36 +00:00
Ashley Harrison
b5d1c8874b
Breadcrumbs: Only dedupe the lowest child node of sectionNav (#78279)
only dedupe sectionNav leaf node
2023-11-22 15:36:49 +00: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
ismail simsek
1910a734a6
Chore: Don't show hint for recorded queries (#78422)
Don't show hint on recorded queries
2023-11-22 15:16:06 +01:00
Ivana Huckova
4fd1d92332
Loki: Remove relying on timeSrv.timeRange in LanguageProvider (#78450)
* Loki: Allow setting of timeRange when using languageProvider functions

* Loki: Use timerange where available for start

* Loki: Use timerange where available for fetchLabels

* Loki: Use timerange where available for fetchSeriesLabels

* Loki: Use timerange where available for fetchLabelValues

* Loki: Use timerange where available for getParserAndLabelKeys

* Loki: Update and add tests for fetchLabels

* Loki: Update and add tests for fetchSeriesLabels

* Loki: Update and add tests for fetchSeries

* Loki: Update and add tests for fetchLabelValues

* Loki: Update and add tests for fetchLabelValues

* Loki: Update and add tests for getParserAndLabelKeys

* Update public/app/plugins/datasource/loki/LanguageProvider.test.ts

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update public/app/plugins/datasource/loki/LanguageProvider.test.ts

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Not needing to use languageProvider.getDefaultTime in Monaco

* Update comment

* Update getDefaultTimeRange to be ptivate

---------

Co-authored-by: Matias Chomicki <matyax@gmail.com>
2023-11-22 14:35:15 +01: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
Ivana Huckova
02090f71d2
@grafana/data: Add serializeParams (#78468)
* Move serializeParams to @grafana/data

* Update comment

* Update solution in Tempo

* Fix type assertions

* Use toUrlParams in serializeParams

* Update data sources

* Update

* Update packages/grafana-data/src/utils/url.ts
2023-11-22 13:15:29 +01: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
Ihor Yeromin
bb316a7c24
Status History: Improve tooltip (#76647)
* feat(state-timeline-tooltip): improve status history tooltip

Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2023-11-22 09:55:29 +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
Ivana Huckova
0e44438d08
Loki: Change import for CustomVariableModel and remove unnecessary import of initialCustomVariableModelState (#78456) 2023-11-21 16:28:02 +01: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
Matias Chomicki
d85f03ec26
Loki: Fix conditional for derived fields using regex type (#78464)
Derived fields: fix conditional for regex fields
2023-11-21 14:37:05 +01: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
Ivana Huckova
9200e17b18
Loki: Use TemplateSrv from @grafana/runtime (#78196)
Loki: Use TemplateSrv from grafana/runtime
2023-11-21 10:11:11 +01:00
Kevin Yu
7f7d912af7
CloudWatch: Call query method from DataSourceWithBackend to support public dashboards (#77532)
* CloudWatch: call query method from DataSourceWithBackend to support public dashboards

* add test

* remove unneeded properties from test case

* update betterer

* add parens to group related logic

* remove unnecessary aliasing of variable

* use t.Cleanup

* remove redundant check

* add comment
2023-11-20 14:44:22 -08:00
Darren Janeczek
efdfa29fe2
fix: label_values w/ empty filters in prom datasource variable query (#78242)
* fix: handle empty filters in prometheus datasource variable query function `label_values`
2023-11-20 16:36:06 -05:00
Brendan O'Handley
ae164df698
Prometheus: Fix UI bug where a label with empty string shows as populated with the deleted label filter value (#78153)
* preserve label with empty string

* fix side effect of having undefined show up in the editor select for value

* re render label item when label filters change
2023-11-20 21:33:16 +02: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
Ida Štambuk
b56d7131bd
Cloudwatch: Migrate Config editor and Variable editor to new form stying under feature toggle (#77838) 2023-11-20 14:40:02 +01: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
Brendan O'Handley
13d67be0a9
Prometheus: query builder, handle regex in parentheses for label filters value (#78238)
handle regex in parentheses for label filter value
2023-11-17 21:59:47 -05: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
Nathan Marrs
3e08abff3b
Gauge: Simplify gauge dimension panel options (#76216)
Co-authored-by: Ihor Yeromin <yeryomin.igor@gmail.com>
2023-11-17 21:59:30 +02:00
Fabrizio
f3b23611c5
Tempo: Allow !~ in Search tab (#78315) 2023-11-17 17:10:28 +01: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
Ivana Huckova
792edfb293
Loki: Fix import for intervalToMs (#78265)
* Loki: Use TemplateSrv from grafana/runtime

* Loki: Fix import for intervalToMs

* Revert "Loki: Use TemplateSrv from grafana/runtime"

This reverts commit d573925e37.
2023-11-16 15:08:45 +01:00
Piotr Jamróz
3d4940cf85
QueryHistory: Improve test performance (#78255)
Improve performance
2023-11-16 15:06:37 +01:00
Gilles De Mey
2659409191
Breadcrumbs: Only dedupe breacrumb items for matching node names (#78077)
only dedupe breactumb items for matching node names
2023-11-16 13:46:25 +00:00
Gilles De Mey
0e5ce50b90
Page: Add support for tab counters (#78127) 2023-11-16 13:31:14 +00: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
Ben Tasker
f38f657f87
InfluxDB: Add new truthiness operators (Is and Is Not) to InfluxQL Query Builder (#77923)
* InfluxDB: Add new truthiness operators (`Is` and `Is Not`) to InfluxQL Editor for use with boolean fields

* InfluxDB: Make the front-end aware of the new operators so that translation between raw and builder works

* Chore: Add tests

* feat: identify type of field value to allow other types to work with Is/Is Not

Tags: always quote
Integer: Don't quote
Float: Don't quote
Boolean: Don't quote
String: Quote

* Chore: Add test-cases for type inference

* Update front-end to infer type for operators Is and Is Not

* chore: Add front-end tests

* chore: add additional front-end tests

* chore: fix failing lint test

* chore: fix tests (run prettier)
2023-11-15 21:10:37 +01:00
Brendan O'Handley
b5429a456c
Prometheus: Query advisor new rudderstack events (#78218)
add event for yesno, no. of prompts per session, suggest instead
2023-11-15 13:11:40 -05: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
Virginia Cepeda
05febc4665
Alerting: Allow to clear datasource selection in panel list (#77960)
* Allow to clear datasource selection

Also improve texts for linked alerts switch

* Remove onClear prop as it does not work

* Change text on datasource selection filter

* Change datasource filter description
2023-11-15 12:48:10 +01: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
Ben Tasker
c06debe200
InfluxDB: Add support for >= and <= comparison operators to IQL Query Builder (#77917)
* InfluxDB: Add support for `>=` and `<=` comparison operators to InfluxQL Query Builder

* Add front-end support for the new operators

This ensures that the query translates correctly between raw and builder mode

* Chore: add test for new operators

* chore: add front-end tests

* fix: don't skip quoting on `<>`

This preserves the pre-existing behaviour, fixing a failing test

* chore: fix tests
2023-11-15 12:21:41 +01:00
Ashley Harrison
4ebfce8b9a
Accessibility: Increase contrast of MonacoQueryField placeholder (#78176)
increase contrast of promqueryfield placeholder
2023-11-15 11:11:42 +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
linoman
408dab8c57
IAM: Protect managed service account frontend details page (#77839)
* Add `isManaged` property to frontend model

* Remove enabled and token buttons for managed SA

* Replace trash icon for lock icon for managed SA

* Block the role picker for managed SA

* Filter SA list usiong the managed filter

* Rename external for managed

* Add only managed filter

* Toggle the enable buttons for managed sa

* Disable add token and delete token buttons

* Remove the edit name button

* Disable the Role picker for managed sa

* Hide the permissions section

* Add managed by row

---------

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
2023-11-14 17:52:48 +01:00
Zodan Jodan
3b9886830e
Loki: fix missing entries when there arent any derived fields (#78123)
pushing nulls for log entries that does not have a derived field to preserve the order of log data derived fields
2023-11-14 17:10:28 +01:00
ismail simsek
656808a41b
InfluxDB: Fix multi variable interpolation (#78068)
fix special variable escape
2023-11-14 16:59:34 +02:00
Zodan Jodan
53758ad764
Loki: Option to add derived fields based on labels (#76162)
* Plugin: Deriving fields by name from parsed logs

Loki only derives fields by a regex matcher, this limits its usage when functions such as `line_formatter` is used on
top of the logs.
Some users already have logs parsed in json or logfmt structure which are detected as fields in loki.
This pull request allows the mapping between detected fields values and derived values by matching the fields' names.
Currently the feature is behind `lokiEnableNameMatcherOption` feature toggle.

* improve settings page to have a `fieldType`

* improve derived fields getter to use `matcherRegex`

* fix failing test

* rename feature toggle to `lokiDerivedFieldsFromLabels`

* added suggestions from review

* add empty config object

* remove feature flag

* fix width of select

* default to `regex` derived field

* fix failing test

---------

Co-authored-by: Sven Grossmann <svennergr@gmail.com>
2023-11-14 15:06:02 +01:00
Khushi Jain
f41f939c1c
i18n: Markup up correlations forms for translations (#75264)
* correlations/forms

* Update public/app/features/correlations/Forms/ConfigureCorrelationBasicInfoForm.tsx

Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>

* Update public/app/features/correlations/Forms/ConfigureCorrelationBasicInfoForm.tsx

Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>

* Update public/app/features/correlations/Forms/ConfigureCorrelationBasicInfoForm.tsx

Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>

* Update public/app/features/correlations/Forms/ConfigureCorrelationBasicInfoForm.tsx

Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>

* Added rest of filed

* minor-changes

* map function

* retriggered

* Update public/app/features/correlations/Forms/TransformationsEditor.tsx

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>

* removed whitespace

* removed whitespace

* more changes

---------

Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2023-11-14 14:52:42 +01:00
Juan Cabanas
cf89307428
Dashboards: Update link to documentation in repeated row warning (#77964) 2023-11-14 10:36:39 -03:00
Galen Kistler
a18eee4093
Logs Panel: Table UI - Refactor to use includeByName transformation (#78070)
* remove excludeByName logic from LogsTable.tsx, migrate to includeByName. Update tests
2023-11-14 15:18:47 +02:00
Esteban Beltran
b6d6375e2b
Sandbox: Add setImmediate polyfill (#78093) 2023-11-14 10:40:58 +01:00
Josh Hunt
2f2be24e01
Chore: Remove unnecessary type assertions (#78009)
* Chore: Remove unnecessary type assertions

* betterer
2023-11-14 09:17:29 +00:00
Dominik Prokop
a3ae9d418d
DashboardScene: Alert states data layer (#77945)
* Add AlertStates data topic

* DashboardScene: Alert states data layer

* TMP package json

* Remove duplicated function

* Use latest scenes canry

* Use latest scenes and add transformation test
2023-11-14 00:08:06 -08:00
Levente Balogh
ea12eecac5
Plugins: Keep working when there is no internet access (#77978)
* fix: make connections and plugins-catalog work when GCOM is not available

* fix: remove unused import
2023-11-14 09:49:14 +02:00
Levente Balogh
ea2b493937
Plugins: Share the plugin context with apps and ui-extensions (#77933)
* feat: share the plugin context with app plugins

* feat: share the plugin context ui-extension modals

* feat: pre-fetch the app plugin settings

* feat: expose more utility hooks for plugins

* fix: use `location.pathname` directly

Previously it was referenced by `pluginRoot.props.path`, which stops
working in case the `pluginRoot` element is wrapped with anything.
2023-11-14 08:35:40 +01:00
Ryan McKinley
ea37a116f7
K8s: expose namespace in frontend_settings (#78090)
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com>
2023-11-14 06:34:09 +02:00
Ryan McKinley
1be1432926
K8s: Add subresource to the example apiserver (#78030) 2023-11-14 05:51:58 +02:00
Josh Hunt
4a3c148298
Chore: Stricter typing in type guards (#77809)
* Stricter typing in type guards

* create utility isObject fn

* better isAlertStateWithReason

* better name

* restore "data !== undefined"
2023-11-13 16:11:54 +00:00
Galen Kistler
7617a7a3fc
Transformations: Add includeByName to organize fields transformation (#77797)
* add includeByName inclusion list to transform, update ui to work with either filtering method
2023-11-13 08:59:37 -06:00
Ivana Huckova
c91fc18d31
Loki: Fix escaping in cheatsheet (#78046) 2023-11-13 15:13:40 +01:00
ismail simsek
deea9a7243
Prometheus: Fix updating timeRange on builder mode when range is changed (#78007)
Update languageProvider timeRange when range is changed on builder mode
2023-11-13 14:23:40 +01:00
Torkel Ödegaard
7169bfdb30
DashboardScene: Support templateSrv.getVariables usage (#77910)
Update
2023-11-13 13:13:27 +01:00
Joey
c9faaf7600
Tempo: Fix missing deep span link (#77936)
* Fix span deep link not showing

* Update test
2023-11-13 11:10:19 +00:00
Ashley Harrison
bd85d3e25e
PlaylistPage: Skeleton loading state 💀 (#77992)
* playlist skeleton poc

* refactor into PlaylistCard

* make card actions more responsive, update skeleton color to work on secondary background

* don't loop over array

* fix unit tests
2023-11-13 10:32:42 +00:00
Ieva
eca45f6492
Chore: remove gcomOnlyExternalOrgRoleSync feature toggle (#78001)
remove gcomOnlyExternalOrgRoleSync feature toggle
2023-11-13 09:56:02 +00:00
Torkel Ödegaard
4bc322ca1d
DashboardScene: Pass panel id to PanelProps.id (#77927)
* Panel props id

* Removing panel works

* Update
2023-11-13 09:51:21 +01:00
Gábor Farkas
2d391c1bf5
postgresql: change plugin id (#77444)
* postgres: change plugin id

* fixed cue file

* codeowners update

* fixed backend test
2023-11-13 08:49:26 +01:00
Nathan Marrs
e9e7e0b628
Stat: Add panel option to control wide layout (#77018)
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
Co-authored-by: drew08t <drew08@gmail.com>
2023-11-10 19:42:24 +02:00
siddhikhapare
80b9af3c33
InfluxDB: Remove context menu "remove" option from query builder (#77102)
* remove menu item from query builder

* files changed

* file fixed

* error fixed

* unit test fixed
2023-11-10 16:45:13 +01:00
Oscar Kilhed
721988e931
Transformations: break add field from calculation transformation UI into sub components (#77874)
* break out subcomponents

* prettify

* break out editors into separate files

* update betterer since this is only moving around lint issues

* Fix import
2023-11-10 17:12:34 +02:00
Ezequiel Victorero
225614a513
Snapshots: Remove scenes button from snapshot view (#77997) 2023-11-10 11:44:04 -03:00
Ivana Huckova
cb711660f1
Logs: Use "labels" data frame field if type "other" in log details (#77806)
* Logs: Use labels field if time other

* Keep loki test
2023-11-10 12:54:59 +01:00
Hugo Kiyodi Oshiro
e754c5a6c6
Plugins: Change managed plugins installation call (#77120) 2023-11-10 12:28:36 +01:00
Ieva
6097ff255c
Dashboards: Fix dashboard listing when user can't list any folders (#77983)
* return empty list of folder if the user doesn't have the permissions to view folders

* fix the empty folder list initialisation
2023-11-10 11:27:53 +00:00
Giuseppe Guerra
da117aea1c
Plugins: Allow disabling angular deprecation UI for specific plugins (#77026)
* Plugins:Allow disabling angular deprecation UI for specific plugins

* add backend test

* changed test names

* lint

* Removed angular properties from DataSourceDTO

* Update tests

* Move angularDetected and hideAngularDeprecation in angularMeta property

* Fix angular property name in AppPluginConfig

* Fix reference to angularMeta.detected

* Fix hide_angular_deprecation not working for core plugins

* lint
2023-11-10 11:44:54 +01:00
Aditi Patel
95f5bab39b
i18n: Markup QueryEditorRow Component for translations (#76312)
* feat: added markup for query operation header

* chore: generated markup files

* feat: markup PostpreSql cheat sheet

* chore: generated markup files

* chore: removed markup from cheatsheet file

* chore: generated markup files

* chore: added i18n for Data source plugin does not export any Query Editor component

* chore: updated i18n markup files.

* fix: added prefix for for drag and drop label
2023-11-10 09:46:32 +01:00
Alexa V
10269cb7f5
Grafana UI: Add description to Menu component (#77808)
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-11-10 09:32:05 +01:00
Leon Sorokin
ced9fcb94e
StatusHistory/StateTimeline: Re-config plot for tooltip mode in panel edit (#77954) 2023-11-09 11:48:39 -06:00
Ashley Harrison
40fd80c46f
Chore: Various type improvements (#77877)
* more datasource type fixes

* more type updates
2023-11-09 17:39:02 +00:00
Gilles De Mey
323ee7c38c
Alerting: Remove react-enable (#77955) 2023-11-09 18:35:03 +01:00
linoman
5bc4f56c79
IAM: Protect external service accounts frontend list page (#77834)
* Add `isExternal` property to frontend model

* Remove enabled and token buttons for external SA

* Replace trash icon for lock icon for external SA

* Block the role picker for external SA

* Filter SA list using the external filter

* Add only external filter at backend

---------

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2023-11-09 17:45:46 +01:00
Adela Almasan
fcbc3fb879
Dashboard: Add ability to stop title/description generation (#77896) 2023-11-09 09:06:14 -06:00
kay delaney
5f78542366
Dashboards: Prevent shared queries from being unnecessarily re-run (#77490)
* Dashboards: Prevent shared queries from being unnecessarily re-run

* Minor change

* Set solo panel as being viewed

---------

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2023-11-09 06:41:47 -08:00
Esteban Beltran
3a4f73338c
Plugins: Show a not found error page when accessing an app for a not-found plugin (#77922)
* Plugins: Shows a not found error page when accesing an app for a non-found plugin

* Use loadingError in state to verify is a loading error
2023-11-09 15:33:25 +01:00
Andrej Ocenas
494a07b522
Flamegraph: Add collapsing for similar items in the stack (#77461) 2023-11-09 15:31:07 +01:00
Agnès Toulet
bb12fe7d82
UsageInsights: Disable frontend features when backend is disabled (#77772)
* UsageInsights: Disable frontend features when backend is disabled

* Disable DS insights

* Update doc

* fix linter issue

* Update docs/sources/setup-grafana/configure-grafana/_index.md

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>

---------

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-11-09 11:53:20 +01:00
Andres Martinez Gotor
f7361a2755
Chore: Update TestData README (#77607)
Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com>
2023-11-09 10:03:00 +01:00
Zoltán Bedi
22035565d2
SQL: Add timeFilter macro to query builder (#74575)
* Add timeFilter macro to query builder

* Only render SQLWhereRow when fields are there

* Change the default query to timeseries and remove 50 limit

* Add timeFilter macro for the first time when timeSeries

* Add test for timeFilter macro

* Lint fix

* Annotation query format should be table

* Set order by as default

* Revert changes that made time series default

* Fix e2e test

* Fix e2e test

* Make sure to reset the date value when operator is changed

* Add docs
2023-11-09 09:23:26 +01:00
kay delaney
375dcc3813
Chore: Change VariableModel to TypedVariableModel in most places (#76690) 2023-11-08 22:15:29 +00:00
Nathan Marrs
d4a0a2ab88
Auto-generate: Update history link to send user to Grafana LLM plugin page (#77880) 2023-11-08 13:55:03 -07:00
Galen Kistler
13484928a1
Logs Panel: Table UI - Label names that are too long push out usage percentage in table column multi-select (#77824)
make checkbox sticky and scroll within label
2023-11-08 13:44:28 -06:00
Ryan McKinley
dc4aa3e0f6
Snapshots: Hide the share button (#77763) 2023-11-08 11:23:50 -08:00
Daniel Benjamin
4159f47df0
chore: Remove gh-form and LegacyForms from InfluxInfluxQLConfig (#76497)
* chore: Remove gh-form and LegacyForms from InfluxInfluxQLConfig

* chore: Refactor InfluxInfluxQLConfig component UI to use Field
2023-11-08 17:45:03 +01:00
Juan Cabanas
fa468fb17c
TimePicker: Close overlay content when toolbar button is clicked for the second time (#77796)
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-11-08 11:39:37 -03:00
Ezequiel Victorero
5fc3ab801b
PublicDashboards: Add last seen to email sharing users list (#77660) 2023-11-08 11:11:02 -03:00
ismail simsek
3cb92e3460
InfluxDB: Template variable support for SQL language (#77799)
* Only run through with classicQuery if the language is influxql and backend migration is disabled

* Add variable editor

* Simple template variable support

* Show template variables in the drowdowns

* better imports

* unit tests

* it is now 11 just because we add rawSql interpolation in datasource.ts applyVariables method

* fix
2023-11-08 15:00:13 +01:00
Daniel Benjamin
714dd0ec47
Tempo: remove gf-form from TagMappingInput in trace to logs config section (#77835)
ref: remove gf-form from TagMappingInput
2023-11-08 14:31:01 +01:00
Torkel Ödegaard
848efba0de
DashList: Update links with time range and variables change (#77850)
* user essentials mob! 🔱

lastFile:public/app/plugins/panel/dashlist/DashList.tsx

* DashList: Update variables in URL when they change

Co-authored-by: eledobleefe <laura.fernandez@grafana.com>
Co-authored-by: Joao Silva <joao.silva@grafana.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>

* add e2e test to check dashlist variables are always correctly passed

* add comment with link to issue

* Alternative solution

* Minor tweaks

* revert accidental change

* fix

* New solution

* Fix test

* refinement

* Added unit test

* Update devenv/dev-dashboards/panel-dashlist/dashlist.json

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>

---------

Co-authored-by: Joao Silva <joao.silva@grafana.com>
Co-authored-by: joshhunt <josh@trtr.co>
Co-authored-by: eledobleefe <laura.fernandez@grafana.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-11-08 14:08:59 +01:00
Torkel Ödegaard
88f35fc85f
Revert "DashList: Update variables in links when they change" (#77868)
Revert "DashList: Update variables in links when they change (#77787)"

This reverts commit 3e57eacc15.
2023-11-08 14:05:59 +01:00
Josh Hunt
3e57eacc15
DashList: Update variables in links when they change (#77787)
* user essentials mob! 🔱

lastFile:public/app/plugins/panel/dashlist/DashList.tsx

* DashList: Update variables in URL when they change

Co-authored-by: eledobleefe <laura.fernandez@grafana.com>
Co-authored-by: Joao Silva <joao.silva@grafana.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>

* add e2e test to check dashlist variables are always correctly passed

* add comment with link to issue

---------

Co-authored-by: Joao Silva <joao.silva@grafana.com>
Co-authored-by: eledobleefe <laura.fernandez@grafana.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: joshhunt <josh@trtr.co>
2023-11-08 14:04:30 +01:00
Edward Qian
9e346616d0
Set temperature to 0 for promql builder llm features (#77520)
set temperature for openai calls
2023-11-07 22:27:05 -05:00
Gerry Boland
08f6abe4ac
PromQail: use metric type when available else use fallback heuristic (#77702)
* PromQail: query suggester uses metric type if available

* If metadata missing, use heuristic to guess metric type

* Fix linter, fix histogram,summary case

* Fix bug confusing metric with metric family name

* Better method to fetch just metadata from datasource provider
2023-11-07 22:26:39 -05:00
Aaron Sanders
963251b520
Auto-generate: Optimize panel title / description generation (#77661)
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-11-08 01:18:07 +02:00
Brendan O'Handley
1d38edc483
Prometheus: AI assistant add rudderstack events (#77837)
add rudderstack events
2023-11-07 17:39:00 -05:00
Jev Forsberg
a99485ba33
Transformations: Build help content for all standard transformers (#74052)
* baldm0mma/transformation_info_modal

* baldm0mma/transformation_info_modal/ add getDisplayContent

* baldm0mma/transformation_info_modal/ reamove OperationRowHelp

* baldm0mma/transformation_info_modal/ update prepMarkdown

* baldm0mma/transformation_help_modal/ add example mkdwn

* baldm0mma/transformation_help_modal/ add examples anno

* baldm0mma/transformation_info_modal/ add calFieldHelper

* baldm0mma/transformation_info_modal/ remove file

* baldm0mma/transformation_info_modal/ add CalculateFieldHelper

* baldm0mma/transformation_info_modal/ add TransformationEditorHelperModal

* baldm0mma/transformation_info_modal/ add getHelperContent

* baldm0mma/transformation_info_modal/ move TransformationEditorHelperModal

* baldm0mma/transformation_info_modal/ add ReactElement

* baldm0mma/transformations_info_modal

* baldm0mma/transformation_info_modal/ update props for TransformationEditorHelperModal

* baldm0mma/transformation_info_modal/ test

* test

* baldm0mma/transformation_info_modal/ reset vscode auth

* baldm0mma/transformation_info_modal/ update getHelperContent

* baldm0mma/transformations_info_modal/ add items for rebuilding markdown to react component

* test

* test

* baldm0mma/transformations_info_modal/ remove comment in TransformationOperationRow

* test

* baldm0mma/transformation_info_modal/ add element to typing

* baldm0mma/transformation_info_modal/ update getHelperContent with help component

* baldm0mma/transformation_info_modal/ update modal title

* baldm0mma/transformation_info_modal/ move logic to tranforms

* baldm0mma/transformation_info_modal/ remove unused comments

* baldm0mma/transformation_info_modal/ update standard reg

* baldm0mma/trfansformation_info_modal/ remove context styling

* baldm0mma/transformation_info_modal/ add content for CalculateFieldHelper

* baldm0mma/transformation_info_modal/ add ConcatenateHelper

* baldm0mma/transformations_info_modal/ add ConcatenateHelper

* baldm0mma/transformation_info_modal/ add ConfigFromQueryHelper

* baldm0mma/transformations/info_modal/ add ConvertFieldTypeHelper

* baldm0mma/transformation_info_modal/ add CreateHeatmapHelp

* baldm0mma/transformation_info_modal/ add ExtractFieldsHelper

* baldm0mma/transformation_info_modal/ add FilterFieldsByNameHelper

* baldm0mma/transformation_info_modal/ add FilterFieldsByNameHelper

* baldm0mma/transformation_info_modal/ add OperationRowHelp to parse markdown

* baldm0mma/transformation_info_modal/ remove commented out markdown

* baldm0mma/transformations_info_modal/ remove comment

* baldm0mma/transformation_info_modal/ update configFromQueryTransformRegistryItem

* baldm0mma/transformation_info_modal/ update ConcatenateHelper

* baldm0mma/transformation_info_modal/ update ConvertFieldTypeHelper

* baldm0mma/transformation_info_modal/ update ExtractFieldsHelper

* baldm0mma/transformation_info_modal/ update FieldLookupHelper

* baldm0mma/transformation_info_modal/ update TransformationEditorHelperModal with determineContentDisplay()

* baldm0mma/transformation_info_modal/ add FilterByRefIdHelper

* baldm0mma/transformation_info_modal/ add FilterByValueHelper

* baldm0mma/transformation_info_modal/ update file ext

* baldm0mma/transformation_info_modal/ add GroupByHelper

* baldm0mma/transformation_info_modal/ add HistogramHelper

* baldm0mma/transformation_info_modal/ add JoinByFieldHelper

* baldm0mma/transformation_info_modal/ add JoinByLabelsHelper

* baldm0mma/transformations_info_modal/ add LabelsToFieldsHelper

* baldm0mma/transformation_info_modal/ add LimitHelper

* baldm0mma/transformation_info_modal/ add MergeHelper

* baldm0mma/transformation_info_modal/ add PartitionByValuesHelper

* baldm0mma/transformation_info_modal/ add ReduceHelper

* baldm0mma/transformation_info_modal/ add RenameByRegexHelper

* baldm0mma/transformation_info_modal/ add SeriesToRowsHelper

* baldm0mma/transformation_info_modal/ add SortByHelper

* baldm0mma/transformations_info_modal/ add spatial

* baldm0mma/transformation_info_modal/ update to markdown

* baldm0mma/transformation_info_modal/ remove comments

* baldm0mma/transformation_info_modal/ update boarder with theme

* baldm0mma/transformation_info_modal/ add test suite

* baldm0mma/transformation_info_modal/ update tests

* baldm0mma/transformation_info_modal/ update test to run on all transformations

* baldm0mma/transformation_info_modaol/ add TimeSeriesTableHelper

* baldm0mma/transformation_info_modal/ update concatenateHelper

* baldm0mma/transformation_info_modal/ update calculateFieldHelper

* baldmomma/transformation_info_modal/ update naming

* baldm0mma/transformation_info_modal/ update getLinkToDocs location

* baldm0mma/transformation_info_modal/ update docs

* baldm0mma/transformation_info_modal/ update language

* baldm0mma/transformation_info_modal/ rename test

* baldm0mma/transformation_info_modal/ update naming 2

* baldm0mma/transformation_info_modal/ update to helper

* baldm0mma/transformation_info_modal/ update docs

* Apply suggestions from @imatwawana

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>

* baldm0mma/transformation_info_modal/ update convertFieldTypeHelper capitalization

* Hack around with generating Markdown from transformations helpers (#75677)

```console
$ cd docs
$ make sources/panels-visualizations/query-transform-data/transform-data/index.md
$ make docs
```

Browse to http://localhost:3003/docs/grafana/latest/panels-visualizations/query-transform-data/transform-data/

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* baldm0mma/transformation_info_modal/ add calculateFieldHelper

* baldm0mma/transformation_info_modal/ update concatenate

* baldm0mma/transformation_info_modal/ add fieldLookup

* baldm0mma/transformation_info_modal/ add filterFieldsByName

* baldm0mma/transformation_info_modal/ add joinByField

* baldm0mma/transformation_info_modal/ update renameByRegex

* baldm0mma/transformation_info_modal/ update getHelperContent

* baldm0mma/transformation_info_modal/ update calculateFieldTransformRegistryItem

* baldm0mma/transformation_info_modal/ update concatenateTransformRegistryItem

* baldm0mma/transformation_info_modal/ update configFromDataTransformer

* baldm0mma/transformation_info_modal/ update extractFieldsTransformRegistryItem

* baldm0mma/transformation_info_modal/ update formatTimeTransformerRegistryItem

* baldm0mma/transformation_info_modal/ update heatmapTransformRegistryItem

* baldm0mma/transformation_info_modal/ update mergeTransformerRegistryItem

* baldm0mma/transformation_info_modal/ update timeSeriesTableTransformRegistryItem

* baldm0mma/transformation_info_modal/ update doc builder

* baldm0mma/transformation_info_modal/ update docs

* baldm0mma/transformation_info_modal/ remove console log

* baldm0mma/transformation_info_modal/ update console log

* baldm0mma/transformation_info_modal/ update gitignore

* baldm0mma/transformation_info_modal/ update calculateField

* baldm0mma/transformation_info_modal/ add links

* baldm0mma/transformation_info_modal/ update template

* baldm0mma/transformation_info_modal/ update template with images

* baldm0mma/transformation_info_modal/ build markdown

* baldm0mma/transformations_info_modal/update with links

* baldm0mma/transformation_info_modal/ update links

* baldm0mma/transformation_info_modal/ apdate FormatTimeTransfomerEditor

* baldm0mma/transformation_indo_modal/ update HeatmapTransformerEditor

* baldm0mma/transformation_indo_modal/ update ConfigFromQueryTransformerEditor

* baldm0mma/transformation_indo_modal/ update CalculateFieldTransformerEditor

* baldm0mma/transformation_indo_modal/ update ConcatenateTransformerEditor

* baldm0mma/transformation_indo_modal/ update FilterByNameTransformerEditor

* baldm0mma/transformation_indo_modal/ update FilterByRefIdTransformerEditor

* baldm0mma/transformation_indo_modal/ update GroupByTransformerEditor

* baldm0mma/transformation_indo_modal/ update GroupingToMatrixTransformerEditor get helper

* baldm0mma/transformation_indo_modal/ update SeriesToFieldsTransformerEditor get helper

* baldm0mma/transformation_indo_modal/ update LabelsAsFieldsTransformerEditor

* baldm0mma/transformation_info_modal/ update MergeTransformerEditor

* baldm0mma/transformation_info_modal/ update OrganizeFieldsTransformerEditor

* baldm0mma/transformation_info_modal/ update ReduceTransformerEditor

* baldm0mma/transformation_info_modal/ update RenameByRegexTransformerEditor

* baldm0mma/transformation_info_modal/ update SeriesToRowsTransformerEditor

* baldm0mma/transformation_info_modal/ update SortByTransformerEditor

* baldm0mma/transformation_info_modal/ update extractFieldsTransformerEditor

* baldm0mma/transformation_info_modal/ update FilterByValueTransformerEditor

* baldm0mma/transformation_info_modal/ update JoinByLabelsTransformerEditor

* baldm0mma/transformation_info_modal/ update FieldLookupTransformerEditor

* baldm0mma/transformation_info_modal/ update PartitionByValuesEditor

* baldm0mma/transformation_info_modal/ update PrepareTimeSeriesEditor

* baldm0mma/transformation_info_modal/ update RowsToFieldsTransformerEditor

* baldm0mma/transformation_info_modal/ update spatialTransformRegistryItem

* baldm0mma/transformation_info_modal/ update timeSeriesTableTransformRegistryItem

* baldm0mma/transformation_info_modal/ update to helperDocs

* baldm0mma/transformation_info_modal/ update built markdown

* baldm0mma/transformation_info_modal/ run prettier

* baldm0mma/transformation_info_modal/ update comments in getTransformationContent

* baldm0mma/transformation_info_modal/ add removeMarkdownAnchorLinks

* baldm0mma/transformation_info_modal/ update annos in getTransformationContent

* baldm0mma/transformation_info_modal/ add requisite url prefix to markdown images

* baldm0mma/transformation_info_modal/ add cleanMarkdownOfUnwantedSyntax

* baldm0mma/transformation_info_modal/ update annos in content.ts

* baldm0mma/transformation_info_modal/ update e2e tests with always-visiable trabnsformation

* baldm0mma/transformation_info_modal/ remove note

* baldm0mma/transformation_info_modal/ add annotation in getTransformationContent

* baldm0mma/transformation_info_modal/ update e2e test naming

---------

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2023-11-07 09:29:45 -07:00
Gilles De Mey
30f2ab07f5
Alerting: Attempt to fix flakey selector (#77780) 2023-11-07 17:02:32 +01:00
Alex Khomenko
e286a3a652
Grafana/ui: Unify flex shorthand props (#77768)
* Update flex props

* Make the story external

* Add ResponsiveProp
2023-11-07 17:45:57 +02:00
Galen Kistler
0ae3cd6fa5
Logs Panel: Table UI - Query with few rows renders short table (#77653)
* remove height calculation based on row count
2023-11-07 17:22:11 +02:00
Laura Fernández
8f49ec91df
BrowseDashboards: Add RadioButtonGroup to be able to chose between 'Browse' or 'List' view (#77561) 2023-11-07 16:16:43 +01:00
Oscar Kilhed
59df27cd27
Transformations: Convert calculate field transformer editor to functional component (#77777)
convert class based transformer editor to functional component
2023-11-07 15:05:05 +01:00
Galen Kistler
9e54012407
Logs Panel: Table UI - Add time and body fields to column selection in logs table visualization (#77468)
* add the ability to set visibility of time and body fields, set default of time and body fields when no other fields are selected
2023-11-07 16:00:06 +02:00
Esteban Beltran
0b03344baa
Chore: Update to typescript 5 (#76511)
* Update dependency typescript to v5

* Update yarn.lock

* Fix typescript errors

* Update typescript version sdk

* Revert useDescription.ts

* Fix ts errors

* Fix Typescript errors after Symbol.unscopables type change

* Fix colormanipulator errors

* Update packages/grafana-data/src/vector/FunctionalVector.ts

* Fix ts errors in dashboardmigrator

* Fix sandbox component typescript error

* Update yarn

* Update to typescript 5.2

* Fix typescript error

* update typescript/vscode patch/sdk/whatever

* fix ts errors in elasticsearch

* Fix two errors in alerting

* Fix error in dashboard-scene

* Fix errors in dashboard tests

* Fix errors in explore tests

* Fix error in plugins sandbox

* fix error in DashboardQueryRunner

* fix errors in grafana-data

* fix errors in PanelChrome story

* update betterer

* better fix for cloud monitoring

* fix error in reducer tester

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
Co-authored-by: joshhunt <josh@trtr.co>
2023-11-07 13:20:20 +00:00
Esteban Beltran
9585e2b19c
Plugins: Only track metrics for grafana packages and core packages (#77785)
* Plugins: Only track metrics for grafana packages and core packages

* Move bind after cache check

* Update tests for metrics tracking
2023-11-07 13:56:26 +01:00
Piotr Jamróz
b7f854a06c
Correlations: Fix incorrect state transitions in transformations editor (#77434)
* Extract transformations editor row to a seprate component

* Use css object instead of string literals

* Update .betterer.results

* Post merge fixes

* Bring back validation rules

* Switch to css/object

* Post-merge fixes

Ensuring Stack from grafana-ui is used after conflicts with 25779bb6e5
2023-11-07 12:17:02 +01:00
Fabrizio
f19830b543
Tempo: Support comments in TraceQL (#77646) 2023-11-07 11:27:03 +01:00
Fabrizio
39014e73f7
Tempo: Fix TraceQL autocompletion with missing } (#77365) 2023-11-07 11:10:57 +01:00
Gilles De Mey
be436ec6f6
Alerting: Adds contact point sorting and searching (#77390) 2023-11-07 11:05:12 +01:00
Ivana Huckova
d4a257bc8e
Logs: Update logic to process logs dataPlane frame with labels field (#77708)
* Logs: Update dataplane logic to use labels instead of attributes

* Update Loki logs data plane data frame according to specs

* Remove only in test
2023-11-07 10:53:10 +01:00
kay delaney
4a5b8643ae
ShareModal: Implement panel embed tab for scenes (#77062)
* ShareModal: Implement panel embed tab for scenes

* Fix url generation

* Locale

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2023-11-07 01:19:17 -08:00
Joey
de9ee2e127
Tempo: Update tag in span based on Pyroscope API (#77701)
* Update tags key

* Update link tags

* Update test
2023-11-07 08:45:09 +00:00
Joey
6e929b2b53
Tempo: Update the traces data in the testdata data source (#77198)
Update the traces data in the testdata data source
2023-11-07 08:24:11 +00:00
Esteban Beltran
7107ba0104
Sandbox: Patch history.replaceState to make it work inside the sandbox (#76255)
* Patch history.replaceState api instead of doing a live distortion

* Add better patching mechanism

* Remove console log
2023-11-07 09:09:17 +01:00
Ihor Yeromin
4b87f38f66
Bar Gauge: Add max height option (#76042)
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-11-07 07:11:13 +02:00
ismail simsek
581b93c124
InfluxDB: Fix query call with flux and sql when backend migration disbaled (#77760)
Only run through with classicQuery if the language is influxql and backend migration is disabled
2023-11-07 00:14:27 +02:00