Commit Graph

26559 Commits

Author SHA1 Message Date
Emil Tullstedt 2e4191afca
Chore(crewjam/saml): go get -u (#27598) 2020-09-15 16:38:23 +02:00
Lenahilin 13ef1bea74
Fixing args order for admin password reset command (#27594)
Putting the optional argument "--homepath"  after the command. The previous one throws the following error: "Incorrect Usage. flag provided but not defined: -homepath". See also https://community.grafana.com/t/admin-password-reset/19455/9
2020-09-15 09:22:37 -04:00
Wouter Smeenk 39eba5065b
Dashboard: Support configuring default timezone via config file (#27404)
Add a default timezone that the administrator can set in the settings. 
This setting is be used as default for the users timezone preference.
Can be used when creating Grafana instances without administrator 
intervention, in order to give user the correct default timezone.

Fixes #25654
2020-09-15 15:20:53 +02:00
Dan Cech 53153c82fc
add method to get usage report (#27555) 2020-09-15 09:01:15 -04:00
Torkel Ödegaard cade6dd010
Docs: Field config docs update, Table docs update, Override matcher naming issue (#27558)
* Docs: Field Config Docs Update, Table Docs update, Override matcher naming sync

* removed sentance that feels duplicated

* Update docs/sources/panels/field-configuration-options.md

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

* Update docs/sources/panels/field-configuration-options.md

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

* Update docs/sources/panels/field-configuration-options.md

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

* Update docs/sources/panels/field-configuration-options.md

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

* removed bad newlines and minor tweaks, still need to figure out naming for matchers in UI and docs

* Updated matcher names and descriptions, and UX

* Updated field override docs

* Fixed plural

* Updated wording

* removed plurals for the selectors heading

* Updated names

* Updated docs

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-09-15 14:49:16 +02:00
Ryan McKinley 1e4846d443
Annotation: use DataFrame[] rather than a single DataFrame (#27587) 2020-09-15 01:43:31 -07:00
Dominik Prokop e04e3e7d46
Field config: Add support for paths in default field config setup (#27570)
* Add support for paths in default field config setup

* Typecheck fix
2020-09-15 10:17:58 +02:00
Giordano Ricci e350e1fff6
Elasticsearch: Increase maximum geohash aggregation precision to 12 (#27539) 2020-09-15 09:15:18 +01:00
Giordano Ricci a0beaa3bbe
Elasticsearch: Allow fields starting with underscore (#27520) 2020-09-15 09:14:47 +01:00
jonny 0d2fbd2acd
Variables: Limit rendering of options in dropdown to improve search performance (#27525)
* fixed: bigdata dropdown first limit 1000

* fixed: change to use function of  applylimit

* fixed: remove both applyLimit callers

* feat: test for new logic with applimit

* feat: test showOptions  with the applyLimit logic

* fixed: test equal fixed
2020-09-15 09:52:45 +02:00
Ryan McKinley aa40320b45
Live: check logged-in-user for grafana live (#27436) 2020-09-15 00:01:14 -07:00
Hugo Häggmark a587bf4f56
Postgres: Support request cancellation properly (Uses new backendSrv.fetch Observable request API) (#27478)
* Postgres: Replaces dataSourceRequest with fetch

* Postgres: Replaces dataSourceRequest with fetch

* Tests: removes unnecessary import
2020-09-15 08:06:04 +02:00
Diana Payton 19c5c96d4c
Update documentation-style-guide.md (#27581)
* Update documentation-style-guide.md

* Update documentation-style-guide.md
2020-09-14 12:52:59 -07:00
Ryan McKinley c180facba5
Chore: use visualization name in field config header (#27579) 2020-09-14 11:27:17 -07:00
Amal 0ae534a7f0
Minor correction in docs (#27576)
* Minor correction in docs

* Accepting review recommendation
2020-09-14 14:02:49 -04:00
Amal 6ce7cf8241
Docs: Minor grammatical correction (#27575)
* Minor grammatical correction

* Typo correction in docs
2020-09-14 10:46:54 -07:00
Hansuuuuuuuuuu 8d971ab2f2
Auth: Replace maximum inactive/lifetime settings of days to duration (#27150)
Allows login_maximum_inactive_lifetime_duration and 
login_maximum_lifetime_duration to be configured using 
time.Duration-compatible values while retaining backward compatibility.

Fixes #17554

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2020-09-14 15:57:38 +02:00
Sofia Papagiannaki f529223455
Fix instrumentation panic if there is no response (#27567) 2020-09-14 14:05:47 +03:00
Torkel Ödegaard 7f6e979056
Fixes typescript issues (#27565) 2020-09-14 10:02:25 +02:00
Torkel Ödegaard b37e132cec
Annotations: Fixes issue with showing error notice for cancelled annotation queries (#27557) 2020-09-14 09:59:12 +02:00
Agnès Toulet eb970a4985
Org API: enrich add user to org endpoints with user ID in the response (#27551) 2020-09-14 08:58:23 +02:00
Torkel Ödegaard 8759a91222
PanelEdit: Drag and drop query order & UI tweaks (#27502)
* PanelEdit: Drag and drop query order & UI tweaks

* Fixed width of title issue

* added correct color and hover

* Updated e2e tests
2020-09-14 08:54:42 +02:00
Marcus Andersson 0c8390cea2
Templating: global/system variables should be properly replaced in templated values. (#27394)
* Fixed so we try to use the variables in the redux store to replace values in template variables.

* First draft of working version.

* Including fieldPath when adding :text format.

* cleaned up code by introducing helper function.

* some minor refactoring.

* Added tests and support for multi variables.

* added test and code to handle the All scenario of a multivariable.

* fixed according to feedback.

* added docs.

* added text format to gdev dashboard.

* updated e2e tests.

* make sure we use the same function for formatting och variable lable.

* increased the number to 22.

* changed label for tests to be All.

* existing format should be respected.
2020-09-14 08:05:51 +02:00
Ryan McKinley b3b72b8ae6
Toolkit: clean node_modules/@grafana/data/node_modules in prepare (#27554) 2020-09-12 16:45:33 -07:00
Arve Knudsen b6172b11b3
Docs: Fix Docker docs wrt. master images (#27508)
* Docs: Fix Docker docs wrt. master images

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-12 11:27:13 +02:00
Agnès Toulet 0c4b7d3f5d
Alerting API: send 404 not found error and enrich delete with UID endpoint response with alert notification ID (#27550)
* Alerting API: Send back 404 not found error for update and delete endpoints

* Alerting API: send back alert notification id for delete with uid endpoint
2020-09-11 18:04:43 +02:00
Bill Oley 19caa100dc
OAuth: Fix token refresh failure when custom SSL settings are configured for OAuth provider (#27523)
OAuth token refresh fails when custom SSL settings are configured for 
oauth provider. These changes makes sure that custom SSL settings 
are applied for HTTP client before refreshing token.

Fixes #27514
2020-09-11 17:25:03 +02:00
Ryan McKinley 5d11d8faa3
Annotations: add standard annotations support (and use it for flux queries) (#27375) 2020-09-11 08:09:44 -07:00
Peter Holmberg 4707508f4b
grafana/ui: Documenting DataSourceHttpSettings (#27547)
* documenting component

* Update packages/grafana-ui/src/components/DataSourceSettings/DataSourceHttpSettings.mdx

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

* text updates

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2020-09-11 15:53:55 +02:00
Alex Khomenko 126683929c
Grafana-UI: Expand ConfirmModal docs (#27541) 2020-09-11 16:45:39 +03:00
Marcus Efraimsson 1983de962c
BootData: Fix nav tree sort regression (#27533)
#26395 introduced a regression regarding sort order of nav tree
items set in Grafana boot data and used for rendering the sidemenu.
This fixes so that sort happens after RunIndexDataHooks is called
in case the hook make changes to the nav tree.
2020-09-11 15:17:41 +02:00
Torkel Ödegaard 61463aa123
Transform: Fixed issue in labels to fields and update docs (#27501) 2020-09-11 15:03:10 +02:00
Leonard Gram 6932b459f5
What's New: some minor edits in the enterprise section (#27532)
* What's New: some minor edits in the enterprise section

* Update docs/sources/guides/whats-new-in-v7-2.md

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

* Update docs/sources/guides/whats-new-in-v7-2.md

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

Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
2020-09-11 14:48:20 +02:00
Sofia Papagiannaki 924224eefb
Revert "Alerting: New feature toggle for enabling standalone alerts (#25984)" (#27531)
This reverts commit 20b603ee1a.
2020-09-11 13:57:46 +03:00
Marcus Andersson 367a403406
Docs: "7.2 what's new article" updated with images and information about ADX. (#27504)
* Added images for transformation and some extra information about ADX.

* updated the adx text a bit more.!
2020-09-11 12:21:32 +02:00
Berbe 794333de3d
Binary-prefixed data rates (#27022)
* Dashboard: Merge Data units categories

Prefixes already allow to distinguish IEC units from SI ones
+ Prefer using binary function over decimal one when equal

* Dashboard: Clarify SI & binary prefixes

* Dashboard: Homogeneise rate units

* Dashboard: Add Binary (IEC) prefix for data rates
2020-09-11 10:42:54 +02:00
Alex Khomenko 4167f9d8d7
Docs: Add 7.2 Enterprise features (#27497)
* Docs: Add new Enterprise features

* Docs: Fix spelling

* Update docs/sources/guides/whats-new-in-v7-2.md

Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>

* Docs: Add top links

Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
2020-09-11 09:33:52 +02:00
Maksim Nabokikh 6e3e0dead8
Provisioning: Remove provisioned dashboards without parental reader (#26143) 2020-09-11 09:19:44 +02:00
Torkel Ödegaard 0132bca93a
Notifications: UX tweak to redesign of form and sections to make it left aligned and cleaner (#27479)
* UX: Redesign of form and sections to make it left aligned and cleaner

* reduced padding

* design tweaks
2020-09-11 08:10:07 +02:00
Zoltán Bedi a7ac3f1419
Prometheus: Fix min step variable interpolation (#27505)
* Add missing dependency to lockfile

* Prometheus: Fix min step variable interpolation
2020-09-10 20:31:53 +02:00
Marcus Efraimsson 9928f925ae
Docs: Alert notification channel secure settings update (#27515)
Adds some updated upgrade notes for 7.2 regarding secure 
settings for alert notification channels. Also adds a section 
about this in the What's new article.

Ref #26172
2020-09-10 20:23:53 +02:00
Marcus Efraimsson e85b266f2e
Azure/Insights: Fix handling of none dimension values (#27513)
Properly handle legacy dimension values in the backend.

Fixes #27512
2020-09-10 18:21:56 +02:00
Marcus Efraimsson 91a8937e6c
Alerting: Fix integration key so it's stored encrypted for Pagerduty notifier (#27484)
Fixes an issue introduced by migration in #25980 which 
removed storing the Pagerduty integrating key encrypted.
2020-09-10 17:43:49 +02:00
Steven Vachon d9320e37f4
@grafana/e2e: avoid query data flakiness (#27511) 2020-09-10 11:40:44 -04:00
Marcus Efraimsson ee91fc365e
Changelog: 7.2.0-beta1 update (#27498)
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2020-09-10 11:51:03 +02:00
Marcus Andersson be8bc512cb
Chore: latest.json for v7.2.0-beta1. (#27481) 2020-09-09 18:36:03 +02:00
Marcus Andersson 027a11210d
Chore: change log for v7.2.0-beta1. (#27480) 2020-09-09 17:40:51 +02:00
Torkel Ödegaard 964fb8a5b1
Docs: What's new in 7.2 (#27462)
* Docs: What's new for 7.2 initial draft

* Updated content and images

* Updated with a top toc / links section
2020-09-09 16:59:34 +02:00
Oana Mangiurea b01a64e146
Update Input.mdx (#26226)
* Update Input.mdx

clarify form validation text

* Update packages/grafana-ui/src/components/Input/Input.mdx

Align with textArea

Co-authored-by: Peter Holmberg <peterholmberg@users.noreply.github.com>

Co-authored-by: Peter Holmberg <peterholmberg@users.noreply.github.com>
Co-authored-by: Clarity-89 <homes89@ukr.net>
2020-09-09 17:24:31 +03:00
Alex Khomenko 1a5c049883
Grafana-UI: Add docs for ConfirmButton (#27477)
* Grafana-UI: Add docs for ConfirmButton

* Grafana-UI: Add comment

* Update packages/grafana-ui/src/components/ConfirmButton/ConfirmButton.mdx

Co-authored-by: Peter Holmberg <peterholmberg@users.noreply.github.com>

Co-authored-by: Peter Holmberg <peterholmberg@users.noreply.github.com>
2020-09-09 17:07:53 +03:00