Commit Graph

56867 Commits

Author SHA1 Message Date
Ivana Huckova
3372720a52
Tempo, Pyroscope and tracing: Replace deprecated @grafana/experimental with @grafana/plugin-ui (#99671)
* Tempo: Replace deprecated @grafana/experimental with @grafana/plugin-ui

* Add also pyroscope and tracing features

* align version of package with main
2025-01-31 11:54:28 +01:00
renovate[bot]
71e78b49ab
Update dependency stylelint to v16.14.1 (#99873)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-31 10:51:39 +00:00
ismail simsek
d062453c49
Prometheus: Don't show expand rules warning for unique rule (#99540)
* fix recording rule query hints

* don't show the hint twice in code editor

* provide testing rules
2025-01-31 11:46:38 +01:00
renovate[bot]
a2b1a85dc4
Update dependency @types/diff to v7.0.1 (#99864)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-31 11:06:38 +01:00
Tobias Skarhed
7190bfb0ca
DashboardVariables: Use Combobox behind feature flag (#98261)
* Add feature toggle

* Use feature toggle

* Remove usage of renderWithCombobox
2025-01-31 11:53:13 +02:00
ismail simsek
1458f5d0fb
Prometheus: Use the timerange in languageProvider when it's not provided (#99699)
use the timerange in languageProvider
2025-01-31 10:39:22 +01:00
ismail simsek
ec836f2760
Chore: Code cleaning with unit tests in promlib (#99542)
* update request tests

* remove unused functions

* add unit tests

* remove commented code

* fix unit tests
2025-01-31 10:39:08 +01:00
renovate[bot]
3b231c433f
Update dependency semver to v7.7.0 (#99837)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-31 09:37:24 +00:00
Dominik Prokop
bfdd00665b
Schema V2: Support v2 custom home dashboards (#99748) 2025-01-31 10:36:56 +01:00
Alexa V
bda4deb20c
Dashboards - Schema V2 - Implement move dashboards using v2 api (#99664)
* Dashboards - Schema V2 - Implement move dashboards using v2 api
* Fix root folder uid not being picked by FolderPicker
2025-01-31 10:30:39 +01:00
owensmallwood
58df80e542
Unified Storage: Fix panic from log (#99850)
evt.Object can be nil, so use the key instead
2025-01-30 19:29:51 -05:00
Ryan McKinley
e3d9b6cadf
K8s/Unstructured: Avoid panic in DeepCopy (#99840) 2025-01-31 00:19:09 +02:00
beejeebus
8ce8c1635f
Escape database names in MSSQL datasource (#99754)
Valid MSSQL database names can contain characters like `-`, which need
to be escaped when used in queries.

This PR wraps database names in `[]`, and fixes Grafana issue #58757.
2025-01-30 15:36:45 -05:00
Scott Lepper
ce38eb3398
[search] fix dashboard list default sort (#99813)
[search] fix dashboard list default sort
2025-01-30 14:22:22 -05:00
Jacob Valdez
8e53e997a0
Docs: Moving migrate to cloud guide from website repo to OSS (#99829) 2025-01-30 12:32:31 -06:00
renovate[bot]
c8297599a9
Update dependency rollup to v4.32.1 (#99820)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-30 17:27:40 +00:00
github-actions[bot]
415628a2c6
Update make docs procedure (#99789)
Co-authored-by: grafanabot <bot@grafana.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2025-01-30 17:24:02 +00:00
Alexander Zobnin
a95005eab5
Zanzana: Disable broken OpenFGA health check (#99818)
* Zanzana: Disable broken OpenFGA health check

* simplify return

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>

---------

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2025-01-30 17:42:48 +01:00
Irene Rodríguez
3d19a778ba
Remove old admonition (#99821) 2025-01-30 10:26:34 -06:00
ismail simsek
52aeae1342
Prometheus: Implement dispose method (#99782)
* implement dispose method

* use s instead of i

* add debug log
2025-01-30 16:58:18 +01:00
Ivana Huckova
f92945ac35
Update @grafana/plugin-ui to v0.10.0 (treeshake-able version) (#99809)
* Update @grafana/plugin-ui to v0.10.0 (treeshake-able version)

* Update to 0.10.1
2025-01-30 16:49:28 +01:00
renovate[bot]
9189feeaf5
Update scenes to v5.41.1 (#99811)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-30 15:46:12 +00:00
Andres Martinez Gotor
a066659e11
Frontend Sandbox: Add to statscollector (#99735) 2025-01-30 16:17:36 +01:00
Joey
64e9c38b66
Tempo: Show consistently named links for external reference types (#99008)
* Show consistently named links for external reference types

* Update betterer
2025-01-30 15:14:38 +00:00
Dominik Broj
3589d9192d
chore: use IRM plugin ID instead of OnCall / Incident if it's present… (#99742)
* chore: use IRM plugin ID instead of OnCall / Incident if it's present in the stack

* minor improvements

* fix unit tests

* Add IRM plugin discovery tests

---------

Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com>
2025-01-30 16:00:23 +01:00
Igor Suleymanov
b683724bec
Upgrade grafana-app-sdk to 0.31.0 (#99739)
* Upgrade grafana-app-sdk to 0.31.0

What

This commit upgrades the app SDK to 0.31.0 and re-generates codegen files.
It doesn't touch alerting schemas, because those are quite old and
should be upgraded separately.

This commit slightly alters the schemas for the investigations app,
because the codegen is not happy with the current syntax, for some
reason (probably has to do with CUE upgrades in `cog`).

Why

To make sure we use up-to-date SDK version and remove the workaround for
the `defencoding=none` bug that required us to clean up generated CRD
files.

Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>

* Revert changes to golden file for store tests

Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>

---------

Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>
2025-01-30 16:10:42 +02:00
renovate[bot]
7e1a8cb984
Update dependency dompurify to v3.2.4 (#99799)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-30 13:55:08 +00:00
Andrej Ocenas
86a68627dd
QueryLibrary: Make query library available outside of Explore (#99319) 2025-01-30 14:53:01 +01:00
Carl Bergquist
a92c8145f1
TopNav: Move news into profile menu (#99535)
* remove news icon from topnav

Signed-off-by: bergquist <carl.bergquist@gmail.com>

* TopNav: Move rss feed and kiosk action into profile menu

* Update language keys

* Update

* review fixes

* Update

* Update

---------

Signed-off-by: bergquist <carl.bergquist@gmail.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2025-01-30 14:43:26 +01:00
Gilles De Mey
6392542db4
Alerting: Fix inheritance of the timing options for policy tree (#99398) 2025-01-30 15:42:11 +02:00
Oscar Kilhed
800c9fa3e6
SchemaV2: Rows in dashboard schema v2 (#99239)
* Testing out rows in schemav2

* update schema

* loading sort of works

* descibe position in relation to row

* add row repeats by variable

* explain ts-expect-error

* Save repeats as well

* Update tests for repeat behavior of rows

* Don't add the clones of the repeated rows

* Add row support for response transformer for V2

* Add row actions

* fix panel name

* fix merge issue

* fix tests

* Implement ensureV1

* set key of GridRow

* fix lint issue

* When going from V2 to V1 rows should be assigned unique ids following max panel id

* remove old comment

* Add panel repeats in V2 -> V1 transform
2025-01-30 15:24:37 +02:00
Andres Martinez Gotor
1e3783cc11
Grafana Advisor: Add links to suggested actions (#99764)
Grafana Advisor: Add links to proposed actions
2025-01-30 13:40:37 +01:00
Ivana Huckova
f637ea225a
Loki: Replace deprecated @grafana/experimental with @grafana/plugin-ui (#99642)
* Loki: Replace @grafana/experimental with @grafana/plugin-ui

* Fix imports

* Fix incorrect import
2025-01-30 13:13:29 +01:00
renovate[bot]
4aa495fd02
Update dependency centrifuge to v5.3.2 (#99797)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-30 10:49:34 +00:00
Laura Fernández
2df05505db
MultiCombobox: Add Clear all button (#99668) 2025-01-30 11:44:15 +01:00
renovate[bot]
c2b44a5da1
Update dependency @swc/core to v1.10.12 (#99796)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-30 10:26:18 +00:00
Ben Sully
408e3e91a8
Live: make maximum WebSocket message size configurable (#99770)
Co-authored-by: Chris Marchbanks <chris.marchbanks@grafana.com>
2025-01-30 10:24:29 +00:00
Ryan McKinley
9d5af95565
K8s/OpenAPI: Remove /watch/ from the openapi spec (#99793) 2025-01-30 12:51:55 +03:00
renovate[bot]
e61036271a
Update dependency react-select to v5.10.0 (#99775)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-30 09:47:58 +00:00
Mariell Hoversholm
0c120db84d
Provisioning: Setup server and storage (#99757)
feat: setup server and storage

This simply sets up the API server and its storage for `provisioning.grafana.app`.
Features will be added eventually.
2025-01-30 08:11:50 +01:00
Ryan McKinley
3c0383f0d5
K8s/Test: Allow setting license path in test helper (#99786) 2025-01-30 08:59:00 +02:00
Stephanie Hingtgen
4b0f8d8363
K8s: Fix search when query is set (#99787) 2025-01-30 03:42:06 +02:00
Stephanie Hingtgen
2d491a9367
K8s: Implement folder search (#99781) 2025-01-29 17:44:42 -06:00
Yuri Tseretyan
7007342704
Alerting: k8s receivers api encrypt existing unencrypted secureFields on update (#99784)
* apply security patch: v11.5.x/305-202501232115.patch

commit 874ce8d12caad3742857ca86d2da7d5f81f3f825
Author: Matt Jacobson <matthew.jacobson@grafana.com>
Date:   Thu Jan 23 16:14:28 2025 -0500

    linting

commit c4b6d9194cc8b79e252e562a27a2d09a42d7a5e8
Author: Matt Jacobson <matthew.jacobson@grafana.com>
Date:   Thu Jan 23 14:56:35 2025 -0500

    CVE-2024-11741 - victorops url
2025-01-30 00:48:26 +02:00
Scott Lepper
8e9e3b8362
[search] title phrase (#99753)
[search] rename title_sort to title_phrase
2025-01-29 17:31:59 -05:00
Garret Wyman
cf177776bf
Alerting: Adding color option for slack receiver (#99615) 2025-01-30 00:12:16 +02:00
Moustafa Baiou
b820fd6bef
Alerting: Fix Alertmanager configuration updates (#99610)
* Alerting: Fix Alertmanager configuration updates

Alertmanager configuration updates would behave inconsistently when performing no-op updates with `mysql` as the store.

In particular this bug manifested as a failure to reload the provisioned alertmanager configuration components with no changes to the configuration itself. This would result in a 500 error with mysql store only.

The core issue is that we were relying on the number of rows affected by the update query to determine if the configuration was found in the db or not.
While this behavior works for certain sql dialects, mysql does not return the number of rows matched by the update query but rather the number of rows actually updated.

Also discovered and fixed the mismatched `xorm` tag for the `CreatedAt` field to match the actual column name in the db.

References: https://dev.mysql.com/doc/refman/8.4/en/update.html
2025-01-29 23:00:45 +02:00
Oscar Kilhed
83d4f6e868
Remove e2e benchmark (#99695) 2025-01-29 21:36:57 +01:00
Leon Sorokin
3954a1948c
Data links: Remove messaging around deprecating compact Explore URLs (#99780) 2025-01-29 13:44:09 -06:00
Kristina
1795a2b4e3
Bar Gauge: Add extra padding for scrollbar (#99722)
* Add extra padding in bar gauge if scroll exists

* Add thin scroll bars, and fix test

* add comment about height calculation
2025-01-29 13:02:56 -06:00