Berbe
1177601ebc
Units: Changes FLOP/s to FLOPS and some other rates per second units get /s suffix ( #28825 )
...
* Dashboard: Use '/' instead of 'p' in time rate suffixes
* Dashboard: Fix FLOPS unit
2020-11-20 10:20:59 +01:00
achatterjee-grafana
9fcb16ae38
Docs: Remove duplicate "Transformations overview" topics from the TOC ( #29247 )
...
* Remove extra "Transformations overview topic from the TOC
* Updated heading to "Transformations" from "Transformations overview".
2020-11-20 09:32:31 +01:00
achatterjee-grafana
445291eb80
Docs: Fixed broken relrefs and chanfed TOC entry name from Alerting to Alerts. ( #29251 )
2020-11-20 09:30:30 +01:00
achatterjee-grafana
499d444506
Docs: Remove duplicate Panel overview topic. ( #29248 )
...
* Remove duplicate Panel overview topic. Add aliases metadata to _index.md file.
* Fixed a broken relref.
2020-11-20 09:01:13 +01:00
Dominik Prokop
a312f1ae80
Increase search limit on team add user and improve placeholder ( #29258 )
2020-11-20 08:57:19 +01:00
Dominik Prokop
671b319315
Fix warnings for conflicting style rules ( #29249 )
...
* Bump popper
* Bump react-transition group
* Fix react conflicting style ruls warning
* Fix ts
2020-11-20 08:12:42 +01:00
Timothy Palpant
c94e8e61a9
Make backwards compatible ( #29212 )
2020-11-19 21:08:16 +01:00
Vitaliy
2dc260a486
Minor cosmetic markdown tweaks in docs/cloudwatch.md ( #29238 )
...
Changed a couple codeblock types, and reformatted one yaml block to use two-spaces instead of tabs.
2020-11-19 18:04:22 +01:00
achatterjee-grafana
281465c421
Getting Started: Updated index topic, removed "what-is-grafana", and adjusted weight o… ( #29216 )
...
* Updated index topic, removed "what-is-grafana", and adjusted weight of few other topics. Also, updated the left menu.
* Updated title to "Getting started".
* Added alias /docs/grafana/latest/guides/what-is-grafana to _index.md file
2020-11-19 10:37:18 -05:00
Torkel Ödegaard
57592de4b1
BarGauge: Fix story for BarGauge, caused knobs to show for other stories ( #29232 )
2020-11-19 15:53:49 +01:00
achatterjee-grafana
db9f5723bf
Update glossary to add hyperlinks to Explore and Transformation entries ( #29217 )
2020-11-19 09:04:00 -05:00
Arve Knudsen
9593d57914
Chore: Enable errorlint linter ( #29227 )
...
* Enable errorlint linter
* Handle wrapped errors
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
2020-11-19 14:47:17 +01:00
Torkel Ödegaard
993adb72e0
TimeRegions: Fixed issue with time regions and tresholds due to angular js upgrade ( #29229 )
2020-11-19 14:37:04 +01:00
Hugo Häggmark
32d4c8c6bc
CloudWatch: Support request cancellation properly ( #28865 )
2020-11-19 14:10:38 +01:00
Hugo Häggmark
f9281742d7
CloudMonitoring: Support request cancellation properly ( #28847 )
2020-11-19 14:09:08 +01:00
Arve Knudsen
294770f411
Chore: Handle wrapped errors ( #29223 )
...
* Chore: Handle wrapped errors
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
2020-11-19 13:34:28 +01:00
Kyle Brandt
0cb29d337a
Expressions: Move GEL into core as expressions ( #29072 )
...
* comes from grafana/gel-app
* remove transform plugin code
* move __expr__ and -100 constants to expr pkg
* set OrgID on request plugin context
* use gtime for resample duration
* in resample, rename "rule" to "window", use gtime for duration, parse duration before exec
* remove gel entry from plugins-bundled/external.json
which creates an empty array for plugins
2020-11-19 07:17:00 -05:00
Zoltán Bedi
f01c3f35e1
Chore: remove compress:release grunt task ( #29225 )
2020-11-19 12:18:14 +01:00
Andrej Ocenas
66cdc18705
Refactor/Explore: Inline datasource actions into initialisation ( #28953 )
...
* Inline datasource actions into initialisation
* Fix datasource change
* Fix rich history
* Fix test
* Move rich history init to Wrapper
* Remove console log
* TS fixes
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2020-11-19 11:33:52 +01:00
Hong
2c898ab1bc
Fix README typo ( #29219 )
...
What this PR does / why we need it:
Fix typo in grafana-toolkit README
Which issue(s) this PR fixes:
None.
Special notes for your reviewer:
2020-11-19 10:55:52 +02:00
Alex Khomenko
2c4899a4cd
Grafana UI: Card API refactor ( #29034 )
...
* Refactor API
* Fix types
* Cleanup
* Remove useMemo
* Update actions
* Update story
* Align secondary actions
* Replace snapshot tests
* Update docs
* Update packages/grafana-ui/src/components/Card/Card.tsx
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
* Allow overriding child props
* Fix types and remove alpha tags
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
2020-11-19 09:48:56 +02:00
Zaki Haris
6d0a98b249
Plugins: Changed alertlist alert url to view instead of edit ( #29060 )
2020-11-18 20:15:26 +01:00
Torkel Ödegaard
ec218de05e
React: Upgrading react to v17, wip ( #29057 )
...
* React: Upgrading react, wip
* build(grafana-ui): bump react to v17
* build: get enzyme running with react 17
* chore(grafana-ui): declare isMemo namedExport for rollup
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2020-11-18 19:37:17 +01:00
Piotr G
ab2a46bcb3
Gauge: Tweaks short value auto-sizing ( #29197 )
...
* Tweaks gauge value auto-sizing
* tweak factor a bit
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2020-11-18 18:38:57 +01:00
Ryan McKinley
d85d547ab3
BackendSrv: support binary responseType like $http did ( #29004 )
2020-11-18 09:35:28 -08:00
Ryan McKinley
1895626080
GraphNG: update the options config ( #28917 )
2020-11-18 08:46:44 -08:00
Arve Knudsen
006868339d
Backend: Fix build ( #29206 )
...
* Backend: Fix build
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-18 16:16:58 +01:00
Will Browne
2939caf9a2
Permissions: Validate against Team/User permission role update ( #29101 )
...
* validate against role field update
* lowercase error string
* make all msgs consistent style
* fix wording
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* sayonara simple json
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-18 15:36:41 +01:00
Dominik Prokop
0cfb967404
ESlint: React fixes part 1 ( #29062 )
...
* Eslint: allign with latest grafana-eslint-config
* fix ts
* Fix react/jsx-key
* Fix react/no-children-prop
* Fix react/jsx-no-target-blank
2020-11-18 15:36:35 +01:00
Hugo Häggmark
4b711372c5
Tests: Adds expects for observables ( #28929 )
...
* Tests: Adds expects for observables
* Refactor: renames matcher
* Chore: changed jest version and removed as dev dependency
* Refactor: Changes after PR review
* wip
* Chore: revert
* Chore: Adds jest-matcher-utils
* Chore: fixed merge error
* Tests: Removed inline snapshots as they are env dependent
* Tests: missed a snapshot
* Refactor: Removed type file after PR comments
2020-11-18 15:18:55 +01:00
Hugo Häggmark
112a755e18
Variables: Adds new Api that allows proper QueryEditors for Query variables ( #28217 )
...
* Initial
* WIP
* wip
* Refactor: fixing types
* Refactor: Fixed more typings
* Feature: Moves TestData to new API
* Feature: Moves CloudMonitoringDatasource to new API
* Feature: Moves PrometheusDatasource to new Variables API
* Refactor: Clean up comments
* Refactor: changes to QueryEditorProps instead
* Refactor: cleans up testdata, prometheus and cloud monitoring variable support
* Refactor: adds variableQueryRunner
* Refactor: adds props to VariableQueryEditor
* Refactor: reverted Loki editor
* Refactor: refactor queryrunner into smaller pieces
* Refactor: adds upgrade query thunk
* Tests: Updates old tests
* Docs: fixes build errors for exported api
* Tests: adds guard tests
* Tests: adds QueryRunner tests
* Tests: fixes broken tests
* Tests: adds variableQueryObserver tests
* Test: adds tests for operator functions
* Test: adds VariableQueryRunner tests
* Refactor: renames dataSource
* Refactor: adds definition for standard variable support
* Refactor: adds cancellation to OptionPicker
* Refactor: changes according to Dominiks suggestion
* Refactor:tt
* Refactor: adds tests for factories
* Refactor: restructuring a bit
* Refactor: renames variableQueryRunner.ts
* Refactor: adds quick exit when runRequest returns errors
* Refactor: using TextArea from grafana/ui
* Refactor: changed from interfaces to classes instead
* Tests: fixes broken test
* Docs: fixes doc issue count
* Docs: fixes doc issue count
* Refactor: Adds check for self referencing queries
* Tests: fixed unused variable
* Refactor: Changes comments
2020-11-18 15:10:32 +01:00
Dominik Prokop
5ae7280249
Introduce eslint-plugin-react ( #29053 )
...
* Eslint: allign with latest grafana-eslint-config
* fix ts
* Bump @grafana-eslint-congig version
2020-11-18 14:19:33 +01:00
Torkel Ödegaard
d2fb910912
Automation: Adds GitHub release action ( #29194 )
...
* Automation: Adds GitHub release action
* Updated wording
* minor update
2020-11-18 11:24:31 +01:00
Dominik Prokop
05fbc614bd
Refactor declarative series configuration to a config builder ( #29106 )
...
* Wip: refactor declarative series configuration to a config builder
* Fix plugins initialization
* Config builder reorg and tests
* Typecheck
* Update packages/grafana-ui/src/components/uPlot/context.ts
* Scales config tweak
* Temp disable tests
* Disable some tests temporarily
2020-11-18 11:14:24 +01:00
Grot (@grafanabot)
cfc8d5681a
ReleaseNotes: Updated changelog and release notes for 7.3.3 ( #29189 )
2020-11-18 10:46:32 +01:00
Miguel Carvajal
a134ed7bf9
Panels: fix positioning of the header title ( #29167 )
...
the menu toggle icon is now absolute positioned and it no longer affects the centering of the menu title
2020-11-18 10:10:43 +01:00
Carl Bergquist
15a6508d4a
trace user login and datasource name instead of id ( #29183 )
...
id's are not very helpful when debugging a system.
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2020-11-18 09:21:45 +01:00
Arve Knudsen
8c9bb7a215
playlist: Improve test ( #29120 )
...
* playlist: Improve test
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-18 09:16:49 +01:00
Arve Knudsen
d6a645aae2
Drone: Fix publish-packages invocation ( #29179 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-18 09:00:02 +01:00
Dominik Prokop
f28ba27ca2
Table: Fix incorrect condtition for rendering table filter ( #29165 )
2020-11-18 08:46:40 +01:00
Arve Knudsen
bcb307fb1b
Chore: Upgrade grafana/build-ci-deploy image to latest Go ( #29171 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-18 08:40:41 +01:00
Marcus Andersson
4c0aa4acd5
DashboardLinks: will only refresh dashboard search when changing tags for link. ( #29040 )
...
* fixing so we dont run multiple dashboard links searches when changing variables.
* changed so we fetch the list when open the dashboard links dropdown.
* removed verification of unneccesary requests.
2020-11-18 07:11:36 +01:00
Grot (@grafanabot)
0fc8b5583c
ReleaseNotes: Updated changelog and release notes for 7.3.3 ( #29169 )
2020-11-17 19:29:47 +01:00
Karl Atkinson
65ed8a76a6
CloudWatch: added HTTP API Gateway specific metrics and dimensions ( #28780 )
2020-11-17 19:27:20 +01:00
Torkel Ödegaard
0ab593b58f
Release: Adding release notes for 7.3.3 ( #29168 )
...
* Release: Adding release notes for 7.3.3
* Updates
2020-11-17 18:52:48 +01:00
Alexey Zhiltsov
2212c6dbbb
SQL: Define primary key for tables without it ( #22255 )
...
The annotation_tag and alert_rule_tag tables did not have
PRIMARY KEY defined what cause problems with migration to
MariaDB with Galera setup with
innodb_force_primary_key=1
Or MySQL > 8.0.13 with
sql_require_primary_key=ON
Which can manifest as follows:
MariaDB
Error 1173: This table type requires a primary key
MySQL
ERROR 3750 (HY000): Unable to create or change a table
without a primary key, when the system variable 'sql_require_primary_key' is set.
Extra reading for curious:
https://jfg-mysql.blogspot.com/2017/08/danger-no-pk-with-RBR-and-mariadb-protection.html
Fixes #12971
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2020-11-17 17:58:56 +01:00
Matthew Helmke
f70fa2ceb5
changed link format from MD to HTML ( #29163 )
2020-11-17 10:19:16 -06:00
Arve Knudsen
52c154a221
Backend: Rename variables for style conformance ( #29097 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-17 17:09:14 +01:00
Torkel Ödegaard
94840b3a58
Docs: Fixes what'new menu and creates index page, adds first draft of release notes to docs ( #29158 )
...
* Docs: Fixes what'new menu and creates index page, adds first draft of release notes to docs
* Minor tweaks
* Fixed missing letter
* Updates
* Updated
Co-authored-by: Drone <drone@grafana.com>
2020-11-17 16:16:49 +01:00
Arve Knudsen
a6e72d5b61
Drone: Upgrade build pipeline tool and build image ( #29161 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-17 15:58:58 +01:00