Commit Graph

32864 Commits

Author SHA1 Message Date
Ryan McKinley
8cf63a9d44 Chore: convert settings page to function component (#43731) 2022-01-07 17:59:14 +01:00
Katarina Yang
a30ca86084 Refactor: Change sqlstore.inTransaction to SQLStore.WithTransactional… (#43772)
* Refactor: Change sqlstore.inTransaction to SQLStore.WithTransactionalDBSession in dashboard

* Fix: Fix failing lint and BE tests
2022-01-07 17:50:59 +01:00
renovate[bot]
a29ddfd386 Update Monthly patch updates (#43798)
* Update Monthly patch updates

* remove lodash and mousetrap type updates

* Remove slate types upgrade

* Update storybook versions in yarnrc

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-01-07 16:33:26 +00:00
idafurjes
3ca58c0e0c Chore: Upgrade go and alpine (#43801)
* Upgrade go and alpine

* Bump grabpl version

* Bump alpine version

* Fix version of grabpl

* Bump alpine version

* Bump alpine in Dockerfiles
2022-01-07 17:27:22 +01:00
David
a08e0581de Hotkeys: Make time range permanent (#43802)
Typing `t a` in Explore or Dashboards will turn a relative time like "Last 1 hour"
into an absolute range to make the URL permanent, so that when sharing it others
will see the same data.

- registered `t a` in key service
- new `AbsoluteTimeEvent` dispatch via global event bus
- dashboard times handled in TimeSrv
- Explore times handled in Explore.tsx and Explore's time reducer

I could not find an easy way to combine time handling for Exlore and Dashboard in one place.
2022-01-07 16:51:29 +01:00
Dimitris Sotirakis
79d10c6903 Add packages:publishPrevious command (#43800) 2022-01-07 16:19:58 +02:00
machinly
36626554be Prometheus: annotation: fix only first frame was process error & typo. (#43486) 2022-01-07 15:04:30 +01:00
Sebastião Beirão
720d2487fa Units: Fixed VAr (Volt-Ampere reactive), VA and kVA capitalization (#43779)
* Fixed VAr unit casing

* Fixed VAr unit casing

* Fixed VAr unit casing

* Fixed categories.ts file extension

* Fixed VA and kVA capitalization

* Fixed VA, kVA and kVAr capitalization.
2022-01-07 13:56:55 +00:00
kay delaney
36e4a871f2 UI/ClipboardButton: Remove ClipboardJS in favor of native Clipboard API (#42996)
* UI/ClipboardButton: Remove ClipboardJS in favor of native Clipboard API
Closes #42365

* Add backwards compatibility
2022-01-07 13:41:09 +00:00
idafurjes
4eacdf5f9e Upgrade go version to 1.17.6 (#43797) 2022-01-07 14:09:19 +01:00
Joan López de la Franca Beltran
532e71554f Usage Stats: Add metrics to count enabled kms providers per kind (#43640)
* Usage Insights: Add metrics to count enabled kms providers per kind

* Add backwards compatibility
2022-01-07 13:52:28 +01:00
Timur Olzhabayev
e2dcfbf916 docs(static): add plugin submission how-to (#43576) 2022-01-07 13:43:41 +01:00
Selene
32ed680fc2 Team Guardian: Refactor it to remove the bus dependency (#43058)
* Refactor team guardian to avoid to use bus

* Fix lint

* Fix lint
2022-01-07 13:38:00 +01:00
Ashley Harrison
f2336fd981 Need to add a group name to ensure they're batched correctly (#43796) 2022-01-07 12:32:09 +00:00
Emil Tullstedt
fdd196a627 Datemath: Remove unused functions (#43665) 2022-01-07 12:53:31 +01:00
Ashley Harrison
1fe098ecd2 Enable patch updates in renovate (#43795) 2022-01-07 11:27:23 +00:00
renovate[bot]
f074ab8774 Update typescript-eslint monorepo to v5.9.0 (#43793)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 10:43:13 +00:00
renovate[bot]
125438946f Update sentry-javascript monorepo to v6.16.1 (#43792)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 10:37:59 +00:00
renovate[bot]
d1c2b1c500 Update react monorepo (#43787)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 10:09:54 +00:00
renovate[bot]
38f7dd2714 Update dependency prismjs to v1.26.0 (#43785)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 10:00:53 +00:00
Zoltán Bedi
85246d7179 Postgres: Fix test datasource always returns success (#43762) 2022-01-07 10:39:25 +01:00
Nicholas Bowman
20574c130a PostgreSQL: include numeric column type in Query Builder metaquery (#43445)
* Plugins: Change the PostgreSQL plugin to include more column types in Query Builder metaquery

Originally, the metaquery used in the PostgreSQL plugin to populate the
column dropdown menu in the Query Builder UI only included integer- and real-typed
columns. This change expands the list of acceptable types for plotting to
include numeric columns, boolean columns, and textual columns, as all are
types that could feasibly be desired to plot in a panel.

* Update types tracked in meta query builder

Removed the `boolean` and `text` types, but retained addition of `numeric` type as part of time series query builder.
2022-01-07 10:32:46 +01:00
Torkel Ödegaard
5b02e8a666 Table: Fixes issue with field config applied to wrong fields when hiding columns (#43376)
* Table: Fixes issue with field config applied to wrong fields when hiding columns

* Minor refactoring

* Fixing comment

* Rename to field

* Forgot to save test file
2022-01-07 10:32:04 +01:00
Dimitris Sotirakis
beba5958a4 Remove duplication (#43694) 2022-01-07 11:23:17 +02:00
renovate[bot]
7917c04883 Update emotion monorepo (#43768)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 09:21:04 +00:00
renovate[bot]
3c28bd9fa2 Update dependency whatwg-fetch to v3.6.2 (#43764)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 09:19:06 +00:00
renovate[bot]
3d98981bfb Update dependency webpack-dev-server to v4.7.2 (#43763)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 09:18:30 +00:00
kay delaney
e7f1e11229 Modal: Fix restore focus behavior (#43749)
* Modal: Fix restore focus behavior

* Use OverlayContainer

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-01-07 09:00:55 +00:00
Timur Olzhabayev
8717bc7ef4 fix(40639): datasource should not be visible after uninstall (#43625)
* fix(40639): datasource should not be visible after uninstall
2022-01-07 09:54:02 +01:00
Yuriy Tseretyan
ea478dec22 Alerting: Remove bridge between log15 and go-kit logger (#43769)
* remove bridge between log15 and go-kit logger.

* fix tests
2022-01-07 09:40:09 +01:00
MaukWM
faca526c16 Fixed incorrect link to text panel page (#43757)
"Text panel" was linking to the "alert list panel" page: (https://grafana.com/docs/grafana/latest/visualizations/alert-list-panel/). This change should map it to the correct page now (https://grafana.com/docs/grafana/latest/visualizations/text-panel/).

Co-authored-by: achatterjee-grafana <aparajita.chatterjee@grafana.com>
2022-01-06 15:15:44 -05:00
Ryan McKinley
964dae9872 Open Chore: remove graph(NG) from storybook (#43735) 2022-01-06 09:30:04 -08:00
Katarina Yang
7f8daa0eae Refactor: Change sqlstore.inTransaction to .WithTransactionalDBSession (#43245)
* Refactor: Change sqlstore.inTransaction(...) to SQLStore.WithTransactionalDBSession(...) in alert_notification.go

* Chore: Fix BE lint err

* fix: fix failing sqlstore nil error

* chore: remove unecessary setup()

* fix: use appropriate ctx
2022-01-06 18:21:39 +01:00
renovate[bot]
846c6ce758 Update dependency typescript to v4.5.4 (#43756)
* Update dependency typescript to v4.5.4

* Changes needed to support new TypeScript version

* kick drone

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-01-06 16:16:13 +00:00
kay delaney
890c43adf1 UI/Card: Refactor Card component for improved accessibility (#41890)
* UI/Card: Improve accessibility of Card component

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2022-01-06 15:48:12 +00:00
renovate[bot]
d55d2d3da7 Update dependency webpack to v5.65.0 (#43761)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-06 15:26:35 +00:00
renovate[bot]
c2859b16fc Update dependency underscore to v1.13.2 (#43760)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-06 15:22:25 +00:00
renovate[bot]
bb7df6eb77 Update dependency ts-jest to v27.1.2 (#43755)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-06 14:43:23 +00:00
ying-jeanne
a8eef45a44 Logger migration from log15 to gokit/log (#41636)
* migrate log15 to gokit/log

* fix console log

* update some unittest

* fix all unittest

* fix the build

* Update pkg/infra/log/log.go

Co-authored-by: Yuriy Tseretyan <tceretian@gmail.com>

* general type vector

* correct the level key

Co-authored-by: Yuriy Tseretyan <tceretian@gmail.com>
2022-01-06 22:28:05 +08:00
Travis Patterson
8898a5f0a0 Add record-audio icon for recorded queries (#43734)
* Add record-audio icon for recorded queries

* add record-audio icon to iconBundle

Co-authored-by: Todd Treece <todd.treece@grafana.com>
2022-01-06 07:15:50 -07:00
Connor Lindsey
1a7567d8c7 Tempo: Filter available service graph filter values to most relevant options (#43728)
* Restrict service graph filter tag values to labels from service graph metrics
2022-01-06 07:09:31 -07:00
renovate[bot]
cb34c47123 Update dependency testing-library-selector to v0.2.1 (#43752)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-06 13:55:47 +00:00
Giordano Ricci
0013eb3555 Input: Fix margins when not using prefix/suffix (#43726) 2022-01-06 14:27:27 +01:00
kay delaney
c8e7368ea6 ColorPicker: Makes tab order left to right (#43745) 2022-01-06 13:19:42 +00:00
renovate[bot]
9dfbab2e03 Update dependency terser-webpack-plugin to v5.3.0 (#43751)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-06 13:13:17 +00:00
Ashley Harrison
6a558582d5 Fix deprecated sass (#43753) 2022-01-06 13:09:52 +00:00
renovate[bot]
2550baba3e Update linguijs monorepo to v3.13.0 (#43748)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-06 12:22:25 +00:00
renovate[bot]
58f3a7764d Update dependency stylelint to v14.2.0 (#43747)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-06 12:01:33 +00:00
Uchechukwu Obasi
c28f913168 TimePicker: fixes focus to restore when closing calendar on narrow screen (#43746) 2022-01-06 12:28:09 +01:00
renovate[bot]
c47d33f4b7 Update dependency search-query-parser to v1.6.0 (#43741)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-06 11:23:08 +00:00