renovate[bot]
26e5af4b2e
Update dependency rollup to v2.68.0 ( #45747 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-01 17:21:56 +00:00
renovate[bot]
36b039a10e
Update sentry-javascript monorepo to v6.18.1 ( #45842 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-01 10:49:46 +00:00
Todd Treece
01df00fd0f
DataFrame: Add cached response notice for X-Cache: HIT header ( #45564 )
2022-02-23 04:17:35 +01:00
Artur Wierzbicki
6c76aa71e8
Previews: capability check ( #44601 )
...
* add SQL migrations
* dashboard previews from sql: poc
* added todos
* refactor: use the same enums where possible
* use useEffect, always return json
* added todo
* refactor + delete files after use
* refactor + fix manual thumbnail upload
* refactor: move all interactions with sqlStore to thumbnail repo
* refactor: remove file operations in thumb crawler/service
* refactor: fix dashboard_thumbs sql store
* refactor: extracted thumbnail fetching/updating to a hook
* refactor: store thumbnails in redux store
* refactor: store thumbnails in redux store
* refactor: private'd repo methods
* removed redux storage, saving images as blobs
* allow for configurable rendering timeouts
* added 1) query for dashboards with stale thumbnails, 2) command for marking thumbnails as stale
* use sql-based queue in crawler
* ui for marking thumbnails as stale
* replaced `stale` boolean prop with `state` enum
* introduce rendering session
* compilation errors
* fix crawler stop button
* rename thumbnail state frozen to locked
* #44449 : fix merge conflicts
* #44449 : remove thumb methods from `Store` interface
* #44449 : clean filepath, defer file closing
* #44449 : fix rendering.Theme cyclic import
* #44449 : linting
* #44449 : linting
* #44449 : mutex'd crawlerStatus access
* #44449 : added integration tests for `sqlstore.dashboard_thumbs`
* #44449 : added comments to explain the `ThumbnailState` enum
* #44449 : use os.ReadFile rather then os.Open
* #44449 : always enable dashboardPreviews feature during integration tests
* #44449 : add /previews/system-requirements API
* #44449 : remove sleep time, adjust number of threads
* #44449 : review fix: add `orgId` to `DashboardThumbnailMeta`
* #44449 : review fix: automatic parsing of thumbnailState
* #44449 : update returned json
* #44449 : UI changes - dashboard previews sytem req check
* #44449 : lint fixes
* #44449 : fix tests
* #44449 : typo
* #44449 : fix getSystemRequirements API: return 200 even if we plugin version is invalid
* #44449 : fix getSystemRequirements API: don't return SemverConstraint on error
* #44449 : fix getSystemRequirements API
* #44449 : fix previews sytem requirements text
* #44449 : add `doThumbnailsExist` to repo
* #44449 : remove redux api
* #44449 : add missing model
* #44449 : implement frontedsettings-driven capability check
* #44449 : simplify
* #44449 : revert test changes
* #44449 : add dummy setup settings
* #44449 : implicit typing over `FC<Props>`
* #44449 : refactor conditionals
* #44449 : replace `getText` with a react component
* #44449 : fix component interface
* #44449 : add onRemove to `PreviewsSystemRequirements` alert
* #44449 : add bottom/top margin to previewSystemRequirements modal
* #44449 : merge conflict fix
* #44449 : remove console.log
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Alexander Emelin <frvzmb@gmail.com>
2022-02-16 21:49:50 +04:00
Torkel Ödegaard
2b9e46d1f8
Angular: Option to disable angular support and isolate angular dependencies ( #45421 )
...
* Angular: Initial setting that disables angular, load angular support in separate chunk
* Load angular panels on demand
* Load alerting in separate chunk only when angularSupportEnabled
* progress, do not export core_module if angular disabled
* Progress
* Update public/app/features/plugins/built_in_plugins.ts
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
* Removing remaining usage of angular from outside angular app (not counting plugins)
* Update config and docs
* Fix sample.ini
* Update public/app/features/alerting/AlertTab.tsx
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
* Fixing prettier issue
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
2022-02-16 17:14:33 +01:00
Marcus Andersson
9a12b3ea00
TemplateSrv: exposing a function to detect if a target contains a template ( #45214 )
...
* exposing a function to check if a target contains variables.
* fixed tests.
* renamed function
* updated betterer result.
2022-02-15 08:53:42 +01:00
kay delaney
10cc2fd6bc
Chore: Add types for OAuth settings in config ( #45247 )
2022-02-11 13:54:24 +00:00
Jack Westbrook
979907e9dd
Chore: Set tsconfig target to ES6 ( #44842 )
...
* chore(tsconfig): update grafana/tsconfig to 1.2.0 for outputting es6
* rewrote the unsubscription part to use first().
* test: update failing tests to work with es6 output
* removed bug where we dispatch a promise instead of an array of ritch history.
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2022-02-10 14:37:39 +01:00
renovate[bot]
9c2363ef08
Update dependency rollup to v2.67.1 ( #44750 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-08 12:18:11 +00:00
renovate[bot]
a8e9369084
Update Monthly patch updates ( #44686 )
...
* Update Monthly patch updates
* Remove 3 troublesome packages...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-02-07 13:08:10 +00:00
Marcus Andersson
eb9d85a2bf
Deprecation: use locationService in favor of getLocationSrv ( #44813 )
...
* deprecated
* updating documentation.
* added deprecation notice.
* Replacing deprecated getLocationSrv.
* Update docs/sources/developers/plugins/migration-guide.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/developers/plugins/migration-guide.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/developers/plugins/migration-guide.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/developers/plugins/migration-guide.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* updating according to feedback.
* Update docs/sources/developers/plugins/migration-guide.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/developers/plugins/migration-guide.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2022-02-07 09:37:56 +01:00
Andres Martinez Gotor
71e3e6ec93
Chore: Update pre version ( #44855 )
2022-02-03 16:52:53 +01:00
renovate[bot]
d87cd6f26c
Update dependency prettier to v2.5.1 ( #43473 )
...
* Update dependency prettier to v2.5.1
* prettier fixes
* chore(toolkit): bump prettier to 2.5.1
* style(eslint): bump grafana config to 2.5.2 in core and toolkit
* style(mssql-datasource): fix no-inferrable-types eslint errors
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2022-02-02 12:02:32 +00:00
renovate[bot]
793e3d3556
Update sentry-javascript monorepo to v6.17.2 ( #44364 )
...
* Update sentry-javascript monorepo to v6.17.2
* update Sentry transport impl to be compat with latest sentry
* kick drone
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Domas <domasx2@gmail.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-01-31 16:51:09 +00:00
Todd Treece
4d1f3a3f6c
Recorded Queries: Enable by default ( #44397 )
2022-01-27 11:09:39 -05:00
renovate[bot]
e9375ecd4c
Update dependency rollup to v2.66.1 ( #44348 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-25 15:59:06 +01:00
Agnès Toulet
65bdb3a899
FeatureFlags: Revert managing feature flags outside of settings.Cfg ( #44382 )
...
* Revert "FeatureToggles: register all enterprise feature toggles (#44336 )"
This reverts commit f53b3fb007
.
* Revert "FeatureFlags: manage feature flags outside of settings.Cfg (#43692 )"
This reverts commit f94c0decbd
.
2022-01-24 16:08:05 +01:00
Timur Olzhabayev
c3f69cc4d9
Adding reload to datasourceSrv ( #44217 )
2022-01-24 10:45:05 +01:00
renovate[bot]
53dfae3c86
Update dependency rollup to v2.65.0 ( #44302 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-21 09:37:03 +00:00
Ryan McKinley
f94c0decbd
FeatureFlags: manage feature flags outside of settings.Cfg ( #43692 )
2022-01-20 13:42:05 -08:00
renovate[bot]
633da39d53
Update dependency rollup to v2.64.0 ( #44053 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-19 11:34:21 +00:00
Agnès Toulet
99cdb56f72
Analytics: add experimentview events ( #44120 )
...
* Analytics: add experimentview event
* remove ref to feature-highlights
* Experimentview -> ExperimentView
2022-01-19 11:07:18 +01:00
Ashley Harrison
f74b21c119
Dependencies: downgrade typescript to 4.4.4 for now ( #43970 )
...
* Downgrade typescript to 4.5.2 for now
* Downgrade to 4.4.4 instead :(
* kick drone
* Update .github/renovate.json5
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2022-01-13 10:08:38 +00:00
Agnès Toulet
5eaaadd59d
Tabs: add suffix prop for the tab name ( #43869 )
...
* Tabs: add suffix prop for the tab name
* Replace FC with JSX.Element
2022-01-12 15:37:16 +01:00
Ryan McKinley
7e5e3f9dc0
FeatureToggles: typed as optional booleans ( #43925 )
2022-01-11 16:18:54 -08:00
Connor Lindsey
ef12028a68
Tempo: Add time range to tempo search query behind a feature flag ( #43811 )
2022-01-10 07:38:40 -07:00
Dan Cech
34f757ba5a
switch to using featureEnabled for enterprise features ( #41559 )
...
* switch to using featureEnabled for enterprise features
2022-01-07 15:11:23 -05: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
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]
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
Ryan McKinley
e77b4abcc8
StreamingDataFrame: support legend format and prometheus style labels ( #43637 )
2022-01-05 08:56:23 -08:00
Alexander Emelin
b4204628e4
Live: optionally send queries over websocket connection ( #41653 )
...
Co-authored-by: ArturWierzbicki <artur.wierzbicki@grafana.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-01-05 08:02:12 -08:00
renovate[bot]
bfecbdc0bd
Update dependency rxjs to v7.5.1 ( #43718 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-05 15:53:40 +00:00
renovate[bot]
9e5a7b056c
Update dependency rollup to v2.63.0 ( #43711 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-05 14:58:56 +00:00
renovate[bot]
0ad440069f
Update dependency @types/jest to v27.4.0 ( #43643 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-04 10:06:17 +00:00
Ryan McKinley
4233a62aeb
DashboardPreviews: add dashboard previews behind feature flag ( #43226 )
...
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: Artur Wierzbicki <artur@arturwierzbicki.com>
2021-12-23 09:43:53 -08:00
Connor Lindsey
70c0a9d117
A11y: Fix Fastpass issues for tracing query editors and config pages ( #42759 )
...
* Add aria-labels to Jaeger config page
* Fix fastpass issues for Tempo config page
* Fix fastpass issues for other tracing query types like search
2021-12-17 11:49:21 -07:00
Artur Wierzbicki
84ae13fe5d
Live: keep stream history on 'refresh' ( #41492 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-12-15 11:01:55 -08:00
renovate[bot]
12d7c98932
Update dependency @rollup/plugin-node-resolve to v13.1.1 ( #43037 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-13 16:12:35 +00:00
Torkel Ödegaard
8828d5e8d7
BarChart: Use new data error view component to show actions in panel edit ( #42474 )
2021-12-08 11:45:56 +01:00
Ashley Harrison
a345b06095
Chore(dependencies): Tidy up deps in our packages ( #42085 )
...
* Chore(dependencies): Tidy up deps in root package
* Tidy up dependencies in @grafana/data
* Tidy up dependencies in @grafana/e2e
* Tidy up @grafana/e2e-selectors packages
* Tidy up packages in @grafana/runtime
* tidy up packages in @grafana/ui
* tidy up packages in jaeger-ui-components
* Readd regenerator-runtime in @grafana/data
2021-12-06 17:32:55 +00:00
Ashley Harrison
cc9151d382
Dependencies: Jest 27 ( #42681 )
...
* Update jest monorepo
* Update version of marked so it doesn't throw an error, set testEnvironment
* Fix some unit tests
* Remove all these tests that aren't actually working...
* use spyOn instead of mocking the whole module
* Fix linting
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-03 17:09:25 +00:00
renovate[bot]
e89c9b9194
Update dependency @types/angular to v1.8.3 ( #42471 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-30 16:26:18 +00:00
Torkel Ödegaard
1f8336e5fe
DataSourceVariable: Fixes issue repeating panels by data source variable ( #42462 )
2021-11-29 20:32:18 +01:00
Torkel Ödegaard
070344943c
PanelEditor: Present actionable suggestions when panel cannot visualize current data ( #42083 )
...
* PanelDataError: Show actions when current panel cannot visualize data
* Fixed so that suggestions tab is opened from action
* Cleanup
* Fixed tests
* Fix tests
* Fixing tests
* Fixed ts issues
2021-11-25 09:41:03 +01:00
renovate[bot]
0ab4afa2b7
Update sentry-javascript monorepo to v6 ( #41991 )
...
* Update sentry-javascript monorepo to v6
* Pass fetch implementation to FetchTransport and stub in unit tests
* kick drone
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2021-11-23 15:59:32 +00:00
Jack Westbrook
8b3725b9f2
Chore: Bump versions to 8.4.0-pre ( #42116 )
2021-11-23 11:23:02 +01:00
renovate[bot]
f97b7858b4
Update dependency @types/react to v17 ( #42035 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-22 11:27:33 +01:00
Andrej Ocenas
e237ff20a9
CloudWatch Logs: Add retry strategy for hitting max concurrent queries ( #39290 )
...
* Add error passing and retry strategy
* Change generic error to specific one
* Make the error more generic
* Refactor retry strategy
* Add retry that handles multiple queries
* Rollback some backend changes
* Remove simple retry strategy
* Add comments
* Add tests
* Small test fixes
* Add log timeout config
* Fix tests
* Fix tests
* Add validation
* Remove commented code and add comment
* Fix snapshots
* Remove unnecessary cast
2021-11-17 21:46:13 +01:00
Ryan McKinley
e5811ad106
Query: send datasourceId along with datasource ref ( #41830 )
2021-11-17 21:00:50 +01:00