Commit Graph

47790 Commits

Author SHA1 Message Date
Gábor Farkas
2cb2845ec4
sql: use plugin-sdk code for value-to-float64 conversion (#80621)
sql: use plugin-sdk code
2024-01-17 13:42:32 +01:00
Andres Martinez Gotor
67fe33aa62
Datasources: Ensure the 'Host' custom header functions as expected (#80715)
Supports "Host" custom header.

Co-authored-by: Pei-Tang Huang <tangtheone@gmail.com>
2024-01-17 13:38:45 +01:00
Jean-Philippe Quéméner
82638d059f
feat(alerting): add state persister interface (#80384) 2024-01-17 13:33:13 +01: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
renovate[bot]
5add09a9ed Update dependency terser-webpack-plugin to v5.3.10 2024-01-17 11:59:32 +00:00
Fabrizio
e1ead0f537
Tempo: Minor refactoring (#80701) 2024-01-17 12:45:17 +01:00
renovate[bot]
472f450333 Update dependency systemjs to v6.14.3 2024-01-17 11:39:29 +00:00
Piotr Jamróz
322cd74b9c
Explore: Re-enable basic e2e test for Explore (#80617)
Re-enable basic test for Explore
2024-01-17 12:26:47 +01:00
kay delaney
8872a004e2
Chore: Improve typing for onPanelConfigChange (#80710) 2024-01-17 11:13:14 +00:00
Timur Olzhabayev
7c74ab7059
Revert "bumping go to 1.25.6"
This reverts commit 73439f2cd3.
2024-01-17 11:40:25 +01:00
renovate[bot]
7a9f907882 Update dependency style-loader to v3.3.4 2024-01-17 10:39:36 +00:00
Timur Olzhabayev
73439f2cd3
bumping go to 1.25.6 2024-01-17 11:38:25 +01:00
Gábor Farkas
58b13fed5a
postgres: tests: adjusted the timestamps to be in UTC (#80704) 2024-01-17 11:27:43 +01:00
renovate[bot]
76812240a8 Update dependency selecto to v1.26.3 2024-01-17 10:20:21 +00:00
Santiago
3217a0dc05
Alerting: Fix state sync errors counter increment (#80702) 2024-01-17 11:04:27 +01:00
Karl Persson
7b58f71b33
AuthN: Add auth hook that can sync grafana cloud role to rbac cloud role (#80416)
* AuthnSync: Rename files and structures

* AuthnSync: register rbac cloud role sync if feature toggle is enabled

* RBAC: Add new sync function to service interface

* RBAC: add common prefix and role names for cloud fixed roles

* AuthnSync+RBAC: implement rbac cloud role sync

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2024-01-17 10:55:47 +01:00
renovate[bot]
24c32219bb Update dependency sass to v1.69.7 2024-01-17 09:50:37 +00:00
Ieva
def1b05a93
RBAC: Clean up data source permissions after data source deletion (#80654)
* clean up data source permissions after data source deletion

* remove a comment
2024-01-17 09:49:33 +00:00
Gábor Farkas
4291bf4d69
postgres: tests: improve float64-conversion tests (#80627)
postgres: more tests
2024-01-17 10:31:15 +01:00
renovate[bot]
89089efc98 Update dependency rimraf to v5.0.5 2024-01-17 09:21:35 +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]
ec1d4274ed
Update dependency regenerator-runtime to v0.14.1 (#80696)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 09:03:21 +00:00
Fabrizio
5d49602e41
Automatically assign Pyroscope label (#80639) 2024-01-17 09:59:43 +01:00
Karl Persson
43b6b6b2a4
IDForwarding: add "authenticatedBy" to id token (#80622)
* IDForwading: Set authenticated by for users
2024-01-17 09:52:05 +01:00
Andres Martinez Gotor
0d1462cbbb
Add real instances to testdata standalone API server (#80473)
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2024-01-17 09:22:51 +01:00
Gábor Farkas
2bf56b12cf
postgres: simplify proxy code (#80121) 2024-01-17 09:20:27 +01:00
Gabriel MABILLE
e062fa1d7e
RBAC: Change search permissions buckets to cover long searches (#80624)
* RBAC: Change search permissions histogram start and factor

* Add one bucket and lower start
2024-01-17 09:13:56 +01: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]
c4cea52aa0
Update dependency react-hook-form to v7.49.3 (#80689)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 02:13:33 +02: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
lwandz13
00b954203d
Docs: Updated anon user and dashboard access (#80400)
* Clarified anon user and viewer role, style updates.

* fixed spelling error
2024-01-16 17:14:35 -06: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
Alexander Weaver
3c796ecc8f
Alerting: Add metric counting rule groups per org (#80669)
* Refactor, fix bad map hint

* Count groups per org
2024-01-16 16:35:56 -06: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
Ryan McKinley
48a5c1e850
FeatureFlags: Remove the unsupported/undocumented option to read flags from a file (#79959) 2024-01-16 23:18:25 +02:00
Alexander Weaver
68d4e8a930
Annotations: Remove extraneous, debug log messages (#80670)
* drop log messages

* Revert timer

* fix returns, no need to capture vars for log lines anymore
2024-01-16 14:48:11 -06: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
colin-stuart
097f3c7e06
Auth: Add docs for the SSO Settings get endpoint (#80240)
* add docs for sso-settings get endpoint

* Update docs/sources/developers/http_api/sso-settings.md

Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>

* Update docs/sources/developers/http_api/sso-settings.md

Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>

---------

Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>
2024-01-16 13:27:28 -05:00
Andre Pereira
d27e2fec88
Data Trails: Actions redesign and overview tab (#80216)
* Use last used datasource or default datasource when starting a trail

* Use tabs and move actions bar to same line when possible

* Added overview tab with description, type and labels

* Clickable labels in overview tab

* Show label value counts next to the label name

* Fix action bar zIndex

* Address PR comments

* Refactor

* Refactor getLabelOptions to utils

* Reuse language provider from state

* betterer

* testing some refactors

* Remove unreachable code

* Refactor GROUP_BY var to MetricScene

* Fix url by excluding var-groupby

* Fix conflicts

* Use <Text/> instead of custom styles

* Simplify setting overview as default tab

---------

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2024-01-16 20:22:53 +02:00
Oscar Kilhed
14c82c2725
Scenes: Show transformations when editing scene dashboard (#80372)
* Make dashboard data source query actually use DashboardDataSource

* remove commented out bit

* Always wrap SceneQueryRunner with SceneDataTransformer

* Update Dashboard model compat wrapper tests

* DashboardQueryEditor test

* VizPanelManager tests update

* transform save model to scene tests update

* Betterer

* PanelMenuBehavior test update

* Few more bits

* Prettier

* Show transformations when editing scene dashboard

* remove and edit transformations works

* add add and remove buttons

* Change styles to object to fix betterer issue

* Revert "Change styles to object to fix betterer issue"

This reverts commit 8627b9162c.

* Fix the correct file...

* Some refactoring

* remove unneessary if statement

* panel data not present on first render

* move transformation tabs out of folder

* fix tests

* add lint exception

* refactor tab component

* Fix merge issue

* reorder components

---------

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2024-01-16 18:59:32 +01:00
Darren Janeczek
dbae7ccd3f
refactor: data trails auto query for buckets (#80170)
* refactor: data trails auto query for buckets

* refactor: vizBuilder function signature (#80178)

* fix: use closures for setting unit and title in vizBuilders
2024-01-16 12:46:12 -05:00
Usman Ahmad
739cba6eb9
updated grafana docker video timestamp (#80659)
Update the documentation page:

https://grafana.com/docs/grafana/latest/setup-grafana/installation/docker/

Added the time when the actual demo starts.
2024-01-16 11:22:32 -06:00
Levent Tutar
3aa228f50c
Update _index.md with the correct number of bullets. (#80382)
There are 4 bullets but the text mentions 3.
2024-01-16 11:10:16 -06:00
renovate[bot]
4ea1e80a39
Update dependency @types/lodash to v4.14.202 (#80644)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-16 18:33:48 +02:00
Usman Ahmad
0f093c1463
Update Grafana Kubernetes installation page (#80569)
Removed the Vimeo and added the YouTube link after an internal discussion with the team.
2024-01-16 10:32:57 -06:00
Ryan McKinley
e1d387d826
K8s/Storage: Register field-selector on all kinds (#79822)
Co-authored-by: Dan Cech <dcech@grafana.com>
2024-01-16 08:30:01 -08:00