Commit Graph

21113 Commits

Author SHA1 Message Date
Mihai Doarna
c43a170009
SSO Auth: fix typos on field description (#81685)
fix typos on field description
2024-02-01 11:27:39 +01:00
Joey
fd54d25496
Tempo: Fix issue with button click area being too large (#81500)
Fix issue with button click area being too large
2024-02-01 09:48:18 +00:00
Joey
1606095a5c
Tempo: Remove unused code (#81568)
* Remove unused code

* Remove unused code from tests
2024-02-01 09:48:04 +00:00
Alex Khomenko
a416bd761d
Chore: Remove Form usage from admin components (#81618)
* Chore: Remove Form usage from AdminEditOrgPage

* Chore: Remove Form usage from UserCreatePage.tsx

* Chore: Transform LdapPage to FC

* Chore: Remove Form usage from LdapPage.tsx
2024-02-01 07:58:50 +02:00
ismail simsek
177fa1b947
InfluxDB: Fix template variable interpolation (#80971)
* use regex as templateSrv replace format

* use regex as templateSrv replace format for raw queries

* import path fix

* don't use regex formatter

* tag value escape

* tag value escape with wrappers

* polished interpolation logic

* update unit tests

* comments and more place to update

* unit test update

* fix escaping

* handle the string and array of string type separately

* update variable type
2024-02-01 00:30:21 +01:00
Galen Kistler
d1b938ba15
Logs: Table UI - Allow users to resize field selection section (#81201)
* allow user resize of fields section in table ui

---------

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2024-01-31 19:58:02 +02:00
Alex Khomenko
1749ec9d5e
Chore: Remove Form usage from SharedPreferences.tsx (#81468)
* Chore: Remove Form usage from SharedPreferences.tsx

* Update betterer

* Update betterer
2024-01-31 19:33:17 +02:00
Ivana Huckova
e00aba0ce5
Prometheus: Fix OperationEditor and mounting of components (#81656)
* Prometheus: Fix OperationEditor

* Remove redundant import
2024-01-31 18:57:16 +02:00
Andrej Ocenas
cb945aa5df
NodeGraph: Use layered layout instead of force based layout (#78957) 2024-01-31 17:26:12 +01:00
Mihai Doarna
395a06ab86
Auth: fix swagger responses for the SSO settings API (#81639)
fix swagger responses for the sso settings API
2024-01-31 18:06:22 +02:00
Laura Fernández
91b2909c39
ReturnToPrevious: add shadow to be consistent (#81652) 2024-01-31 17:04:34 +01:00
Darren Janeczek
7319a75110
feat: datatrails: include metric prefix filter (#81316)
* feat: datatrails: include metric prefix filter

* fix: remove current metric from related metrics list

* fix: Cascader issues

- handle empty items list when generating searchable options
- correct state management to ensure cascade shows cascade
  path of selection from search

* fix: remove custom value creation
2024-01-31 09:33:27 -05:00
Darren Janeczek
c8f47e0c54
datatrails: UI improvements (#81427)
* fix: datatrails: limit width of metric description

* fix: datatrails: use vertical radio list for long label list

* fix: datatrails: reduce spacing between header items

* fix: datatrails: reduce gap in lower toolbar

* fix: change to use Select component for longer lists
2024-01-31 09:27:44 -05:00
Ivana Huckova
c9bc937919
Loki: Limit running of samples based on query and time range (#81585)
* Loki: Limit running of samples based on query and time range

* Update
2024-01-31 13:39:07 +01:00
Ivan Ortega Alba
a9f17a3f24
QueryVariable: Be able to edit the variable using scenes (#80847) 2024-01-31 13:31:08 +01:00
renovate[bot]
0851c18b55 Update dependency @grafana/experimental to v1.7.9 2024-01-31 12:29:23 +00:00
Matias Chomicki
e0054c06fe
DashNav: add missing key (#81626)
* DashNav: add missing key

* DashNav: use more specific key
2024-01-31 13:51:15 +02:00
Dominik Prokop
f20053e4b6
DashboardScene: Allow editing panel links (#81560)
* Panel links supplier for VizPanel

* Update panel links behavior

* Allow editing panel links

* Update so that single link is rendered without a dropdown

* Serialise links in scene -> save model transformation

* Betterer fix

* Fix inspect json tab test
2024-01-31 13:30:27 +02:00
Konrad Lalik
ab891d92fb
Alerting: Fix missing pagination param in the oncall request (#81620)
Add skip_pagination param to the oncall request
2024-01-31 12:09:11 +01:00
Torkel Ödegaard
3b2352f066
DashboardScene: Initial work to support "new" dashboard route and creation logic (#81549)
* DashboardScene: Initial work to get new route to work

* Update

* remove caching of new dashboard

* remove old new dashboard func

* Update

* Update public/app/features/dashboard-scene/scene/DashboardScene.tsx

Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com>

* Fixing test

* dam messy tests

---------

Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com>
2024-01-31 11:33:46 +01:00
Joey
3517f0075b
Tempo: Add webpack to package.json (#81577)
Add webpack to package.json
2024-01-31 09:08:32 +00:00
Joey
b9f5042044
Tempo: Add query ref in the query editor (#81343)
* Add query ref

* Fix lint

* Add comment

* Update public/app/plugins/datasource/tempo/traceql/QueryEditor.tsx

Co-authored-by: Fabrizio <135109076+fabrizio-grafana@users.noreply.github.com>

---------

Co-authored-by: Fabrizio <135109076+fabrizio-grafana@users.noreply.github.com>
2024-01-31 09:08:06 +00:00
Joey
0d9886a654
Tempo: Add span, trace vars to trace to metrics interpolation (#81046)
* Add scoped vars to query

* Update import

* Remove ternary
2024-01-31 09:07:35 +00:00
renovate[bot]
12d08d5e7d
Update dependency @testing-library/react to v14.2.0 (#81612)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-31 01:00:51 +00:00
renovate[bot]
ae7d8624e9 Update dependency @types/node to v20.11.13 2024-01-31 00:36:16 +00:00
Nathan Marrs
b0130ecb82
Canvas: Add element snapping and alignment (#80407)
Co-authored-by: drew08t <drew08@gmail.com>
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2024-01-30 15:37:46 -08:00
Ryan McKinley
2ffd56c23b
K8s: Improve OpenAPI behaviour (#81606) 2024-01-31 01:17:14 +02:00
Drew Slobodnjak
6fc1a6a54f
XYChart: Add data filter to manual mode (#81115)
* XYChart: Add data filter to manual mode

* Add onChange to data filter for manual editor

* Update placeholder for auto editor for consistency

* Filter x y fields based on frame

* Update frame calc for truthy

* Use display name instead for frame filter

* Update placeholders

* Apply frame filter to series prep

* Re run make gen cue

* Remove old TODO

* Force data filter to be selected

* minor cleanup

---------

Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2024-01-30 15:09:15 -08:00
Alyssa Bull
be6efd9518
Cloud Monitoring: Add standalone files and modify plugin.json (#81596) 2024-01-30 15:52:44 -07:00
renovate[bot]
907ac10708
Update dependency css-loader to v6.10.0 (#81592)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-30 22:37:18 +00:00
kay delaney
0f6380b76a
Scenes: Add support for panel overrides (#81470) 2024-01-30 19:29:46 +00:00
renovate[bot]
80afc8202d
Update Yarn to v4.1.0 (#81584)
* Update Yarn to v4.1.0

* commit yarn 4.1.0.cjs

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-01-30 18:03:46 +00:00
Ashley Harrison
43de30a09b
Chore: Extract out dragHandle styles (#81280)
extract out dragHandle styles
2024-01-30 17:11:56 +00:00
Victor Marin
63c7096d32
Scenes: List annotations in dashboard settings (#80995)
* wip listing/viewing annotations

* list annotations in settings

* fix tests

* PR mods
2024-01-30 18:38:26 +02:00
renovate[bot]
27f3cec094
Update Yarn to v4 (#81575)
update yarn version

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-01-30 17:46:36 +02:00
Misi
69a1e7b510
Auth: Remove unnecessary field from Generic OAuth UI (#81565)
* Remove unnecessary field

* Update interaction event key
2024-01-30 16:17:38 +01:00
Torkel Ödegaard
b48e1f897e
Dashboard: Improve diff styling (#81509)
* Dashboard: Improve diff styling

* Update public/app/features/dashboard-scene/settings/version-history/DiffGroup.tsx

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

* Fix

* Update

* Update

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2024-01-30 16:07:24 +01:00
renovate[bot]
7af58bab02
Update dependency react-use to v17.5.0 (#81570)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-30 14:15:36 +00:00
Andre Pereira
8440eadec2
Data trails: Homepage redesign (#81496)
* Rename trails and tweak styles in homepage

* Use design system card and update layout. Add createdAt date to trail

* Small style tweaks

* Move queryDef state to metricScene

* Date format update

* More style tweaks

* betterer update

* Use smaller padding on Card and use Badge istead of Tag

* Increase badge max width

---------

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2024-01-30 13:51:31 +00:00
renovate[bot]
ced0cca27a
Update dependency @testing-library/jest-dom to v6.4.0 (#81564)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-30 15:48:19 +02:00
renovate[bot]
544740dc5e
Update dependency tslib to v2.6.2 (#81561)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-30 12:48:04 +00:00
Laura Fernández
8ee7b1e00c
ReturnToPrevious : Add logic to show the new component in AppChrome behind the new toggle (#81035) 2024-01-30 13:34:59 +01:00
Nathan Vērzemnieks
ec4fafa08f
Cloudwatch: Deprecate cloudwatchNewRegionsHandler feature toggle and remove core imports from featuremgmt (#81310)
* Remove core imports from grafana/pkg/services/featuremgmt in CloudWatch
2024-01-30 13:11:52 +01:00
Sven Grossmann
cc56e0e75c
Logs Panel: Fix scrolling with permalinks (#81558) 2024-01-30 13:11:12 +01:00
Josh Hunt
147bee4831
Fix alerting i18n keys (#81555) 2024-01-30 13:41:20 +02:00
Matias Chomicki
2a734a9e3f
Supplementary queries: allow plugin decoupling by allowing providers to return a request instance (#80281)
* Supplementary queries: add support for providers returning a request instance

* Formatting

* DataSourceWithSupplementaryQueriesSupport: update getDataProvider signature

* getLogLevelFromLabels: fix buggy implementation

* getLogLevelFromKey: fix key type

Why number??

* Revert "getLogLevelFromKey: fix key type"

This reverts commit 14a95298a6f803cc3270e0421b2e04dd0d65f131.

* getSupplementaryQueryProvider: remove observable support

* Datasources: remove unnecessary check

The switch is doing the same job

* Supplementary queries: update unit test

* datasource_srv: sync mock with real api

* Formatting

* Supplementary queries: pass targets from getSupplementaryQueryProvider

* LogsVolumeQueryOptions: remove range and make extract level optional

* logsModel: add missing range to test data

* query: sync tests with changes

* Formatting

* DataSourceWithSupplementaryQueriesSupport: update interface with deprecated and new methods

* DataSourceWithSupplementaryQueriesSupport: sync Loki and Elasticsearch

* queryLogsVolume: extractLevel no longer customizable

* Loki: update test

* Supplementary queries: add support for the new method

* hasSupplementaryQuerySupport: update signature

* Formatting

* Betterer

* Query: update test

* Supplementary queries: add test for the legacy API

* Update public/app/features/explore/utils/supplementaryQueries.ts

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>

---------

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2024-01-30 12:36:20 +02:00
Misi
8ffcf32f83
Auth: Add interaction tracking to SSO settings UI (#81497)
Add interaction tracking
2024-01-30 11:04:55 +01:00
renovate[bot]
89e64b8f68
Update dependency immer to v10.0.3 (#81545)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-30 12:04:20 +02:00
renovate[bot]
253f797146
Update dependency @types/react-test-renderer to v18.0.7 (#81525)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-30 09:43:07 +00:00
Oscar Kilhed
d12493d654
Dashboard scenes: Display alerts in scenes dashboard (#81260)
Display alerts in scenes dashboard
2024-01-30 10:30:35 +01:00