Commit Graph

31589 Commits

Author SHA1 Message Date
Will Browne
e4297006f6
Chore: Propagate context for data source provisioning (#40235)
* context all the things

* apply feedback

* rollback some alerting changes

* rollback some alerting changes #2

* more rollbacks

* more rollbacks #2

* more rollbacks #3

* more rollbacks #4

* fix integration test

* add missing context

* add missing and remove incorrect dispatch
2021-10-18 17:06:19 +02:00
Ashley Harrison
ec0fcbbf4b
Annotations: Improve tag search performance (#40567) 2021-10-18 15:00:46 +01:00
Guilherme Caulada
a9faab6b09
Dashboard: Add week start option to global and dashboard preferences (#40010)
* Add global week start option to shared preferences

* Add default_week_start to configuration docs

* Add week start option to dashboards

* Add week start argument to tsdb time range parser

* Fix strict check issues

* Add tests for week start

* Change wording on default_week_start documentation

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update week_start column to be a nullable field

Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>

* Update configuration to include browser option

* Update WeekStartPicker container selector

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>

* Add menuShouldPortal to WeekStartPicker to remove deprecation warning

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>

* Add inputId to WeekStartPicker

* Use e2e selector on WeekStartPicker aria-label

* Simplify WeekStartPicker onChange condition

* Specify value type on WeekStartPicker weekStarts

* Remove setWeekStart side effect from reducer

* Fix updateLocale failing to reset week start

* Store week start as string to handle empty values

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2021-10-18 10:27:14 -03:00
kay delaney
db62ce477d
A11y/Dashboard: Fix various fastpass issues for dashboard settings (#40335)
* A11y/Dashboard: Fix various fastpass issue for dashboard settings
See #39429
2021-10-18 13:51:26 +01:00
Ashley Harrison
f7cbb298f7
Update ci-frontend-metrics.sh (#40569) 2021-10-18 13:17:02 +01:00
idafurjes
ad79473ca3
Chore: Remove convey from dashboards (#39898)
* Remove Convey from dashboards

* Add context for dashboards

* Remove Convey from dashboards

* refactor tests to run setup each time

* Fix last tests

* Adjust after rebase

* Remove print statement

Co-authored-by: Serge Zaitsev <serge.zaitsev@grafana.com>
2021-10-18 14:06:47 +02:00
idafurjes
5a087d2708
Chore: Add context to team (#40504)
* Add ctx to team

* Remove convey from team
2021-10-18 14:02:39 +02:00
Domas
a531c6e26f
frontend logging fixes (#39946) 2021-10-18 14:34:31 +03:00
renovate[bot]
71264835f2
Update dependency @welldone-software/why-did-you-render to v6 (#40564)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-18 13:30:31 +02:00
Ashley Harrison
99c51a491b
Update ci-frontend-metrics.sh (#40562) 2021-10-18 11:49:19 +01:00
Duke Manh
9eccb8e416
CodeEditor: Trigger the lastest getSuggestions() passed to CodeEditor (#40544) 2021-10-18 12:36:13 +02:00
Gábor Farkas
1f44023ebe
Loki: fix typescript-strict-mode error (#40566)
* loki: fix typescript-strict error

* loki: fix typescript-strict-mode error
2021-10-18 12:35:56 +02:00
Piotr Jamróz
8939636492
Loki: Logs volume improvements (#40327)
* Skip logfmt errors

* Run volume queries as range queries

* Remove auto-skipping parsing errors

* Remove auto-skipping parsing errors

* Cache logs volume results

* Remove auto-loading

* Fix tests

* Clean up

* Disable logs volume in live streaming

* Clean up

* Add logs volume timeout

* Switch tooltip mode

* Increase timeout to 15s

* Fix test

* Change timeout to 10 seconds

* Remove unused code

* Extract styles

* Remove info about zoom level
2021-10-18 12:22:41 +02:00
renovate[bot]
52b69a9a80
Update dependency @types/rimraf to v3 (#40467)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-18 11:23:37 +02:00
Gábor Farkas
bd8e07d6ed
prometheus: more correct jsonData typescript type (#40559)
* prometheus: fix strict-mode typescript error

* it does not make the limit lower

but the change is still correct
2021-10-18 11:21:30 +02:00
Ivana Huckova
4a3be0f845
Prometheus: Pass scoped vars when creating PromLink query (#40525) 2021-10-18 11:17:13 +02:00
Ivana Huckova
4e1cf7dea7
Logs: Fix creating of detected fields for each letter in log line (#40507)
* Logs: Fix using of JSON parser for strings

* Update packages/grafana-data/src/utils/logs.ts

* Update packages/grafana-data/src/utils/logs.ts

* Update parser typing and documentation
2021-10-18 11:16:24 +02:00
Piotr Jamróz
2de769420e
Chore: Reduce strict error in DataSourceHttpSettings.onChange callback (#40497)
* Reduce strict TS errors

* Update ERROR_COUNT_LIMIT after merging from main

* Update number of errors
2021-10-18 10:40:43 +02:00
Dominik Prokop
6201b5b1d9
Table panel: Fix filter not working for special characters and allow filter's case sensitivity control (#40458)
* Fix filter not working for special characters and allow case sansitive filter control

* Memoize regex
2021-10-18 09:19:05 +02:00
Marcus Andersson
80a7401cfb
Chore: replaced the @grafana/api-extractor with the @microsoft/api-extractor (#40519)
* removed the @grafana/api-extractor and replaced it with the @microsoft/api-extractor.

* increased the limit.
2021-10-18 09:16:36 +02:00
Itay
ca0b1041a8
Docs: fix typo in a bug report template (#40545) 2021-10-16 12:10:20 +02:00
Anne E. Ulrich
99eddac406
Noting non-support of template queries in official documentation (#40169) 2021-10-15 17:37:38 -04:00
Nate Walters
f238342c17
Add copyright notice (#39206)
* Add copyright notice

* Update docs/sources/copyright/_index.md

Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>

* Update docs/sources/copyright/_index.md

Co-authored-by: Robby Milo <robby.milo@grafana.com>

Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
Co-authored-by: Robby Milo <robby.milo@grafana.com>
Co-authored-by: achatterjee-grafana <aparajita.chatterjee@grafana.com>
2021-10-15 16:46:52 -04:00
achatterjee-grafana
c44f51d5c3
Fixed broken relrefs (#40533) 2021-10-15 15:55:44 -04:00
jpapp25
f4dd8bebdf
Update _index.md (#40257)
Clicking the "Getting started with Grafana" link does nothing in this page.  Added the additional "getting-started" to the ref.

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-10-15 13:11:13 -04:00
Giordano Ricci
63fc12d186
Elasticsearch: Fix some strict typescript errors (#40517)
* Elasticsearch: Fix some strict typescript errors

* Fix tests

* Reduce strict error count

* actually fix tests
2021-10-15 16:20:20 +01:00
renovate[bot]
73ac9c2717
Update dependency @types/semver to v7 (#40515)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-15 13:25:42 +01:00
Piotr Jamróz
6dc21d5899
Refactor: Decouple Label Browser from LocalStorage (#40449)
* Refactor: Decouple Label Browser from LocalStorage

* Clean up
2021-10-15 14:18:11 +02:00
Ivana Huckova
7140867868
Prometheus: Run dashboard queries trough backend (#40333)
* Fix processing for table in dashboard - expolre compatible

* Add processing of histograms

* Interpolsate rate_interval in step field

* Add tests

* Fix function name

* Extract internal range and interval variables to constants

* Fix typings, refactor, simplify

* Fix constant that was missing _ms
2021-10-15 13:37:27 +02:00
renovate[bot]
58fdb717ba
Update dependency @types/react to v17 (#40440)
* Update dependency @types/react to v17

* Chore: Typescript fixes

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2021-10-15 12:25:47 +01:00
Marcus Andersson
79ce09ddee
PluginsCatalog: post installation, adding an "add datasource"-button. (#40155)
* added post installation steps.

* changes according to feedback.

* removing return union null type.

* added tests.

* changing the wording of the button to 'create a..'

* updated tests to check for the updated copy.

* changing the back to be a regular back button.

* updated snapshot
2021-10-15 13:18:39 +02:00
Gábor Farkas
8e070d6858
influxdb: config page: typescript-fix for strict-mode (#40465) 2021-10-15 11:29:41 +02:00
PunkoIvan
374041148d
Updated MySQL provisioning doc (#39750)
Updated password to secureJsonData for MySQL provisioning
2021-10-15 10:38:58 +02:00
Ikko Ashimine
81e7cb60ff
Chore: Fix typo in dashboard.go (#39928)
requets -> requests
2021-10-15 10:33:01 +02:00
Anne E. Ulrich
8b41d85b68
Some more grammar fixes (#40183) 2021-10-15 10:29:12 +02:00
Christoph Deil
060a16041d
Fix typo in whats-new-in-v8-0.md (#38661) 2021-10-15 10:28:21 +02:00
za
793786918a
Replaced & (ampersand) with and in "Access & secret key" (#40361)
GitHub issue: https://github.com/grafana/grafana/issues/39067
2021-10-15 10:15:40 +02:00
Hugo Häggmark
09bb890092
WIP Chore: reduce strict errors (#40462)
* Chore: reduce strict error in ngReact

* Chore: reduce strict errors for ShareModal

* Chore: reduce strict errors in VersioHistory

* Chore: reduce strict error in ExpressionDatasource

* Chore: reduce strict error in DashboardWatcher

* Chore: reduce strict error in PluginPage

* Chore: reduce strict errors for guard

* Chore: update threshold

* Chore: reduce strict errors in Graph

* Chore: reduce threshold

* Apply suggestions from code review

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>

* Chore: reduce strict errors in TimeSeries

* Chore: reduce threshold

* Chore: reduce strict errors in polyfill

* Chore: reduce threshold

* Chore: update after PR comments

* Update public/app/features/plugins/PluginPage.tsx

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>

* Update public/app/features/plugins/PluginPage.tsx

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>

* Chore: changes after PR comments

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2021-10-15 08:57:55 +02:00
Nathan Rodman
4fc86594c0
Alerting: Link prometheus and loki datasources to an alertmanager (#39887)
* add config option for alertmanager linking

* Add button for silencing a rule

* use uid for alertmanager

* move alertmanager link to separate function
2021-10-14 16:01:01 -07:00
An
0c5491d6fd
Dahboard: Only show "Another session is editing this dashboard" once per edit session (#40485) 2021-10-14 11:40:35 -07:00
Ryan McKinley
7a35a31929
Icon Panel: add new alpha panel to show an icon (#40355) 2021-10-14 09:30:21 -07:00
renovate[bot]
d8c71370ef
Update dependency @kusto/monaco-kusto to v4 (#40376)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-14 17:55:06 +02:00
nikki-kiga
86e89d9dc3
Geomap: Add icon to ResourceDimensionEditor and fix marker color (#40418)
* add resourcedimension icon and fix marker color

* update to input prefix and markerShapePath

* update to svg from icon
2021-10-14 08:30:24 -07:00
Uchechukwu Obasi
51a48e1869
Text Panel: fixes unnecessary scroll in markdown html tables (#40315)
* Text Panel: fixes unnecessary scroll in tables

* uses more robust solution that covers every edge case

* chore: uses variables instead and sets first child margins to zero

* override margin for only h1 and figure elements

* remove override styles for h1,table markdown contents
2021-10-14 16:43:33 +02:00
Ivana Huckova
48eacd1ea6
Remove unused httpMethod (#40471) 2021-10-14 16:20:06 +02:00
Dimitris Sotirakis
89e7a56714
Makefile: Force use drone-cli 1.4.0 version (#40385)
* Force use drone-cli 1.4.0

* Small modifications to prevent null generation

* Sign drone

* Use bingo to declare drone-cli version

* Update message in Makefile

* Update to latest grabpl version
2021-10-14 16:02:45 +02:00
Dimitris Sotirakis
534e6b3f5a
Add @grafana/grafana-release-eng to CODEOWNERS (#40468) 2021-10-14 15:39:54 +02:00
Peter Holmberg
75cff769f7
Alerting: Create alert from side menu (#40387)
* add entry for Create submeny

* extracting to function to resolve lint issue
2021-10-14 15:22:16 +02:00
Gábor Farkas
19972600d7
grafana-ui: export lazy-loaded version of react-monaco-editor (#39570)
* grafana-ui: refactor: move laziness to a lower level in code-editor

* grafana-ui: re-export react-monaco-editor

* rename export

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

* improved comment

* reverted name change

we already have an export with that name

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2021-10-14 14:33:45 +02:00
renovate[bot]
4565fcd0df
Update dependency @testing-library/user-event to v13 (#40394)
* Update dependency @testing-library/user-event to v13

* Changes needed for userEvent v13

* Ignore pointer-event checks until jsdom issue is fixed

* Remove unused act imports

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2021-10-14 13:29:41 +01:00