Commit Graph

56090 Commits

Author SHA1 Message Date
Ryan McKinley
cbddc41ad5
Chore: Avoid logging error for UID mismatch (#98151) 2024-12-19 13:04:09 +03:00
Tobias Skarhed
c901b76a8a
Transformations: GroupToMatrix add 0 as special value (#97642)
* Add support for 0 empty value

* Remove only

* Add zero option
2024-12-19 10:53:33 +01:00
Joao Silva
e0af98dec8
POC: Unified History (#94318) 2024-12-19 10:26:42 +01:00
Leonor Oliveira
f5d44ff51d
Folders move (#98100) 2024-12-19 09:59:14 +01:00
maicon
2e08092a34
UniStore: Get Folder Handler return Root Folder (general) (#98127)
Signed-off-by: Maicon Costa <maiconscosta@gmail.com>
2024-12-18 22:31:55 -03:00
Nick Richmond
721c50a304
Prometheus: Improve handling of special chars in label values (#96067)
* fix: handling of special chars

* docs: add clarity

* fix: escaping

* refactor: put changes behind new feature toggle

* docs: use consistent comment style

* refactor: rename feature toggle for brevity

* use single quotes

* fix unit tests

* remove redundant json entry

* fix: keep all changes behind feature toggle

* fix: support builder mode

* fix: don't escape when using regex operators

* fix: code mode label values completions with special chars

* refactor: remove unneeded changes

* move feature toggle up so new changes from main won't conflict with ours

* fix: escape label values in metric select scene

* refactor: ensure changes are behind feature toggle

---------

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
2024-12-18 16:31:08 -05:00
Isabel Matwawana
c9c77a6a6c
Docs: Hide cost info and add note about future cost (#97361)
Co-authored-by: Thanos Karachalios <47744721+thanos-karachalios@users.noreply.github.com>
2024-12-18 15:43:45 -05:00
Konstantin Kornienko
3a8113889a
Annotations: Fix min step parameter interpolation in Prometheus annotations query (#97734)
* Fix `min step` parameter interpolation in prometheus annotations query

Looks like the step is interpolated in annotationQuery, but not interpolated in processAnnotationResponse. Fixing that.

* Update packages/grafana-prometheus/src/datasource.ts

Co-authored-by: Brendan O'Handley <brendan.ohandley@grafana.com>

* Added test for non-default step

* modified tests

* apply prettier manually

---------

Co-authored-by: Brendan O'Handley <brendan.ohandley@grafana.com>
2024-12-18 14:27:07 -06:00
Juan Cabanas
2c3c06e00f
SharePanelInternally: Add render image inside drawer with customization (#97179) 2024-12-18 16:32:41 -03:00
Isabel Matwawana
62b326a08c
Docs: Share panel image preview (#98039) 2024-12-18 14:31:31 -05:00
Matias Chomicki
52673ad390
Log rows: Refactor as functional components and remove render preview (#98025)
* LogRow: migrate to functional component

* LogRowContextModal: remove dependency between test cases

* LogRows: turn into functional component

* LogRows: try GhostRow, preview, and move event listeners to the parent

* LogRows: adjust preview size for few log rows

* Explore: optimize inline and derived props

* Remove log

* Logs: restore set displayed fields

* Refactor props that cause re-renders

* Unmemoize shouldShowMenu

* Refactor to PreviewLogRow and add preview to DisplayedFields

* Refactor moving listeners to parent

* Update unit tests

* LogRows: update preview size to twice screen height

* Revert change

* Update unit test

* Update utils test

* Update logsPanel unit test

* Improve permalinking

* LogRows: decrease preview size

* PreviewRow: render log entry

* Prettier

* LogRow: update unit test

* Update missing props

* Fix logs volume toggling

* Destructure prop
2024-12-18 19:03:47 +01:00
Isabel Matwawana
dc52d1b252
Docs: Gauge visualization refactor (#98143) 2024-12-18 12:40:39 -05:00
owensmallwood
4837585cab
Unified Storage Search: Add sprinkles (#97820)
* Wire up sprinkles to oss and enterprise. Fetching sprinkles not implemented yet.

* Adds wireset for initializing document builders. Had to init it when creating the service to avoid cyclical imports.

* updates to int64 for stats

* adds config for sprinklesApiServer and gets sprinkles from there when its present

* add comment for later

* adds feature toggle for sprinkles. returns empty results when flag not enabled.

* adds unified storage config setting for sprinkles apiserver page limit

* fixes bug where dashboard uid was not getting set

* when creating dashboard summary, use metadata.name as the dashboard uid

* cleans up wire. use existing oss and enterprise sets to generate doc builders

* remove old wireset

* fix linter - adds missing arg for doc builders

* update dashboard stats in tests

* updates test-data dashboards

* log a warning instead of returning an error if we can't get sprinkles for a namespace

* dont read uid from dashboard json
2024-12-18 11:00:54 -06:00
renovate[bot]
54e603e552
Update dependency rollup-plugin-node-externals to v8 (#98211)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 18:57:09 +02:00
renovate[bot]
34d7caef2d
Update dependency react-i18next to v15 (#98209)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 18:38:46 +02:00
grafana-pr-automation[bot]
bff389aa41
I18n: Download translations from Crowdin (#98187)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-18 18:19:23 +02:00
Gabriel MABILLE
987357327d
Chore: Update authlib (#98191) 2024-12-18 17:16:34 +01:00
renovate[bot]
59f71566df
Update dependency @rtk-query/codegen-openapi to v2 (#98135)
* Update dependency @rtk-query/codegen-openapi to v2

* update cloud migration generated endpoints

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-12-18 18:16:21 +02:00
Ashley Harrison
5aabc0781c
Chore: remove @types/dompurify since the main package exports types now (#98196)
remove @types/dompurify since the main package exports types now
2024-12-18 15:56:19 +00:00
Ieva
30321a59a9
Fix broken builds (#98198)
* fix broken builds

* fix broken builds
2024-12-18 17:24:56 +02:00
Misi
5ecc3343db
Docs: Add org role mapping improvements to SAML docs (#98178)
Docs: Add org role mapping improvements
2024-12-18 16:12:50 +01:00
Liza Detrick
67a85fc358
feat: (Navlinks) - Add Adaptive Traces to Cost mgmt navlinks (#97981) 2024-12-18 09:05:18 -06:00
Misi
26c323b5a6
Chore: Do not return the token on refresh error (#98171)
* Small improvements

* Remove unused error
2024-12-18 15:30:39 +01:00
renovate[bot]
9532f738d5
Update dependency lru-cache to v11 (#98194)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 14:23:43 +00:00
Ieva
40a9f7162a
AuthZ service: Build folder tree and check inherited permissions (#98074)
* build folder tree and check inherited permissions

* don't fetch dashboards

* remove unused queries
2024-12-18 14:19:16 +00:00
renovate[bot]
a727372573
Update dependency ini to v5 (#98193)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 16:16:32 +02:00
Sergej-Vlasov
e7ab142348
Update scenes to v5.35.0 (#98174)
* Update scenes to v5.35.0

* update test to mock console.warn

* use updateLocale

---------

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-12-18 14:15:59 +00:00
Syerikjan Kh
beaa26764c
fix: upgrade/install button interaction event condition (#98142) 2024-12-18 09:03:10 -05:00
renovate[bot]
f186c452d5
Update dependency immutable to v5 (#98189)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 15:56:49 +02:00
renovate[bot]
e308675b44
Update dependency i18next-browser-languagedetector to v8 (#98188)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 15:36:04 +02:00
Torkel Ödegaard
697b5a2de7
Table: Fixes broken cell action styles (#98154)
* Table: Fixes broken cell action styles

* restore debug change
2024-12-18 14:35:30 +01:00
renovate[bot]
4377d0f890
Update dependency i18next to v24 (#98182)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 13:17:44 +00:00
renovate[bot]
76c2707383
Update dependency eslint-plugin-testing-library to v7 (#98181)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 13:13:13 +00:00
Gabriel MABILLE
961211b21a
AuthZ Service: Add caching (#98008)
* AuthZ Service: Add caching

* split in functions

* Test getUserTeams

* Add tests to getUserBasicRole

* Test getUserPermissions

* Cache user identifiers

* fix test
2024-12-18 14:07:19 +01:00
Sriram
90bc574599
Public Dashboard: Added postgresql alias grafana-postgresql-datasource as supported public dashboard (#97148)
added grafana-postgresql-datasource
2024-12-18 12:54:26 +00:00
Pepe Cano
001cc853a5
Alerting docs: update Monitor status section (#98179)
* Minor updates to `Declare incidents` docs

* change URL

* View alert state history + restructuring

* Complete alert state

* alert state

* change heading

* View alert rules

* Monitor alerts
2024-12-18 13:23:15 +01:00
Jack Westbrook
b88ce9df38
Chore: Remove Dashboard datasource barrel file (#98040)
* chore(dsahboard-datasource): delete barrel file

* refactor(dashboards): update paths for dashboard ds imports

* chore(betterer): update file

* style(dashboard-datasource): fix linting errors
2024-12-18 13:18:55 +01:00
Tom Ratcliffe
6df7d1fbc0
Alerting: Split out components for notification policies (#97191) 2024-12-18 12:16:46 +00:00
renovate[bot]
89774f3c8d
Replace usage of react-test-renderer and @testing-library/react-hooks (#98152)
* Update dependency @types/react-test-renderer to v19

* replace usage of react-test-renderer

* use renderHook from @testing-library/react in most tests

* update tests to work without @testing-library/react-hooks

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-12-18 11:55:25 +00:00
renovate[bot]
b710e26a40
Update dependency date-fns to v4 (#98172)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 11:52:16 +00:00
grafana-pr-automation[bot]
55bbea3974
I18n: Download translations from Crowdin (#98138)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-18 13:17:34 +02:00
flopp999
7f6c794ecd
Update create-notification-policy.md (#98077)
found an extra /
2024-12-18 12:39:17 +02:00
renovate[bot]
829685ed4f
Update dependency css-minimizer-webpack-plugin to v7 (#98163)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 10:29:39 +00:00
renovate[bot]
3dac836bf9
Update dependency @types/uuid to v10 (#98161)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 10:27:59 +00:00
Misi
a5635d7e89
Auth: Update external session data regardless if the improved session handling is enabled (#98139)
Update ext session tokens regardless if the ft is enabled
2024-12-18 11:27:50 +01:00
renovate[bot]
a572dca2d6
Update dependency @grafana/plugin-e2e to v1.14.0 (#98160)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 12:00:48 +02:00
Igor Suleymanov
ea346cf1f9
Add investigations app to go.mod (#98158)
What

Update dependencies in go.mod and add investigations app module.

Why

The investigations app was introduced as a new sub-module in
https://github.com/grafana/grafana/pull/98084 and since it's imported by
code inside the main `grafana/grafana` module it now is required to be
part of the main `go.mod`.

Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>
2024-12-18 11:48:55 +02:00
Sonia Aguilar
cdd74aa144
Alerting: Fix ash not showing history graph in firefox (#98128)
fix getEventsSceneObject
2024-12-18 10:45:10 +01:00
renovate[bot]
02a3edf30c
Update dependency type-fest to v4.30.2 (#98130)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 09:40:34 +00:00
renovate[bot]
0dea8101d5
Update dependency knip to v5.41.0 (#98129)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 09:40:04 +00:00