Commit Graph

42843 Commits

Author SHA1 Message Date
Victor Marin
94801c9c75
Sparkline: Sort dataframe (#68007)
* Sort sparkline dataframe

* Sort frame only if needed

* add utils test
2023-05-17 08:09:06 +03:00
Kristian Bremberg
4ccaf801d7
Chore: remove pre tags from DOMPurify config (#68512) 2023-05-16 13:53:37 -07:00
Nathan Marrs
25c55d74f1
Trend: Add gdev dashboard (#68502) 2023-05-16 23:51:30 +03:00
Ryan McKinley
2e7b77a94a
StateTimeline: Support hideFrom field config (#68586) 2023-05-16 12:18:35 -07:00
Drew Slobodnjak
160e207e47
Barchart: Apply field visibility to traceID (#68524) 2023-05-16 11:19:40 -07:00
Torkel Ödegaard
3ffbd2a1db
Preferences: Fixing preference PUT validation (#68557) 2023-05-16 19:38:51 +02:00
Nathan Marrs
8390fcc80f
Chore: Remove alpha icon panel (#68573) 2023-05-16 10:32:25 -07:00
Andreas Christou
bf75969794
AzureMonitor: Traces updates (#68462)
* Use fully qualified resource identifiers

* Add additional data link to explore parent span

* Correctly order links to not break trace logs functionality
2023-05-16 18:30:09 +01:00
Nathan Marrs
f54b18d564
Chore: Fix dev-dashboard codegen (#68568) 2023-05-16 10:21:17 -07:00
Ivana Huckova
1462ae91da
Loki: Add functionality to revert to initial query in log context (#68484)
* Loki: Add functionality to revert to initial query

* Add tests and fix button in button

* Use usereven instead of fireEvent

* Shortern onClick

* Add feature tracking

* Use testid instead of title

* Always show revert button

* Remove unused imports
2023-05-16 18:58:25 +02:00
Sofia Papagiannaki
14fb4ff779
API: Add deprecation notice for updating folder UID (#68543)
* API: Add deprecation notice for updating folder UID
2023-05-16 18:28:18 +03:00
Gábor Farkas
6189f48be7
elastic: more tests (#68533)
* elastic: more tests

* fix lint error
2023-05-16 17:09:09 +02:00
Alyssa Bull
f9601f8f27
Azure Monitor: Fix bug that did not show alert rule preview (#68339) 2023-05-16 09:08:33 -06:00
Domas
43df362aed
Node graph: Fix req/s in value (#68441)
fix req/s in node graph
2023-05-16 17:49:29 +03:00
Isabella Siu
800f733024
OpenSearch: remove unused version detection toggle (#68496) 2023-05-16 10:22:23 -04:00
David Harris
b8a9f5cfb4
docs: add list of angular plugins, update guidance (#68096)
* docs: add list of angular plugins, update guidance

* fix lint error
2023-05-16 15:17:32 +01:00
David Harris
ef8f336706
chore: update connections message (#68526) 2023-05-16 15:12:58 +01:00
Sofia Papagiannaki
d458292b66
Nested folders: Allow renaming a folder multiple times (#68379)
Return folder version in response that is required for updating
the entry in the dashboard table.
2023-05-16 16:41:14 +03:00
Joao Silva
5aefe4e030
IconButton: Move some styles around in story and add background opacity animation (#68520) 2023-05-16 15:29:06 +02:00
Gabriel MABILLE
d7eea0d207
RBAC: Add a function to delete external service roles (#68317)
* RBAC: Add function to delete external service roles

* Adding a test to the service

* Update pkg/services/accesscontrol/acimpl/service_test.go

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>

---------

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2023-05-16 15:01:27 +02:00
Isabella Siu
0612f1f87a
Cloudwatch Logs: Ignore non-time grouping fields in expressions and alerts (#67608) 2023-05-16 08:58:04 -04:00
Ashley Harrison
82114cb316
NestedFolders: Show Dashboard and Folder full breadcrumb hierarchy (#68308)
* update FolderDTO to match backend struct

* hacky way to get folder page breadcrumbs working

* hacky way to get dashboard nested breadcrumbs working

* undo route changes, get url from folder

* fix breadcrumbs in dashboard settings

* add parent pages to navIndex

* adjust getRootSectionForNode to just return the parent of a leaf node

* undo changes to generated files

* undo changes to toggles_gen.go

* feature toggle dashboardInit code

* remove unnecessary code in home dashboard

* build navModel directly, don't use getNavModel

* don't need fallback here

* remove getLoadingNav since it's not used anymore

* don't need to hide tabs from breadcrumbs anymore

* use id to find dashboards tab
2023-05-16 13:54:44 +01:00
Kristina
0db397b8be
Correlations: Enable traceView formatted links (#67160)
* Enable correlations links for traceView formatted fields

* Add other links to the span UI

* Show both “legacy” and dataframe links

* bandaid test

* Remove special path logic, stringify all non strings before applying regex

* Fix test

* Do not create new instance of factory for every call, change header to correlations

* Get links from more than one field

* Remove categories

* Fix google cloud link tests

* Add test for multiple internal links

* Remove changes to datasources provisioning

* Added sorting, changed log link title
2023-05-16 07:47:15 -05:00
Victor Colomb
f478504bc9
Dashboard: Fix library panels in collapsed rows not getting updated (#66643) 2023-05-16 12:44:19 +01:00
Joey
3ab1706145
TraceView: Fix flaky test (#68518)
Fix flaky test
2023-05-16 11:19:23 +01:00
Josh Hunt
7b3221d494
GrafanaUI: Support Tooltip as Dropdown child (#68521)
Co-authored-by: eledobleefe <laura.fernandez@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-05-16 10:15:53 +00:00
Andreas Christou
51c15f3a89
E2E: Fix configurePanel flow (#68487)
* Updates for new datasource picker

* Correct typing to ensure datasource selection

* Remove unused import

* Update labels

* Update labels and fix test

* Fix another test
2023-05-16 10:33:52 +01:00
sam boyer
33fd83f7e3
kindsys: Adapt to new PanelCfg schema interface (#65297)
* kindsys: Adapt to new PanelCfg schema interface

* building locally

* Remove Panel prefix in cue files

* Regenerate

* Update imports

* fixup! Merge branch 'remove-panel-prefix' into sdboyer/redundant-panelcfg-prefixes

* Fix formatting

---------

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Tania B <yalyna.ts@gmail.com>
2023-05-15 23:07:54 -04:00
Nathan Marrs
5a5860256f
Trend: Filter out time fields (#68504) 2023-05-15 15:59:45 -07:00
Drew Slobodnjak
516cb30c36
Barchart: Add gdev dashboard for tooltips (#68417)
* Barchart: Add gdev dashboard for tooltips

* Add graph-ng tag for uplot dependency

---------

Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-05-15 15:43:08 -07:00
Adela Almasan
92d865ccce
Canvas: Fix field not found (#68415) 2023-05-15 17:34:20 -05:00
Yuri Tseretyan
d3ae8df357
Chore: Test datasource to support template $seriesIndex in label values (#68497)
* update test datasource to support template $seriesIndex in label values

* prettier

---------

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2023-05-15 17:47:40 -04:00
Leon Sorokin
8ba1762618
PanelQueryRunner: Ensure same transformations before reusing lastProcessedFrames (#68498) 2023-05-15 15:48:03 -05:00
Andreas Christou
778a09eaa7
AzureMonitor: Update docs with Traces information (#68104)
* Update docs for traces

- Include note on timespan changes for logs queries

* Review

* Review
2023-05-15 14:23:14 -05:00
Adela Almasan
e0d8f3b4a7
Timeseries: Graph series override stack migration (#68491) 2023-05-15 14:19:16 -05:00
Sergey Kostrukov
eafba8fa69
Azure: Configuration for user identity authentication in datasources (Experimental) (#50277)
* Configuration for user identity authentication

* Use token endpoint form Azure AD settings

* Documentation update

* Update Grafana Azure SDK

* Fix secret override

* Fix lint

* Fix doc wording
2023-05-15 18:00:54 +01:00
Jo
5ec0f82baa
Separate authn flow from analytics (#68327)
* separate authn flow from analytics

* lint fix
2023-05-15 18:38:54 +02:00
Yuri Tseretyan
ab5a3820d5
Alerting: Fix status code of successful response POST /api/alertmanager/grafana/api/v2/silences in swagger specs (#67951)
* update status code to reflect reality

* update docs
2023-05-15 11:23:30 -04:00
Konrad Lalik
f7b8a666f4
Alerting: Enable alerts preview on notification policies page (#68291)
* Basic implementation in web worker

* Move instances discovery to the worker

* Remove filtering from the worker

* Use normalized routes, use rtk query for alert groups fetching

* Reorganize matchers utilities to be available for web workers

* Move object matchers to the machers util file, rename worker

* Move worker code to a separate hook, add perf logging

* Add a mock for the web worker code, fix tests

* Fix tests warnings

* Remove notification policy feature flag

* Add normalizeRoute tests, change the regex match to test for label matching

* Move worker init to the file scope

* Simplify useAsyncFn hook
2023-05-15 16:53:03 +02:00
Dimitris Sotirakis
55622615de
CI: Add delivery bot secrets to publish images step (#68467)
Add delivery bot secrets
2023-05-15 16:33:31 +03:00
Joey
a1f76af15a
Tempo: Fix get label values based on CoreApp type (#68463)
Fix and update test
2023-05-15 14:27:27 +01:00
Andrej Ocenas
47b7b05591
FlameGraph: Add user interaction reporting (#68458) 2023-05-15 15:02:37 +02:00
Horst Gutmann
35ccfa6131
CI: Update grabpl to 3.0.34 (#68456)
* CI: Port of init-enterprise fix from 9.4.10

* CI: Update grabpl to 3.0.34
2023-05-15 15:57:46 +03:00
Laura Fernández
a3046ce57d
Grafana UI: Add warning info to the unstable package (#68388) 2023-05-15 14:57:14 +02:00
Ashley Harrison
5d91ace745
ToolbarButtonRow: prevent closure of overflow menu when interacting with portal elements (#68319)
* don't close the overflow menu when interacting with something in a portal

* keep overflow ref logic
2023-05-15 13:48:19 +01:00
Ashley Harrison
7e3c68d3c1
Nested folders: Clear selection state when navigating to a different folder (#68438)
* clear selection state when navigating to a different folder

* consolidate useEffects
2023-05-15 13:26:55 +01:00
Andrej Ocenas
a0942bd1df
FlameGraph: Fix table sort being reset when search changes (#68409) 2023-05-15 14:25:06 +02:00
Andrej Ocenas
e6db01dcbe
FlameGraph: Debounce search update preventing too frequent rerenders (#68405) 2023-05-15 14:24:54 +02:00
Laura Benz
e7dc3575d1
Design System: Refactor IconButton and update documentation (#66774)
* refactor: remove unnecessary styling and adjust to button styling

* refactor: improve story

* refactor: use new default styling for border radius

* refactor: add missing pseudo classes and clean up

* refactor: repair disabled styling and add to story

* refactor: clean up and apply styles defined in figma

* refactor: set hover background in a pseudo-element

* refactor: unify large sizes

* refactor: add information for further use

* refactor: add comment

* refactor: comments and clean up import

* refactor: add changes after code review

* refactor: replace some bad example code in documentation

* refactor: update comment

Co-authored-by: Joao Silva <100691367+JoaoSilvaGrafana@users.noreply.github.com>

* refactor: add changes requested in review

* refactor: move deprecation warning

* refactor: replace padding

* refactor: remove local styling

* refactor: create separate stories for different examples

* refactor: change style of story

* refactor: replace absolute value by variable

* Update toggles_gen.go

---------

Co-authored-by: Joao Silva <100691367+JoaoSilvaGrafana@users.noreply.github.com>
2023-05-15 13:57:18 +02:00
Matias Chomicki
9441692fe9
Loki Derived Fields: Refactor legacy form components and add validation (#68015)
* Derived fields: validate duplicated names

* Derived fields: rename prop

* Update tests

* Derived fields: do not validate empty names as repeated

* Derived Field: use non-legacy Field and Input

* Derived Field: integrate name validation

* Derived field: align delete button

* Derived Field: add tooltips

* Derived Field: migrate and style internal link field

* Update tests

* Derived Field: ask user to select data source

Otherwise it's bugged

* Remove unnecessary onchange handler

* Initialize all derived fields attributes

Otherwise we trigger controlled-to-uncontrolled React errors

* Update public/app/plugins/datasource/loki/configuration/DerivedField.tsx

Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>

---------

Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>
2023-05-15 13:48:50 +03:00