Commit Graph

20916 Commits

Author SHA1 Message Date
Sarah Zinger
e8e8017d51
Cloudwatch: remove direct import on getDatasourceSrv (#80660)
Cloudwatch: remove direct import on getDatasourceSrv
2024-01-18 15:04:37 -05:00
Matthew Jacobson
94c3be3b49
Alerting: Fix incorrect render during long legacy upgrade cancel (#80339)
When using the legacy migration dry-run, if a cancel takes a long time (long
enough for the page to poll) the page will incorrectly render the previous
data.

This change stops the polling while the upgrading or cancelling.
2024-01-18 13:30:50 -05:00
Sarah Zinger
9e08c88a1c
Cloudwatch: remove dependency on app/core/config (#80668) 2024-01-18 13:02:55 -05:00
Torkel Ödegaard
2cdf73f584
Visualizations: Hue gradient mode now applies to the line color (#80805) 2024-01-18 18:02:56 +01:00
Sven Grossmann
ded941eb84
Loki: Fix missing timerange in query builder values request (#80829)
Loki: Fix missing timerange in query builder values
2024-01-18 18:39:09 +02:00
Mihai Doarna
b8cf8ec8d7
Auth: fix swagger response for get SSO settings endpoint (#80817)
fix swagger response for get SSO settings endpoint
2024-01-18 18:27:44 +02:00
Ashley Harrison
d72c035ea6
CommandPalette: Pass matched tag as a search query to 'Add new connection' page (#80556)
* add some special logic to pass the matched tag to the add new connection page

* extend action type to accept callback for url
2024-01-18 16:16:41 +00:00
renovate[bot]
10b1b5da52
Update dependency css-loader to v6.9.0 (#80819)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 17:45:05 +02:00
Leon Sorokin
2c5289028d
AnnotationsPlugin2: Skip zero-length, field-less, and time-less frames (#80810) 2024-01-18 08:34:28 -06:00
renovate[bot]
3903d3eb94
Update dependency @types/node to v20.11.5 (#80813)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 14:33:36 +00:00
Jo
e77dbb63e3
AccessControl: Add group to role picker and standardize display (#79570)
* add group to role picker and standardize display

* change stuttery roles
2024-01-18 15:20:28 +01:00
Gilles De Mey
8a4bd85efd
Alerting: Fix Graphite subqueries (#80744) 2024-01-18 15:15:21 +01:00
Andre Pereira
ec18c51dfd
Data trails: Avoid setting state in MetricScene component (#80746)
* Move setting default action view to activate handler

* Update breakdown when adding label to filters
2024-01-18 13:51:56 +00:00
renovate[bot]
6eb51f6367
Update dependency @testing-library/react to v14.1.2 (#80802)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 13:40:41 +00:00
renovate[bot]
83c4caebda
Update dependency @testing-library/jest-dom to v6.2.0 (#80799)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 13:05:24 +00:00
Domas
63ac32a4ae
Field color: Filter out editor options that have excludeFromPicker=true (#79907)
* filter color palette options to to remove excluded items

* add test

* make betterer happy

* remove unused
2024-01-18 14:28:05 +02:00
Ivana Huckova
120e9044c7
Loki: Remove getQueryOptions as not needed in tests (#80747)
* Loki: Remove getQueryOptions as not needed in tests

* Update to not assert
2024-01-18 12:53:33 +01:00
kay delaney
950d57c0f5
Scenes: Set min-height of left panel editor panes to 0 (#80641) 2024-01-18 11:31:51 +00:00
Alexa V
4b113f87f9
Dashboard: Migration - EditVariable Settings: Implement Constant Variable (#80743)
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
2024-01-18 11:04:29 +01:00
Eric Leijonmarck
ef0dfff756
Users: OSS not using Orgs for users table showing (#80719)
* fix: for removing column

* linting
2024-01-18 09:09:36 +00:00
Sonia Aguilar
3d353a1b5f
Alerting: Fix using required groupBy options validation in simplified routing settings (#80780)
Fix using required groupBy options validation in simplified routing settings
2024-01-18 09:00:48 +01:00
Ihor Yeromin
cbc84a802d
VizTooltip: Add sizing options (#80306)
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2024-01-17 16:49:09 -06:00
Ryan McKinley
f434467ef8
Table: Support showing data links inline. (#80691) 2024-01-17 23:05:25 +02:00
Matias Chomicki
88ee7a1c62
Infinite scroll: exclude visible range from new requests (#80638)
* Infinite scroll: exclude visible range from new requests

* Infinite scroll: revert skipping 1 millisecond on new requests

* Formatting

* Logs models: filter exact duplicates in the response

* mergeDataSeries: do not mutate currentData

* runMoreLogsQueries: return queryResponse while loading

* Infinite scrolling: use special refId for infinite scrolling queries

* Remove log

* Update public/app/features/logs/logsModel.ts

Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>

* combinePanelData: refactor and add unit test

* logsModel: export infinite scroll refid

* Formatting

* logsModel: add deduplication unit test

* Formatting

* findMatchingRow: add unit test

* Fix test title

* Fix imports order

---------

Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
2024-01-17 21:12:09 +01:00
Leon Sorokin
2aa533c6c5
AnnotationsPlugin2: Skip exemplar frames (#80760) 2024-01-17 14:08:30 -06:00
renovate[bot]
a4b2b86194
Update Moveable (#73726)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2024-01-17 12:00:41 -08:00
Joey
9d8f4228bb
UX: Remove spacing in duration row in the Tempo query editor (search tab) (#80373)
Remove spacing in duration group
2024-01-17 17:33:59 +00:00
Ivan Ortega Alba
3b401d0d4d
CustomVariable: Be able to edit them using scenes (#80193)
---------
Co-authored-by: Alexandra Vargas <alexa1866@gmail.com>
2024-01-17 19:14:01 +02:00
Julien Duchesne
c9211fbd69
ngalert openapi: Use same basePath as rest of Grafana (#79025)
* ngalert openapi: Use same `basePath` as rest of Grafana
Currently, there are two issues that prevent easily merging `ngalert` and grafana openapi specs:
- The basePath is different. `grafana` has `/api` and `ngalert` has `/api/v1`. I changed `ngalert` to use `/api`
- The `ngalert` endpoints have their basePath in the each operation path. The basePath should actually be omitted
---------

Co-authored-by: Yuriy Tseretyan <yuriy.tseretyan@grafana.com>
2024-01-17 11:53:16 -05:00
Torkel Ödegaard
c27bee567f
DataTrails: Fixes heatmap (#80706)
* DataTrails: Heatmap y axis fix

* Fix format
2024-01-17 17:05:24 +01:00
Galen Kistler
c7859c2fa9
Logs Panel: Add total count to logs volume panel in explore (#80730)
add vizLegend override so logs volume can display sum
2024-01-17 09:52:52 -06:00
Victor Marin
5a509ef1f1
Scenes: Compare versions in dashboard settings (#80286)
* Add versions tab in dashboard settings

* Fetch and render dashboard versions

* Be able to compare two versions

* PR discussion changes

* remove unnecessary async in test

* PR discussion mods

* linter fix

* styles and tests

* Fix show more versions bug

* migrate files + style fix

* fix test

* refactor styles - css object keys to camelCase

* refactor file migrations

* more files migrations

* remove unused type, cleanup
2024-01-17 17:14:29 +02:00
Dominik Prokop
3356fb7726
DashboardScene: Add dashboard slug support (#80726) 2024-01-17 06:58:57 -08:00
renovate[bot]
beb0b82bbd Update dependency uuid to v9.0.1 2024-01-17 14:01:57 +00:00
Dominik Prokop
1de876c354
DashboardScene: Get rid of panel edit route (#80605)
* Wip: get rod of panel edit route

* Cleanup unused code

* Test update

* Simplify url sync for inspect and vie/edit panel

* Update navigating back to dashboard from edit panel

* DashboardScene:  Panel inspect improvements (#80655)

Improve inspect, andle view pane end edit mode inspection

* Url sync fixes

* Test update
2024-01-17 05:53:53 -08:00
renovate[bot]
dd7259b77e Update dependency tslib to v2.6.2 2024-01-17 13:41:12 +00:00
renovate[bot]
2d49fb6a7a Update dependency ts-node to v10.9.2 2024-01-17 12:16:33 +00:00
renovate[bot]
f8056a3e56
Update dependency react-virtualized-auto-sizer to v1.0.20 (#80596)
* Update dependency react-virtualized-auto-sizer to v1.0.20

* Update dependency react-virtualized-auto-sizer to v1.0.20

* update types

* mock in a few more tests

* fix InspectDataTab test

* fix test

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-01-17 12:13:14 +00:00
Fabrizio
e1ead0f537
Tempo: Minor refactoring (#80701) 2024-01-17 12:45:17 +01:00
kay delaney
8872a004e2
Chore: Improve typing for onPanelConfigChange (#80710) 2024-01-17 11:13:14 +00:00
renovate[bot]
7a9f907882 Update dependency style-loader to v3.3.4 2024-01-17 10:39:36 +00:00
Sofia Papagiannaki
d1dab5828d
Alerting: Update rule API to address folders by UID (#74600)
* Change ruler API to expect the folder UID as namespace

* Update example requests

* Fix tests

* Update swagger

* Modify FIle field in /api/prometheus/grafana/api/v1/rules

* Fix ruler export

* Modify folder in responses to be formatted as <parent UID>/<title>

* Add alerting test with nested folders

* Apply suggestion from code review

* Alerting: use folder UID instead of title in rule API (#77166)

Co-authored-by: Sonia Aguilar <soniaaguilarpeiron@gmail.com>

* Drop a few more latent uses of namespace_id

* move getNamespaceKey to models package

* switch GetAlertRulesForScheduling to use folder table

* update GetAlertRulesForScheduling to return folder titles in format `parent_uid/title`.

* fi tests

* add tests for GetAlertRulesForScheduling when parent uid

* fix integration tests after merge

* fix test after merge

* change format of the namespace to JSON array

this is needed for forward compatibility, when we migrate to full paths

* update EF code to decode nested folder

---------

Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com>
Co-authored-by: Virginia Cepeda <virginia.cepeda@grafana.com>
Co-authored-by: Sonia Aguilar <soniaaguilarpeiron@gmail.com>
Co-authored-by: Alex Weaver <weaver.alex.d@gmail.com>
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2024-01-17 11:07:39 +02:00
renovate[bot]
878ba96a70
Update dependency react-use to v17.4.3 (#80690)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 00:29:09 +00:00
renovate[bot]
bfee861867
Update dependency glob to v10.3.10 (#80684)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-16 23:58:58 +00:00
renovate[bot]
59608080c7
Update dependency @types/testing-library__jest-dom to v5.14.9 (#80672)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-16 23:11:45 +00:00
Andre Pereira
6b37a887d5
Data trails: Move and rename to explore metrics (#80649)
* Move data trails to /explore/metrics

* Fix breadcrumbs

* Fix label option link
2024-01-17 00:05:44 +02:00
Galen Kistler
7b8db643a3
Logs Panel: Table UI - Reordering table columns via drag-and-drop (#79536)
* Implement react-beautiful-dnd to facilitate column reordering
* Refactoring field display components
* Refactoring internal types to better align with Grafana style guide

---------

Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
2024-01-16 14:27:29 -06:00
renovate[bot]
581936a442
Update dependency @types/semver to v7.5.6 (#80667)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-16 20:08:09 +00:00
Giordano Ricci
9770768efc
Chore: refactor some styles in explore to use the object syntax (#80080)
* Chore: refactor some styles in explore to use the object syntax

* refactor LiveLogs styles to use object syntax

* Revert "refactor LiveLogs styles to use object syntax"

This reverts commit 293aa2589f.
2024-01-16 19:49:12 +00:00
renovate[bot]
894353241a
Update dependency @types/prismjs to v1.26.3 (#80658)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-16 18:27:36 +00:00