Commit Graph

46189 Commits

Author SHA1 Message Date
Ieva
7a9ec6b4e0
RBAC: update data source permission API reference (#76613)
* update data source permission docs

* Update datasource_permissions.md

* Update docs/sources/developers/http_api/datasource_permissions.md

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

* Apply suggestions from code review

---------

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2023-10-24 16:51:12 +03:00
Sonia Aguilar
ed54239a9f
Alerting: Dont show 1 firing series when no data in Expressions PreviewSummary (#76981)
* Dont show 1 firing series when no data in Expressions PreviewSummary

* Add comment to make clear we need to filter out undefineds for firing count

* Move logic to a new getGroupedByStateAndSeriesCount method and added test to it
2023-10-24 15:50:50 +02:00
lwandz13
b2eda16023
Docs: Updates based on UI changes, support request (#76907)
* added additional links on Lucene queries

* cosmetic updates to query editor

* updated config doc to reflect UI changes

* removed Explore elements from query editor doc

* ran prettier
2023-10-24 08:42:40 -05:00
Fabrizio
b8d005ae23
Plugins: Improvements to NodeGraph (#76879) 2023-10-24 15:16:10 +02:00
Matias Chomicki
765defea1e
Loki Queries: Query Splitting enabled by default (#75876)
* Loki Query Splitting: enable by default

* Query splitting: add gdev dashboard

* Update testdata file

* Update devenv/dev-dashboards/datasource-loki/loki_query_splitting.json

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

* Revert "Update testdata file"

This reverts commit 5a891ba1f2.

* Update feature-toggles readme

---------

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2023-10-24 16:09:30 +03:00
Eric Leijonmarck
813a7625a5
RBAC: Default to None role on SA creation if accesscontrol enabled (#77035)
* Check accesscontrol enabled on service account creation

* fix test

* linting
2023-10-24 13:52:55 +01:00
renovate[bot]
e08e884607
Update dependency react-grid-layout to v1.4.2 (#76736)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-24 14:09:05 +02:00
Eric Leijonmarck
8914849733
Revert "RBAC: Allow the basic role None as option of the org role #76335 (#77033)
Revert "RBAC: Allow the basic role None as option of the org role selector (#76335)"

This reverts commit 43928d38af.
2023-10-24 13:02:17 +01:00
George Robinson
1cb1d174fd
Alerting: Fix confusion around what can and cannot be customized in notifications (#77032)
* Alerting: Fix confusion around what can and cannot be customized in notifications

* Small fix

* Second small fix
2023-10-24 12:41:08 +01:00
Ashley Harrison
07cc7504ee
Icon: Simplify and remove wrapping <div> (#76819)
* remove wrapping div

* update tests, just gotta figure out how to handle fontawesome :(

* add spinner.svg which matches the font-awesome spinner

* add mock for react-inlinesvg

* update mock and fix some tests

* fix FormField test

* fix CorrelationsPage tests

* increase timeout
2023-10-24 12:16:32 +01:00
Alexander Zobnin
cad3c43bb1
Team LBAC: Move middleware to enterprise (#76969)
* Team LBAC: Move middleware to enterprise

* Remove ds proxy part

* Move utils to enterprise
2023-10-24 14:06:18 +03:00
Victor Marin
575981201c
revert table tracking (#77021) 2023-10-24 13:58:14 +03:00
Ashley Harrison
ced065c7e9
Chore: fix some more types (#76535)
* clean up some e2e/runtime types

* fix some stories

* some more fixes

* fix route props

* update unit tests

* update more unit tests

* don't throw here
2023-10-24 11:53:22 +01:00
George Robinson
272a901e5e
Alerting: Improve order of docs pages (#76998) 2023-10-24 10:50:19 +01:00
George Robinson
0fc9da1422
Alerting: Improve documentation on high availability (#76434) 2023-10-24 10:15:38 +01:00
Gabriel MABILLE
3015e5921f
Chore: Move extsvcaccounts package to serviceaccounts (#76977)
* Chore: Move extsvcaccounts package to serviceaccounts

* Fix proxy

* Fix tests

* Fix linting
2023-10-24 11:01:04 +02:00
Ieva
159bb3c032
RBAC: Allow scoping access to root level dashboards (#76987)
* correctly check permissions to list dashboards on the root

* correctly display the access inherited from general folder for dashboards

* Update pkg/services/sqlstore/permissions/dashboard.go

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

* Update dashboard_filter_no_subquery.go

---------

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2023-10-24 11:55:38 +03:00
Horst Gutmann
bd2b4e956b
CI: rgm-package must wait for update-package-json-version in main pip… (#77022)
CI: rgm-package must wait for update-package-json-version in main pipeline
2023-10-24 11:52:14 +03:00
Ashley Harrison
fbbc524cb6
Navigation: Default MegaMenu to docked when screensize > 1440 (#76960)
default megamenu to docked when screensize > 1440
2023-10-24 09:27:23 +01:00
Matias Chomicki
4ea4156b08
Elasticsearch: decouple from timeSrv and templateSrv (#76894)
* Elasticsearch: remove timeSrv dependencies

* Elastisearch: decouple from templateSrv

* Prettier

* Elasticsearch: improve typescript in mocks file

* Prettier
2023-10-24 10:25:23 +02:00
Jack Westbrook
afa697f954
Build: Faster external plugin builds (#76974)
* build(plugin-configs): move swc-loader to configs and use require.resolve for less duplicate deps

* build(plugins): move cacheLocation to ESLintPlugin, run lint and tscheck plugins in dev

* revert(plugins): remove obsolete stats setting
2023-10-24 09:28:23 +02:00
Sofia Papagiannaki
03a626f1d6
Search: Fix empty folder details for nested folder items (#76504)
* Introduce dashboard.folder_uid column

* Add data migration

* Search: Fix empty folder details for nested folders

* Set `dashboard.folder_uid` and update tests

* Add unique index

* lint

Ignore cyclomatic complexity of func
`(*DashboardServiceImpl).BuildSaveDashboardCommand

* Fix search by folder UID
2023-10-24 10:04:45 +03:00
Guilherme Caulada
442e533803
CI: Rename scripts that build artifacts to use _build_ (#77005)
Rename scripts that build artifacts to use _build_
2023-10-23 20:14:12 -03:00
George Robinson
32f48ee64a
Alerting: Fix link in docs (#76982) 2023-10-23 16:53:31 -05:00
Juan Cabanas
c982a9fc6f
PublicDashboards: Add selector for Confirm Access page (#76913) 2023-10-23 17:40:33 -03:00
Juan Cabanas
a174e69c52
Identity: Fix org role none comparison (#76999) 2023-10-23 17:14:01 -03:00
Leon Sorokin
344e99e069
VizLegend: Omit sectionRight when no right axis exists (#76923)
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2023-10-23 15:01:46 -05:00
Todd Treece
b0eeeb9404
Playlists: Fix K8s list interface (#76993) 2023-10-23 12:47:39 -07:00
Adela Almasan
4df4844c1d
Canvas: Button API update toaster error message (#76988) 2023-10-23 14:34:16 -05:00
Isabel
4e8c4869d1
Docs: add Dataviz features to Cloud what's new (#76722)
* Added Dataviz features

* Removed enum data entry

* Updated datafiz features based on 10.2 what's new

* Fixed headings

* Fixed heading

* Added clarifying language

* Added release dates

* Moved dataviz features so they're ordered by date

* Update docs/sources/whatsnew/whats-new-next/index.md

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>

---------

Co-authored-by: Nathan Marrs <nathanielmarrs@gmail.com>
2023-10-23 21:43:22 +03:00
Todd Treece
949b3af1b2
K8s: Remove duplicate listener in production (#76583) 2023-10-23 21:42:10 +03:00
Isabel
fae193e452
Docs: add unusable transformations content (#76644)
* Added unusable transformations content

* Make note clearer

* Add release date and remove on-prem instructions

* Moved item to be in order by date and fixed heading level

---------

Co-authored-by: Kyle Cunningham <kyle@codeincarnate.com>
2023-10-23 14:27:55 -04:00
Alex Khomenko
90437df056
Box: Add gap prop (#76953)
* Box: Add gap prop

* Update packages/grafana-ui/src/components/Layout/Box/Box.tsx

Co-authored-by: Joao Silva <100691367+JoaoSilvaGrafana@users.noreply.github.com>

---------

Co-authored-by: Joao Silva <100691367+JoaoSilvaGrafana@users.noreply.github.com>
2023-10-23 20:31:29 +03:00
ismail simsek
63abe25b74
InfluxDB: Fix table parsing with backend mode (#76899)
* Add resultFormat to query model

* don't add row name if the result format is table

* No need special formatting since we use unified dataframes

* betterer

* specify visualization type in response

* Unit tests

* fix unit tests
2023-10-23 19:21:30 +02:00
Kyle Brandt
59ef1558e8
Prometheus: (Chore) Switch to sdk tracing from infra tracing (#76975) 2023-10-23 13:11:12 -04:00
owensmallwood
961ed14084
OwenSmallwood/Docs: Updates min cpu for k8s minimum requirements (#76908)
updates min cpu for k8s minimum requirements
2023-10-23 11:00:40 -06:00
Ivan Ortega Alba
a03f9e7660
Feature toggle: Mark dashgpt as GA (#76304)
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-10-23 09:39:12 -07:00
Drew Slobodnjak
4f2bbd490f
Canvas: Add PUT to Canvas Button (#76844)
* Add PUT to canvas button

* Update cue file to include PUT

* Re run make gen cue

* fix gen-cue

---------

Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-10-23 09:24:34 -07:00
Galen Kistler
88957c7f44
Table: Optimization - render icons on hover (#76906)
* only render icons on hover
* Table: Optimization - remove plaintext cell wrapper (#76916)

* remove inner wrapper div from plain text cells
* reuse result of typeof value === 'string'
---------

Co-authored-by: Galen <galen.kistler@grafana.com>

---------

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2023-10-23 11:12:40 -05:00
Shabeeb Khalid
3a9eb33b14
CloudWatch: Use context in aws GetResourcesPagesWithContext (#76921) 2023-10-23 11:46:48 -04:00
ismail simsek
5eb0b2bedb
InfluxDB: Fix aliasing with $measurement or $m on backend mode (#76917)
* better interpolation $measurement aliasing

* unit tests
2023-10-23 17:36:51 +02:00
Alexander Weaver
39599fa7f7
Alerting: Alert rule constraint violations return as 400s in provisioning API (#76396)
Constraint violations become 400s
2023-10-23 10:28:40 -05:00
Sofia Papagiannaki
b04a014341
Chore: Fix failure when importing dashboard (#76947) 2023-10-23 18:16:46 +03:00
Jan Garaj
bd8ee9b0eb
CloudWatch: add AWS/CertificateManager dimension (#76893) 2023-10-23 16:48:54 +02:00
Ashley Harrison
efea86eb52
Navigation: Expand active page hierarchy and scroll into center if not visible (#76949)
* expand page hierarchy and scroll into center if not visible

* remove unnecessary id
2023-10-23 15:47:16 +01:00
Kyle Brandt
1b420585f9
Prometheus: (Chore) Switch to sdk httpclient from infra httpclient (#76955) 2023-10-23 10:40:43 -04:00
Shabeeb Khalid
9dc6cac1f2
CloudWatch: Use context in aws DescribeRegionsWithContext (#76922)
* Use context in aws DescribeRegionsWithContext

In the current way, DescribeRegions is used which doesn't allow
cancelling the request if the context changes. Using
DescribeRegionsWithContext is the preferred way.

* Fix context variable

* Revert GetRegionsWithContext to GetRegions

GetRegions is not an AWS SDK method. Hence, GetRegions should be enough
as the name change is not needed for context implementation.
2023-10-23 16:39:07 +02:00
Shabeeb Khalid
8f96d23eee
CloudWatch: Use context in aws ListMetricsPages (#76938)
Use context in aws ListMetricsPages

Use ListMetricsPagesWithContext and pass context in related sub calls
2023-10-23 16:17:06 +02:00
Kristin Laemmert
f166202e11
chore(grafana-apiserver): expose apiserver metrics endpoint (#76572)
expose apiserver metrics

Add a route to the apiserver metrics on a new endpoint, `/apiserver-metrics`. This requires a signed-in user but otherwise ignores the MetricsEndpoind-relating configuration. that will come in a following PR
2023-10-23 10:05:50 -04:00
Santiago
488a60aee6
Alerting: Rename remote.ExternalAlertmanager to remote.Alertmanager (#76956) 2023-10-23 15:37:14 +02:00