Commit Graph

45962 Commits

Author SHA1 Message Date
Joan López de la Franca Beltran
584381e838
Swagger: Type postDashboardResponse.id as int instead of string (#76749)
* Swagger: Type postDashboardResponse.id as int instead of string

* Swagger: Type postDashboardResponse.id as int64
2023-10-19 09:16:53 +02:00
Alexander Weaver
acee3efcf9
Alerting: Use common StateReason values for NoData/Error mapped states (#76781)
Fix hardcoded state reasons
2023-10-18 17:26:41 -05:00
Yuri Tseretyan
d98edad953
Docs: Add Alerting export to what's new (#76775)
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-10-18 15:38:56 -04:00
Andrew Hackmann
91ad07719f
Azure monitor: Support Logs visualization (#76594)
* logs view

* cant add a library

* gzip doesnt work

* remove link code :(

* clean up

* linter

* linter

* betterer. cant run this locally??

* Remove unneeded conversions

* Return portal link for log queries from backend

* Display portal link

* Update tests

* Lint

* Prettier

* Unused import

* Add Azure Monitor to explore docs

---------

Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2023-10-18 18:19:35 +03:00
Eric Leijonmarck
17fe1d3fc7
Team LBAC: Refactor to use only the teamHeader json part (#76756)
* refactor: to check for feature toggle and for checking for jsonData field

* fix tests

* whitelisting of X-Prom-Label-Policy Header
2023-10-18 16:09:22 +01:00
Joseph Perez
756df61a88
Docs: Fix links to plugin-tools in changelog, breaking changes (#76726)
Fix links to plugin-tools in changelog, breaking changes
2023-10-18 08:08:05 -07:00
Ashley Harrison
d632dd672c
Tooltip: Ensure tooltip text is correctly announced by screenreaders (#76683)
* add aria-describedby, tooltip role and unit tests

Co-authored-by: L-M-K-B <48948963+L-M-K-B@users.noreply.github.com>
Co-authored-by: joshhunt <josh@trtr.co>

* remove `delayShow` so tooltip text is announced correctly

* adjust IconButton, fix unit tests

* undo tooltip aria-label change

* only set aria-describedby if there's no aria-label

---------

Co-authored-by: L-M-K-B <48948963+L-M-K-B@users.noreply.github.com>
Co-authored-by: joshhunt <josh@trtr.co>
2023-10-18 16:05:20 +01:00
Josh Hunt
5cc3a3f1ed
Chore: Remove unneeded package.json resolutions (#76710) 2023-10-18 15:03:47 +00:00
Jack Westbrook
fc488bb6a3
Chore: Update babel dependencies to 7.23.2 (#76746)
chore(npm): update babel dependencies to 7.23.2
2023-10-18 17:01:22 +02:00
renovate[bot]
5f979bdfc0
Update dependency regenerator-runtime to v0.14.0 (#76737)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-18 15:17:26 +01:00
Eric Leijonmarck
9ef390a81b
Auth: Update disabledMessage to make better use of info box (#76687)
* refactor: make better use of info box for basic roles

* linting fix
2023-10-18 15:14:07 +01:00
Andrej Ocenas
c99b978857
Flamegraph: Rendering from tree instead of levels (#76215) 2023-10-18 15:53:07 +02:00
Hugo Kiyodi Oshiro
43add83d1a
Plugins: Add feat toggle to install managed plugins (#75973) 2023-10-18 15:17:03 +02:00
Eric Leijonmarck
a6d8cd87a7
Devenv: Add undev command to the ./setup scrip of devenv (#76684)
* Add undev command to the ./setup scrip of devenv

* Update devenv/setup.sh

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

* include undev as usage

---------

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2023-10-18 14:05:59 +01:00
Sonia Aguilar
1de65bb384
Alerting: Add Alerting menu in getPanelMenu (#76618)
* Add Alerting menu in getPanelMenu

* Add translations

* Allow alert tab, heart icon in all panel types, and not show warning in DashobardPicker panels

* Fix tests

* Move alerting submenu under 'More...' item

* Move create alert menu item to More... without submenu

* Update translations

* Revert "Allow alert tab, heart icon in all panel types, and not show warning in DashobardPicker panels"

This reverts commit 225da3f60e.

* Revert allowing alert tab and health icon for all panel types

* use onCreateAlert method name in onClick instead of new function

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>

* Move getAlertingMenuAvailability method to a /features/alerting folder and rename it to getCreateAlertInMenuAvailability

* Use onCreate direclty instead of a new method

* Make getCreateAlertInMenuAvailability to return a boolean

---------

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2023-10-18 15:13:38 +03:00
Joey
a851750b1c
Tracing: Update configuration editor links (#76678)
Update doc links
2023-10-18 12:30:38 +01:00
Karl Persson
455cede699
AuthN: move oauth token hook into session client (#76688)
* Move rotate logic into its own function

* Move oauth token sync to session client

* Add user to the local cache if refresh tokens are not enabled for the provider so we can skip the check in other
requests
2023-10-18 12:51:15 +02:00
grafana-delivery-bot[bot]
8b16f2aca8
Release: Bump version to 10.3.0-pre (#76742)
"Release: Updated versions in package to 10.3.0-pre"

Co-authored-by: grafana-delivery-bot[bot] <132647405+grafana-delivery-bot[bot]@users.noreply.github.com>
2023-10-18 13:04:03 +03:00
Marcus Efraimsson
872386b427
Instrumentation: Log errors embedded within query data responses (#76285)
Fixes #76140

Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com>
2023-10-18 11:59:36 +02:00
Ieva
1fc375855c
Chore: delete team related entries for an org after the org gets deleted (#76706)
* delete team related entries for an org after the org gets deleted

* fix tests

* one more test fix
2023-10-18 10:40:26 +01:00
Marcus Efraimsson
42f5e42b54
Update grafana-plugin-go-sdk to v0.185.0 and otel to v1.19.0 (#76704) 2023-10-18 11:33:21 +02:00
renovate[bot]
4ada5d748e
Update dependency react-calendar to v4.6.0 (#76709)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-18 10:01:19 +01:00
renovate[bot]
ac9495275c
Update dependency rc-tree to v5.8.0 (#76708)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-18 09:57:54 +01:00
grafana-delivery-bot[bot]
a6f111e23b
Release: Bump version to 10.3.0 (#76733)
"Release: Updated versions in package to 10.3.0"

Co-authored-by: grafana-delivery-bot[bot] <132647405+grafana-delivery-bot[bot]@users.noreply.github.com>
2023-10-18 09:23:25 +03:00
Leon Sorokin
41e3b3bea2
ZoomPlugin: Clear selection in shared-cursor dashboards during zoom (#76719) 2023-10-17 16:26:31 -05:00
O Yves Chan
16d0aff267
Azure Monitor: Fix variable in app insights dependencies dashboard (#76717)
update performance description, fix variable in perf dependency
2023-10-17 19:52:43 +01:00
O Yves Chan
8ac7736c95
Azure Monitor: Add 5 curated dashboards for App insights troubleshooting experience (#75916)
* initial changes

* fix indent

* fix some bugs, and update fit and finish

* remove inputs

* change ms.portal to portal

* add new dashboards, fix some links and queries

* fix more links

* update the default time ranges

* prettier fix dashboards

* update log query variables with search '*'

* default the variable value to All

* missed a few spots to assume that the values of the variable are in an array

* fix queries for min and max duraation as well

* keep variables naming consistent

* fix missing parenthesis in dependencies operation query

* fix some links, change todouble instead of tollong
2023-10-17 19:44:23 +03:00
renovate[bot]
4da4abc375
Update dependency rc-tooltip to v6.1.1 (#76635)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 17:29:47 +01:00
renovate[bot]
76c288a41e
Update dependency @types/node to v18.18.5 (#76700)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 17:24:57 +01:00
Adam Bannach
de1ed216f4
Feat: Add cloud plugin cost management to admin section (#76547)
* feat: add cost management to admin and put adaptive metrics and log volume under it

* test: fix applinks test

* chore: fix lint error

* remove "new" from feature toggle description

---------

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-10-17 17:15:51 +01:00
renovate[bot]
0f7233bdf6
Update dependency @testing-library/user-event to v14.5.1 (#76697)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 16:41:30 +01:00
Todd Treece
863f25acf7
K8s: Add grafana-apiserver config (#76649)
Co-authored-by: Kristin Laemmert <mildwonkey@users.noreply.github.com>
2023-10-17 11:29:06 -04:00
Matias Chomicki
7da2cc9610
Lezer-logql: upgrade to 0.2.1 (#76693)
* Lezer-logql: upgrade to 0.2.1

* Deps: upgrade lezer-logql
2023-10-17 16:56:29 +02:00
renovate[bot]
186dc97fb9
Update dependency @grafana/aws-sdk to v0.2.0 (#76672)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 15:45:39 +01:00
Todd Treece
ec7ed11ea1
K8s: Logging improvements (#76646) 2023-10-17 10:44:23 -04:00
Gabriel MABILLE
797a3c57af
Plugins: Automatic service account (and token) setup (#76473)
* Update cue to have an AuthProvider entry

* Cable the new auth provider

* Add feature flag check to the accesscontrol service

* Fix test

* Change the structure of externalServiceRegistration (#76673)
2023-10-17 16:21:23 +02:00
Sarah Zinger
3bf9f97a89
Cloudwatch: Revert feature toggle related to a new regions endpoint refactor (#76620)
Cloudwatch: revert feature toggle
2023-10-17 10:15:05 -04:00
Sarah Zinger
fefdb78640
Cloudwatch: Ignore error while fetching regions (#76626) 2023-10-17 10:14:33 -04:00
Guilherme Caulada
24a14f3cd7
CI: Implement RGM pipeline parity between editions (#76283)
* Implement RGM pipeline parity between editions

* Use grafana/grafana-build:dev-11c8a20

* Use grafana/grafana-build:dev-261c863

* Use grafana/grafana-build:dev-2db3b18

* Switch nightly trigger for testing purposes

* Use grafana-dev api key for testing

* Use grafana/grafana-build:dev-d4d2e26

* Use grafana-dev api key

* Use production variables

* Revert nightly trigger to cron
2023-10-17 11:13:14 -03:00
Eric Leijonmarck
91c18e93b9
Docs: Update docs for whatsnew for no basic role (#76681)
* update docs for whatsnew for no basic role

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

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

* linting

* added feature release date

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-10-17 16:48:29 +03:00
Andres Martinez Gotor
0ddc3d4a49
Chore: Fix formatter test (#76689) 2023-10-17 16:42:57 +03:00
Joey
4c22027ab7
Tracing: Do not try to render trace view in dashboard if data missing (#76630)
* Check for process and span id

* Remove log

* Update tests

* Check for key
2023-10-17 14:27:27 +01:00
George Robinson
f9484fcf82
Alerting: Update grafana/alerting to a53b5db (#76679) 2023-10-17 12:55:39 +01:00
ismail simsek
d271c19536
InfluxDB: Enable InfluxDB backend mode by default (#76641)
Enable influxdb backend mode by default
2023-10-17 13:50:15 +02:00
Alex Khomenko
a4522812fe
Admin: Use primitive components for table views (#76512)
* Remove HorizontalGroup and VerticalGroup from OrgUserstable

* Refactor OrgUnits

* Refactor UsersTable

* Add TableWrapper

* Use Stack and Flex for TeamList

* Revert pagination changes

* Update betterer

* Remove div wrapper

* Codeformat
2023-10-17 14:06:28 +03:00
Eric Leijonmarck
be5ba68132
Team LBAC: Add teamHeaders for datasource proxy requests (#76339)
* Add teamHeaders for datasource proxy requests

* adds validation for the teamHeaders

* added tests for applying teamHeaders

* remove previous implementation

* validation for header values being set to authproxy

* removed unnecessary checks

* newline

* Add middleware for injecting headers on the data source backend

* renamed feature toggle

* Get user teams from context

* Fix feature toggle name

* added test for validation of the auth headers and fixed evaluation to cover headers

* renaming of teamHeaders to teamHTTPHeaders

* use of header set for non-existing header and add for existing headers

* moves types into datasources

* fixed unchecked errors

* Refactor

* Add tests for data model

* Update pkg/api/datasources.go

Co-authored-by: Victor Cinaglia <victor@grafana.com>

* Update pkg/api/datasources.go

Co-authored-by: Victor Cinaglia <victor@grafana.com>

---------

Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>
Co-authored-by: Victor Cinaglia <victor@grafana.com>
2023-10-17 11:23:54 +01:00
Santiago
7d9b2c73c7
Alerting: Use Mimir image to run integration tests for the remote Alertmanager (#76608)
* Alerting: Use Mimir image to run integration tests for the remote Alertmanager

* skip integration test when running all tests

* skipping integration test when no Alertmanager URL is provided

* fix bad host for mimir_backend

* remove basic auth testing until we have an nginx image in our CI
2023-10-17 12:21:45 +02:00
Josh Hunt
67e2430197
Dashboard: Fix panels overlapping Save Drawer (#76675)
* Dashboard: Fix panels overlapping

* comments
2023-10-17 10:11:52 +00:00
Jean-Philippe Quéméner
2b8c6d66e1
feat(alerting): add query optimizations for prometheus (#76015) 2023-10-17 11:41:25 +02:00
Dimitris Sotirakis
d28e365f74
Slack notifications: Remove CI changes notifications from the grafana-delivery channel (#76671)
Remove notification from the grafana-delivery channel
2023-10-17 12:12:02 +03:00