Commit Graph

18473 Commits

Author SHA1 Message Date
Andre Pereira
dc44ac7b78
Tempo: Added spss config - spans per span set (#74832)
* Added spss config - spans per span set

* Set default spss when calling Tempo
2023-09-14 10:49:18 +01:00
Kyle Brandt
35e488b22b
SSE: Localize/Contain Errors within an Expression (#73163)
Changes SSE to not always fail all queries when one fails. Now only the query itself, and nodes that depend on it will error.
---------

Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2023-09-13 13:58:16 -04:00
Sven Grossmann
01755608db
LogDetails: Fix copy button visibility (#74663)
* change css classname

* remove class

* Log details row: refactor style variable and add class to copy container

* Log details row: refactor test

* Prettier

* Update test

* Use toBeVisible

* Remove unsused import

* Update public/app/features/logs/components/LogDetailsRow.test.tsx

* remove `cx`

* fix lint

---------

Co-authored-by: Matias Chomicki <matyax@gmail.com>
2023-09-13 19:45:49 +02:00
Brendan O'Handley
9d4b19af48
add feature tracking for regex and null metadata (#74763) 2023-09-13 09:42:30 -04:00
Joey
a8a8c9849d
Tempo: Metrics summary update sorting no values (#74818)
* Update sorting when there is no value

* Update test
2023-09-13 14:23:17 +01:00
Piotr Jamróz
946da57b6a
Correlations: Allow creating correlations for provisioned data sources (#73737)
* Allow creating correlations for provisioned data sources

* Update docs

* Fix linting

* Add missing props

* Add missing props

* Fix linting

* Fix linting

* Clarify error name

* Removed error handling for a non-existing use case

* Create a list of deleted data datasources based on all configs

* Add org_id to correlations

* Add tests

* Allow org_id to be null in case org_id=0 is used

* Create organization to ensure stable id is generated

* Fix linting

* Ensure backwards compatibility

* Add deprecation information

* Update comments

* Override existing datasSource variable so the UID is retrieved correctly

* Migrate correlations indices

* Default org_id when migrating

* Remove redundant default

* Make PK non-nullable

* Post merge fixes

* Separate data sources / correlations provisioning

* Adjust comments

* Store new data sources in spy store so it can be used to test correlations as well

* Fix linting

* Update tests

* Ensure response is closed

* Avoid creating duplicates during provisioning

* Fix updating provisioned column and update tests

* Rename error message

* Fix linting errors

* Fix linting errors and rename variable

* Update test

* Update pkg/services/sqlstore/migrations/correlations_mig.go

Co-authored-by: Giordano Ricci <me@giordanoricci.com>

* Remove unused error

* Fix lining

---------

Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2023-09-13 15:10:09 +02:00
Levente Balogh
99be6fb747
Connections: Display the type of the datasource (#74808)
fix: display the name of the datasource plugin
2023-09-13 13:29:11 +02:00
Gilles De Mey
999aa416db
Alerting: Indicate panels without identifier (#74746) 2023-09-13 12:35:23 +02:00
Josh Hunt
5cb7eb5884
BrowseDashboards: Only remember the most recent expanded folder (#74617)
* BrowseDashboards: Only remember the most recent expanded folder

* set to null

* cleanup

* only clear removed folder if it was the most recently opened

* comments + variable
2023-09-13 10:00:20 +00:00
Piotr Jamróz
e4ea62b3af
Explore: Fix tracking when log results are shown (#74798)
Fix tracking logs results displayed
2023-09-13 11:47:39 +02:00
Khushi Jain
df014cd780
Internationalization: Markup for Playlist Page (#74509)
* Internationalization: Markup for Playlist Page

* Internationalization: Markup for Playlist Page

* Update public/app/features/playlist/PlaylistPage.tsx

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* Update public/app/features/playlist/PlaylistPage.tsx

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* Update public/app/features/playlist/PlaylistPage.tsx

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* Update public/app/features/playlist/PlaylistPage.tsx

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* PlaylistPage

---------

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-09-13 10:39:37 +01:00
Joey
a12c224cc0
Tempo: Metrics summary no value (#74582)
Metrics summary no value
2023-09-13 10:22:22 +01:00
Joey
ee96b08f4b
Table: Add dataframe name to single table (#74584)
* Add dataframe name to single table

* Extract method

* Update name
2023-09-13 10:16:02 +01:00
Khushi Jain
c1704b5ee4
Internationalization: Mark up PlaylistEditPage for translations (#74455)
* PlaylistEdit Page i18n

* Update public/app/features/playlist/PlaylistEditPage.tsx

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* Update public/app/features/playlist/PlaylistEditPage.tsx

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* PlaylistForm

* more changes

* PlaylistForm

* PlaylistForm

* Update public/app/features/playlist/PlaylistEditPage.tsx

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* Update public/app/features/playlist/PlaylistEditPage.tsx

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* Update PlaylistForm.tsx

* Update Add- labels

* couple of missed keys

---------

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-09-13 10:02:51 +01:00
Javier Ruiz
3bae1c564d
Tempo Service Map: Fix context menu links in service map when namespace is present (#74186)
* Add necessary fields to edges

* Add information about name and namespace to edge when available

* Use new fields to build search taking into account namespace

* Remove new fields from NodeGraphDataFrameFieldNames, define them locally
2023-09-13 10:17:31 +02:00
Ashley Harrison
0c44a6f9bb
Chore: Improve typings 🧹 (#74599)
* various type fixes

* candlestick panel type fixes

* few more fixes

* some fixes

* more :)

* moar!

* undo change to SilencesFilter

* undo change to configureStore
2023-09-13 09:17:07 +01:00
Joey
16bdd55696
Tempo: Fix metricSummary sorting in spanCount and errorPercentage (#74542)
* Fix sorting in spanCount and errorPercentage

* Update types

* Spelling

* Update errorPercentage
2023-09-13 08:48:58 +01:00
Deepayan Mukherjee
712f3fb8b2
SQL query editor: Ensure unique ID for switch components (#74751)
* SQL:Add unique sql filter id

Signed-off-by: Deepayan Mukherjee <deepayanmukherjee1312@gmail.com>

* SQL: add unique sql group filter preview ids

Signed-off-by: Deepayan Mukherjee <deepayanmukherjee1312@gmail.com>

---------

Signed-off-by: Deepayan Mukherjee <deepayanmukherjee1312@gmail.com>
2023-09-13 09:36:22 +02:00
Victor Marin
b4851904ce
Add rudderstack tracking for table panel (#71836) 2023-09-13 10:32:00 +03:00
Torkel Ödegaard
8caf85b99a
BarChart: Fixes barchart tooltip styling (#74506) 2023-09-12 17:46:24 +02:00
Galen Kistler
4f5728233c
Logs Panel: Performance issue while scrolling within panel in safari (#74694)
* adding contain:strict to let browsers know the layout of logs panel can be rendered independently

* add new prop to allow LogRow component to contain content
2023-09-12 09:57:14 -05:00
Nutmos
ad9f0b9e4e
Alerting: Add message options for Telegram contact point (#74635)
Co-authored-by: Santiago <santiagohernandez.1997@gmail.com>
2023-09-12 10:45:57 -04:00
Ihor Yeromin
d6bddf3c68
Canvas: New circle/ellipse element (#74389)
* feat(canvas): add circle element
2023-09-12 15:56:48 +02:00
Gilles De Mey
bd23d48660
Alerting: useAbilities hook (#72626) 2023-09-12 15:20:39 +02:00
Juan Cabanas
07d96eb458
PublicDashboards: Disable email sharing inputs when user does not have write permissions (#74046) 2023-09-12 09:32:59 -03:00
Levente Balogh
2fac3bd41e
Plugins: Show deprecated plugins (#74598)
* feat: add a `isDeprecated` field to `CatalogPlugin`

* tests: update the tests for merging local & remote

* feat: display a deprecated badge in the plugins list

* feat: show a deprecated warning if the plugin is deprecated

* Fix linting issues

* Review notes

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>

* refactor: remove `isDeprecated` from the details (it's already in the main CatalogPlugin object)

* refactor: use an enum for remote statuses

---------

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2023-09-12 12:49:10 +02:00
Andrej Ocenas
e4f26a5e4b
Flamegraph: Move to package (#73113) 2023-09-12 12:28:48 +02:00
Josh Hunt
b84aab5add
Notifications: Don't show toasts after refreshing (#74712)
* user essentials mob! 🔱

lastFile:public/app/core/reducers/appNotification.ts

* user essentials mob! 🔱

---------

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>
Co-authored-by: L-M-K-B <48948963+L-M-K-B@users.noreply.github.com>
2023-09-12 12:34:43 +03:00
Ivan Ortega Alba
4f329e9fa6
Import:Enhance clarity through improved copy and streamlined links (#74383)
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-09-12 11:13:00 +02:00
Polina Boneva
b14263af45
Dashboard: Remove old panel code and leave only new panel design (#74196)
* delete PanelHeader

* PanelHeaderMenuItem is only used in PageHeader

* PanelHeaderCorner only used by PanelEditorTableView

* PanelHeaderMenuTrigger not used anywhere

* PanelHeaderMenuWrapperNew is PanelHeaderMenuWrapper, old one is deleted

* remove newPanelChromeUI from test

* delete feature flag newPanelChromeUI

* PanelHeaderMenuWrapperNew is PanelHeaderMenuWrapper, old one is deleted
2023-09-12 11:54:41 +03:00
Marcus Andersson
05ce7e5789
PluginExtensions: Reports user interactions with UI extensions (#74355)
* Added tracking information to how UI links are being used by users.

* Fixed nit.
2023-09-12 11:52:16 +03:00
Andres Martinez Gotor
8cb93bf3e7
Bug: Allow to uninstall a deprecated plugin (#74444) 2023-09-12 10:33:09 +02:00
Andres Martinez Gotor
29238c19fd
Bug: Expect a plugin signature per version (#74595) 2023-09-12 09:31:38 +02:00
Levente Balogh
9c83dd43d9
Plugins: Group tests (#74667)
refactor: group plugin-details page tests together
2023-09-12 08:10:18 +02:00
Brendan O'Handley
951876b465
Prometheus: Add classic query option to variable query editor (#74060)
* add classic query to variable query editor

* copy fixes

* update test
2023-09-11 12:13:16 -04:00
Bryan Huhta
0f552053e9
Pyroscope: add public catalog description (#74630)
* Add readme

* Fix wrong link

* Update public/app/plugins/datasource/grafana-pyroscope-datasource/README.md

Co-authored-by: Dmitry Filimonov <dmitry.filimonov@grafana.com>

* Prettier fix

* Update plugins test

* Prettier fix

* updateSnapshotFlag = false

---------

Co-authored-by: Dmitry Filimonov <dmitry.filimonov@grafana.com>
2023-09-11 18:06:34 +02:00
Gilles De Mey
6a4ba13b44
Alerting: Fix default policy timing summary (#74549) 2023-09-11 18:06:08 +02:00
Yuri Tseretyan
dce492642a
Alerting: Export of alert rules in HCL format (#73166)
* import hashicopr/hcl/v2
* add hcl package and export to HCL
* annotate export structs
---------

Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com>
2023-09-11 11:48:23 -04:00
Torkel Ödegaard
73a675af02
DashboardScene: Inspect panel data tab (#74646)
* Refactor data tab to be usable from scenes

* DashboardScene: Inspect data tab

* Everything seem to work now

* don't change drawer size in this PR

* Remove uncommented code

* Fix layout issues for data actions

* Added comment explaining retry
2023-09-11 16:11:22 +02:00
Adela Almasan
89127d5ec9
Canvas: Button API - Add support for GET requests (#74566) 2023-09-11 08:03:52 -05:00
Gilles De Mey
3487e89492
Alerting: Update query options layout (#74660) 2023-09-11 15:45:46 +03:00
Gilles De Mey
1fa6623e1c
Alerting: Fix flakey test for rule group export (#74665) 2023-09-11 14:35:23 +02:00
Fabrizio
a939dfadf2
Improve check on Tempo version (#74547) 2023-09-11 14:34:05 +02:00
Torkel Ödegaard
499b02b3c6
DashboardScene: Panel edit route basics (#74081)
* DashboardScene: Panel edit route basics

* remove unused file

* Removed some comments

* Minor fix

* Update

* example of apply changes implementation

* SceneObjectRef: Testing scene object ref

* Rename to ref suffix

* Update

* Fix url sync in panel edit

* Update

* Update

* simplify logic when committing change

* remove import

* Another fix for committing change
2023-09-11 13:51:05 +02:00
Esteban Beltran
b9c681e1a7
Sandbox: Fix panel custom editors not working inside the sandbox (#74589)
* Sandbox: Fix panel custom editors not working inside the sandbox

* Use the plugin-id in the specific rendering category
2023-09-11 13:43:57 +02:00
Torkel Ödegaard
7718a67b77
DashboardScene: Use TimeRangeTransformerBase in PanelTimeRange (#74647) 2023-09-11 12:18:10 +02:00
Torkel Ödegaard
97d568e60a
DashbboardScene: RowRepeaterBehavior (#74505)
* Repeating rows start

* working

* Progress

* Progress

* Update

* up scenes lib

* Update

* Progress

* restore url sync

* Progress

* Fixes and tests

* Update

* Adds tests and code to remove repeats from save model

* Update

* Fix test
2023-09-11 12:02:04 +02:00
Ashley Harrison
fb367bf91d
Chore: fix build (#74651)
put ts-expect-error in the right place
2023-09-11 12:07:05 +03:00
Gábor Farkas
6e75c5d182
postgres/sql: fix imports (#74535)
* postgres/sql: fix imports

* nicer import

Co-authored-by: Adam Yeats <16296989+adamyeats@users.noreply.github.com>

---------

Co-authored-by: Adam Yeats <16296989+adamyeats@users.noreply.github.com>
2023-09-11 09:48:55 +02:00
Torkel Ödegaard
349408d78c
DashboardMigrator: Add migration that removes repeats (#74296)
* DashboardMigrator: Add migration that removes repeats

* Update
2023-09-11 08:34:13 +02:00