Commit Graph

48488 Commits

Author SHA1 Message Date
Ashley Harrison
28b336ac80
DockedMegaMenu: Clean up toggle and old code (#81878)
* remove toggle

* remove code not behind toggle

* remove old MegaMenu

* rename DockedMegaMenu -> MegaMenu and clean up go code

* fix backend test

* run yarn i18n:extract

* fix some unit tests

* fix remaining unit tests

* fix remaining e2e/unit tests
2024-02-06 13:43:11 +00:00
Joey
390461f9e1
Tempo: Move query ref to TraceQLEditor (#81686)
Move ref to TraceQLEditor
2024-02-06 13:30:59 +00:00
Wil.P
679d90be04
Patch 3 (#81937)
* Update _index.md

moved to the asked location

* ran prettier

* Update docs/sources/alerting/set-up/provision-alerting-resources/_index.md

Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>

* Update docs/sources/alerting/set-up/provision-alerting-resources/_index.md

Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>

---------

Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
2024-02-06 14:26:31 +01:00
Diego Augusto Molina
a6e27d1622
Chore: Fix plugins manager process data race in tests (#81914)
* Chore: synchronize writes to pkg.plugins.log.Logs to prevent data races in test code

* Chore: fix data race in tests in plugins process manager

* Chore: improve Logs method naming

* Chore: fix type change
2024-02-06 10:17:37 -03:00
renovate[bot]
1b63c27bb4 Update dependency @grafana/scenes to v2.6.2 2024-02-06 13:10:28 +00:00
Darren Janeczek
16df04e260
datatrails: improve width responsiveness for breakdown label selector (#81838)
* fix: make datatrails breakdown label selector responsive
2024-02-06 08:08:57 -05:00
Jo
cf616d5074
Remove X-Grafana-Device-Id from outbound requests (#81957) 2024-02-06 14:06:19 +01:00
Laura Benz
7292b84614
I18n: Add Crowdin PRs to project board (#81947)
refactor: add Crowdin PRs to project board
2024-02-06 13:44:54 +01:00
Isabel
fa30293987
Docs: remove disable scaling units entry (#81917)
* Removed disable scaling units entry

* Removed QoL section
2024-02-06 07:24:10 -05:00
renovate[bot]
2a114c1c37 Update dependency marked-mangle to v1.1.7 2024-02-06 12:17:01 +00:00
Ashley Harrison
e2c2704296
Browse Dashboards: Imported dashboards now display immediately in the dashboard list (#81819)
* create importDashboard method in rtk query

* fix unit tests

* Revert "fix unit tests"

This reverts commit 72cd81c803.

* fix unit test
2024-02-06 10:46:24 +00:00
Ashley Harrison
8c38ebfeae
Command Palette: Add empty state (#81903)
* add an empty state for the command palette

* cleaner logic
2024-02-06 10:37:56 +00:00
ismail simsek
994aedaac3
Chore: Update InfluxDB response parser test files (#81899)
* add show diagnostics tests

* update test files
2024-02-06 11:31:55 +01:00
Laura Benz
ec1b669ce6
I18n: Export only approved translations (#81943)
refactor: export only approved translations
2024-02-06 11:15:26 +01:00
renovate[bot]
1771010450 Update dependency @types/react to v18.2.55 2024-02-06 10:06:27 +00:00
Josh Hunt
eef491d407
Chore: Force transitive resolution of debug (#81908)
Force resolution of debug
2024-02-06 10:03:26 +00:00
renovate[bot]
4b90936502
Update dependency @grafana/scenes to v2.6.1 (#81906)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-06 09:43:53 +00:00
Laura Benz
90612500e0
I18n: Adjust GH actions workflow (#81887)
* refactor: add github-actions bot to ignoreList

* refactor: change GH user
2024-02-06 10:38:09 +01:00
Sergej-Vlasov
3605d85c4c
Dashboards: Remove advancedDataSourcePicker feature toggle (#81790)
* remove advancedDataSourcePicker feature toggle from DataSourcePickerWithPrompt

* remove advancedDataSourcePicker toggle from DataSourcePicker and adjust tests that relied on old picker

* adjust failing tests in QueryVariableEditorForm

* move DataSourceDropdown to DataSourcePicker file

* covert style declaration syntax to object style in DataSourcePicker

* remove advancedDataSourcePicker  feature flag from registry

* remove .only from test

* adjust QueryVariableEditor test to avoid console.error
2024-02-06 09:20:07 +00:00
Joey
96301ce533
Tempo: Trace to metrics docs (#81548)
* Trace to metrics docs and share variables that can be used in query section

* Update text

* Add span start/end

* Update docs/sources/shared/datasources/tempo-traces-to-profiles.md

Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>

* Update docs/sources/datasources/tempo/configure-tempo-data-source.md

Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>

* Update docs/sources/datasources/tempo/configure-tempo-data-source.md

Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>

* Update text

* Update docs/sources/datasources/tempo/configure-tempo-data-source.md

---------

Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
2024-02-06 08:58:08 +00:00
George Robinson
c8ccc4649c
Alerting: Support UTF-8 (#81512)
This pull request updates our fork of Alertmanager to commit 65bdab0, which is based on commit 5658f8c in Prometheus Alertmanager.

It applies the changes from grafana/alerting#155 which removes the overrides for validation of alerts, labels and silences that we had put in place to allow alerts and silences to work for non-Prometheus datasources. However, as this is now supported in Alertmanager with the UTF-8 work, we can use the new upstream functions and remove these overrides.

The compat package is a package in Alertmanager that takes care of backwards compatibility when parsing matchers, validating alerts, labels and silences. It has three modes: classic mode, UTF-8 strict mode, fallback mode. These modes are controlled via compat.InitFromFlags. Grafana initializes the compat package without any feature flags, which is the equivalent of fallback mode. Classic and UTF-8 strict mode are used in Mimir.

While Grafana Managed Alerts have no need for fallback mode, Grafana can still be used as an interface to manage the configurations of Mimir Alertmanagers and view configurations of Prometheus Alertmanager, and those installations might not have migrated or being running on older versions. Such installations behave as if in classic mode, and Grafana must be able to parse their configurations to interact with them for some period of time. As such, Grafana uses fallback mode until we are ready to drop support for outdated installations of Mimir and the Prometheus Alertmanager.
2024-02-06 08:33:47 +00:00
Victor Marin
613da422ca
Scenes: Migrate permissions settings page (#81781)
* Migrate permissions settings page

* fix
2024-02-06 10:32:55 +02:00
Gábor Farkas
33f80f7a16
mysql: remove dev-mode log (#81894) 2024-02-06 09:29:50 +01:00
Carl Bergquist
c9de794d7f
instrumentation: these features have been enabled for a while (#81617)
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2024-02-06 00:29:41 -08:00
Sven Grossmann
bd48c06f95
Elasticsearch: Set middlewares from Grafana's httpClientProvider (#81814)
Elasticsearch: Set middlewares from httpClientProvider
2024-02-06 07:11:54 +01:00
Clarence
2d25ce8aab
chore: update typos found in docs (#81850) 2024-02-05 21:46:35 +02:00
Diego Augusto Molina
a6342fa576
Chore: Fix data race within tests and enable a few parallel tests in ssosettingsimpl (#81837)
* Chore: Fix data race within tests of SSO Setting implementation

* Chore: fix data race within tests to allow parallel testing

* Chore: rollback changes runtime code to test a different approach

* Chore: Fix data race in SSO Setting implementation Upsert method

* Chore: fix typo in comment
2024-02-05 16:41:38 -03:00
Brendan O'Handley
b6373249d3
Prometheus: Update prometheus frontend library codewowners (#81912)
update prometheus frontend library codewowners
2024-02-05 21:06:04 +02:00
Isabella Siu
81da3ff753
CloudWatch: Remove dependencies on grafana/pkg/setting (#81208) 2024-02-05 13:59:32 -05:00
William Wernert
2ab7d3c725
Alerting: Receivers API (read only endpoints) (#81751)
* Add single receiver method

* Add receiver permissions

* Add single/multi GET endpoints for receivers

* Remove stable tag from time intervals

See end of PR description here: https://github.com/grafana/grafana/pull/81672
2024-02-05 20:12:15 +02:00
Jev Forsberg
49b49e28af
Baldm0mma/xy tooltip tests (#81746)
* baldm0mma/xyTooltipTests/ add first tests

* passing test!!!

* baldm0mma/xyTooltipTests/ add tests

* baldm0mma/xyTooltipTests/ revert destructure move

* baldm0mma/xyTooltipTests/ clean up test

* baldm0mma/xyTooltipTests/ update test names

* baldm0mma/xyTooltipTests/ ignore ts issue

* baldm0mma/xyTooltipTests/ update any

* baldm0mma/xyTooltipTests/ add follwing types

* baldm0mma/xyTooltipTests/ remove "field"

* baldm0mma/xyTooltipTests/ remove debug
2024-02-05 10:10:53 -07:00
Leon Sorokin
d5ac9340e5
Histogram: Add approx bucket count option (#80990) 2024-02-05 11:09:36 -06:00
renovate[bot]
ce0c6a9787
Update dependency webpack to v5.90.1 (#81901)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-05 18:49:20 +02:00
renovate[bot]
6a1f58df3b Update dependency rudder-sdk-js to v2.48.1 2024-02-05 16:26:59 +00:00
Josh Hunt
57993f65ed
Chore: webpack alias react and grafana-runtime to share singletons (#81789)
* Chore: webpack alias react and grafana-runtime to share singletons

* Move alias to dev webpack, add alias for grafana-data as well

* remove whitespace
2024-02-05 16:25:19 +00:00
Jo
7852ea012d
Access: Remove split scopes feature toggle (#81874)
* remove split scopes FT

* Revert "remove split scopes FT"

This reverts commit 349fb081d3.

* make toggle deprecated instead

* fix gen
2024-02-05 17:00:19 +01:00
Gabriel MABILLE
596e828150
Fix: Refresh token when id_token is expired (#79569)
* Fix: Refresh token when id_token is expired

* add id_token comparison

* Fix wire

* Use userID as cache key

* Apply suggestions from code review

---------

Co-authored-by: linoman <2051016+linoman@users.noreply.github.com>
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>
2024-02-05 16:44:25 +01:00
renovate[bot]
62806e8f8c Update dependency react-zoom-pan-pinch to v3.4.2 2024-02-05 15:43:48 +00:00
Torkel Ödegaard
1fe32ce36e
FieldOptions: Revert scalable unit option as we already support this via custom prefix/suffixes (#81893)
* StandardFieldOptions: Revert scalable unit option

* forgot to save merge fixes
2024-02-05 16:42:22 +01:00
Diego Augusto Molina
b02f0b926a
Settings: Fix data race when dynamically overriding settings with environment variables (#81667)
Chore: Fix data race when dynamically overriding settings with environment variables
2024-02-05 12:25:54 -03:00
Matias Chomicki
c87e4eb724
Log rows: add re-renders test cases (#81566)
* Log rows: add re-renders test cases

* Logs panel: add re-render test cases

* Logs panel: update setup and properly trigger rerenders
2024-02-05 17:20:50 +02:00
Torkel Ödegaard
61c7fcc270
DashboardScene: Action toolbar progress (#81664)
* DashboardScene: Action toolbar progress

* Add discard confirmation modal

* minor fix

* Update

* tweaked

* Updating

* Progress

* Update

* Update

* Added some unit tests

* fix test

* Change name to Exit edit

* Tweaks

* fix test

* Minor margin fix

* Move share to left of edit
2024-02-05 16:08:12 +01:00
renovate[bot]
9b18a4d45e Update dependency react-virtualized-auto-sizer to v1.0.22 2024-02-05 14:46:27 +00:00
Darren Janeczek
96772e1a32
datatrails: improve handling of error states and disable states (#81669)
* fix: Cascader: allow disabled state

* fix: datatrails metrics selection scene stability
  - clear panels and filter data when datasource changes
  - detect metric names loading / error state and disable components accordingly
  - put all scene variable dependencies together
  - reset metric names without clearing panels when time range changes
2024-02-05 09:45:47 -05:00
renovate[bot]
fca19a7ba6 Update dependency prettier to v3.2.5 2024-02-05 14:29:20 +00:00
Torkel Ödegaard
d3f7231a27
DashboardScene: Reload when someone else saves changes (#81855)
* DashboardScene: Reload when someone else saves changes

* Update public/app/features/dashboard-scene/pages/DashboardScenePage.tsx

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

* Fixes

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2024-02-05 15:25:12 +01:00
Sonia Aguilar
8f65e36b06
Alerting: Show warning when cp does not exist and invalidate the form (#81621)
* Show warning when cp does not exist and invalidate the form

* Set error in contact selectedContactPoint form field manually

* use RHF validate and trigger

* Fix defaultvalue not being set in contact point and update the error message text

* Simplify refetchReceivers prop definition in ContactPointSelectorProps

---------

Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2024-02-05 15:14:08 +01:00
renovate[bot]
d63590112f Update dependency @testing-library/jest-dom to v6.4.2 2024-02-05 14:07:30 +00:00
brendamuir
ba70ee9b50
Docs: adds update to x-provenance (#81863)
* Docs: adds update to x-provenance

* Prettier

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

---------

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2024-02-05 15:06:28 +01:00
Jack Westbrook
6009425035
Chore: Bump follow-redirects to latest (#81806)
chore(yarn): bump follow-redirects to please dependabot
2024-02-05 14:21:50 +01:00