Commit Graph

29733 Commits

Author SHA1 Message Date
Grot (@grafanabot)
3884cfe270
GraphNG: Remove fieldName and hideInLegend properties from UPlotSeriesBuilder (#34901) (#34965)
* Remove fieldName and hideInLegend properties from UPlotSeriesBuilder

* Fix test

(cherry picked from commit 573d7b8893)

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2021-05-31 10:29:57 +02:00
Grot (@grafanabot)
a7a9d002cb
Make sure ConfirmButton cannot be clicked when closed (#34818) (#34967)
(cherry picked from commit e38c6d73a0)

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2021-05-31 10:07:31 +02:00
Grot (@grafanabot)
dfff63da1b
Add custom icons for layout options (#34890) (#34966)
(cherry picked from commit 10f6638d9e)

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2021-05-31 10:02:08 +02:00
Grot (@grafanabot)
7206d16352
DataLinks: Fixes an issue __series.name is not working in data link (#34932) (#34960)
(cherry picked from commit c7076c9e19)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2021-05-31 09:32:13 +02:00
Grot (@grafanabot)
fdd80b1b4c
StatPanel: Fixes data link tooltip not showing for single value (#34934) (#34962)
(cherry picked from commit d9e9e4744d)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2021-05-31 09:31:18 +02:00
Grot (@grafanabot)
bf3ce22358
DashboardLinks: Fix dropdown positioning (#34909) (#34961)
(cherry picked from commit fd028fd798)

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2021-05-31 09:26:43 +02:00
Grot (@grafanabot)
f6b0cd714d
ConfirmModal: Auto focus delete button (#34917) (#34959)
(cherry picked from commit ef13f7ece1)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2021-05-31 09:06:32 +02:00
Grot (@grafanabot)
2335c3d0d5
Alerting: Add support for configuring avatar URL for the Discord notifier (#33355) (#34940)
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
(cherry picked from commit badec6c6ad)

Co-authored-by: Chip Wolf ‮ <hello@chipwolf.uk>
2021-05-31 09:02:32 +02:00
Grot (@grafanabot)
bfb3e90750
BarChart: make sure tooltip closes when user presses E (#34884) (#34941)
(cherry picked from commit dfc466052d)

Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
2021-05-31 09:01:37 +02:00
Grot (@grafanabot)
bee8b0a9dd
Table: Fixes sorting for number fields (#34722) (#34957)
* Table: Fixes sorting for number fields

* Refactor: changes after PR comments

* Refactor: found a bug

(cherry picked from commit 37ab5ec7f4)

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2021-05-31 06:35:57 +02:00
Grot (@grafanabot)
fb9f1a3b04
State timeline: defer quadtree construction until first mousemove (#34949) (#34954)
(cherry picked from commit 13768da417)

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2021-05-29 15:18:27 -05:00
Grot (@grafanabot)
216f018377
Rename: Status grid to history (#34864) (#34953)
(cherry picked from commit 4972e0f6a1)

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-05-29 21:03:37 +02:00
Grot (@grafanabot)
5e46bbe823
[Dashboard] Revert feature toggle trimdefaults (#34888) (#34937)
* Revert "solve comments and retrigger the test"

This reverts commit f08d2d9eca.

* Revert "update api doc"

This reverts commit cc09ceb853.

* Revert "remove post trim"

This reverts commit 46fe8ed596.

* Revert "fix typo"

This reverts commit 3b3ceee16e.

* Revert "Apply suggestions from code review"

This reverts commit 3b7f3b8e15.

* Revert "update comments"

This reverts commit b9c6260876.

* Revert "update doc"

This reverts commit 8e4c4d7c93.

* Revert "remove feature toggle + add libraryPaneldefinition"

This reverts commit d01cfcc2ed.

* fix some typos

* Update public/app/features/dashboard/components/ShareModal/ShareExport.tsx

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>

* Update docs/sources/dashboards/export-import.md

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

* fix comments

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
(cherry picked from commit b391e43472)

Co-authored-by: ying-jeanne <74549700+ying-jeanne@users.noreply.github.com>
2021-05-29 16:59:06 +02:00
Grot (@grafanabot)
55cbd415a2
Themes: Add border to sidemenu, and reduce border in dark theme a tiny bit (#34737) (#34950)
* Themes: Add border to sidemenu, and reduce border in dark theme a tiny bit

* Updated

(cherry picked from commit d6a9a9b975)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2021-05-29 07:34:25 +02:00
Grot (@grafanabot)
e9b6b66a46
Add key for DataLinkButtons (#34935) (#34936)
(cherry picked from commit f16b2c40c1)

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2021-05-28 22:20:54 +02:00
Grot (@grafanabot)
5a68094a45
Loki: Add formatting for annotations (#34774) (#34876)
* add formatting for loki annotations

based/copied from the same features from the prometheus datasource

(cherry picked from commit 261319a4be)

Co-authored-by: Fredrik Enestad <fredrik@enestad.com>
2021-05-28 19:00:45 +02:00
Grot (@grafanabot)
8fef4d7a8a
alerting: fixes per-receiver metric cardinality (#34915) (#34924)
(cherry picked from commit cc38613ba4)

Co-authored-by: Owen Diehl <ow.diehl@gmail.com>
2021-05-28 18:54:30 +02:00
Grot (@grafanabot)
4a67bfc102
Alerting/consistent api errors (#34858) (#34920)
* consolidates alertmanager api errors

* util & testing consistent errors

* consistent errors for rest of ngalert apis

* updates expected errors in testware

* bump ci

* linting

* unrelated: dashboard.go lint

(cherry picked from commit 9aca032d10)

Co-authored-by: Owen Diehl <ow.diehl@gmail.com>
2021-05-28 12:20:46 -04:00
Joan López de la Franca Beltran
6dc4e4d563
Usage Stats: Make the UsageStatsService extension point more flexible (#34778) (#34895)
* Usage Stats: Rename service to use a more idiomatic name

* Usage Stats: Update MetricsFunc definition and implementations

* Revert "Usage Stats: Rename service to use a more idiomatic name"

This reverts commit 910ecce3e8.

* Usage Stats: Update MetricsFunc definition and implementations

(cherry picked from commit f601921670)
2021-05-28 17:47:47 +02:00
Joan López de la Franca Beltran
2ca76fa8ae
Docs: Settings updates at runtime (#34169) (#34892)
* Docs: Settings updates on runtime docs skeleton

* Docs: Settings HTTP API

* Docs: Minor changes on settings updates at runtime docs

* Docs: Settings updates at runtime description

* Docs: Minor fix

* Docs: Move PUT /api/admin/settings docs into Admin API page

* Docs: Added longer explanation into 'Settings updates at runtime' page

* Apply suggestions from code review

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

* Docs: Include order of precedence description at settings updates page

* Update docs/sources/http_api/admin.md

* Docs: Add link to main configuration page from Settings updates at runtime

* Apply suggestions from code review

Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: Leonard Gram <leo@xlson.com>
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>
(cherry picked from commit 886f6fc55b)
2021-05-28 17:44:35 +02:00
Grot (@grafanabot)
aa48f0f6a0
Prometheus: Add info that using Loki as Prometheus data source is no longer supported and might stop working (#34650) (#34911)
* Add information that Loki as Prometheus data source is not supported

* Fix ugly error when loki as prometheus used

* Refactor, add test

* Fix type error

* Fix test by passing missing method

* Update public/app/plugins/datasource/prometheus/query_hints.ts

* Remove optionality in prop

(cherry picked from commit add1b827ae)

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2021-05-28 17:36:21 +02:00
Grot (@grafanabot)
4c967fe718
Alerting: Extract values from MD expr alerts (#34757) (#34908)
When using mulit-dimensional Grafana managed alerts (e.g. SSE math) extract refIds values and labels so they can be shown in the notification and dashboards.

(cherry picked from commit b47e7d12e6)

Co-authored-by: Kyle Brandt <kyle@grafana.com>
2021-05-28 11:34:59 -04:00
Grot (@grafanabot)
0101d3a51d
Add info about logs histogram (#34886) (#34910)
(cherry picked from commit 6adcfa9e50)

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2021-05-28 17:31:53 +02:00
Grot (@grafanabot)
3652af9e0b
Plugins: Add missing docs for plugin catalog (#34679) (#34907)
* add missing docs for plugin catalog

* apply PR feedback

* use mp4 instead of gif

* update wording

* Add note about org admins

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

* apply pr feedback

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
(cherry picked from commit 244d3f61c3)

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2021-05-28 17:08:25 +02:00
Robby Milo
5f4379a24d
cleanup shortcodes, asset paths (#34826) (#34900)
(cherry picked from commit 327fa124a4)
2021-05-28 16:43:49 +02:00
Grot (@grafanabot)
e1eebdcf75
Alerting: Do no hard fail on finding discontinued channels on migration (#34894) (#34902)
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
(cherry picked from commit ad6648b649)

Co-authored-by: Ganesh Vernekar <15064823+codesome@users.noreply.github.com>
2021-05-28 16:39:45 +02:00
Grot (@grafanabot)
c767dedffd
live: fix log message (#34879) (#34883)
(cherry picked from commit b73d168753)

Co-authored-by: Alexander Emelin <frvzmb@gmail.com>
2021-05-28 17:25:23 +03:00
Grot (@grafanabot)
f704fa423d
Prometheus: exemplars show different symbols (#34763) (#34899)
* Show different symbols for different queries

* Only run different exemplars

* Address review comment

* Do the same for dashboard + tests

(cherry picked from commit 4435895833)

Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2021-05-28 16:05:33 +02:00
Grot (@grafanabot)
6d6e875a84
Prometheus: Add metadata to metrics in Metrics browser (#34708) (#34896)
* Prometheus: Add metadata to metrics in Metrics browser

- use the available metadata to enhance the tooltip on metric items in the metrics browser
- added meta info for histogram metrics (was missing before)
- also added one for ALERTS

* fix test

(cherry picked from commit 2205464a8d)

Co-authored-by: David <david.kaltschmidt@gmail.com>
2021-05-28 15:32:07 +02:00
Grot (@grafanabot)
a0e0414720
Alerting: Fix flaky TestNotificationChannels take 2 (#34880) (#34885)
* Alerting: Fix flaky TestNotificationChannels take 2

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix nits

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix lint

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
(cherry picked from commit 8278c7bf77)

Co-authored-by: Ganesh Vernekar <15064823+codesome@users.noreply.github.com>
2021-05-28 12:19:39 +02:00
Grot (@grafanabot)
ad1498e30c
AzureMonitor: remove requirement for default subscription (#34787) (#34881)
* Do not require default subscription for Azure Monitor

* Fix explore URLs when default subscription not set

* Test datasource fixes

* Added comment

* Fix first or default subscription/workspace

* SubscriptionField doesn't depend on Log Analytics

* Tests fixed

* Select default subscription only when user clicked

(cherry picked from commit 179eb0898e)

Co-authored-by: Sergey Kostrukov <sekost@microsoft.com>
2021-05-28 11:46:16 +02:00
Grot (@grafanabot)
1ccca4b187
AzureMonitor: Deprecate using separate credentials for Logs (#34758) (#34877)
* Hide switch for using different credentials in AzureMonitor

* Apply feedback. Use @testing-library

(cherry picked from commit 48dc78fd48)

Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com>
2021-05-28 10:40:13 +02:00
Grot (@grafanabot)
8415398b2e
AzureMonitor: Support querying Subscriptions and Resource Groups in Logs (#34766) (#34875)
* AzureMonitor: Support querying Subscriptions and Resource Groups in Logs

* cleanup

(cherry picked from commit 888cddb834)

Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
2021-05-28 10:23:42 +02:00
Grot (@grafanabot)
638735a37c
Clarify that Threema Gateway Alerts support only Basic IDs (#34828) (#34871)
Threema Gateway supports two types of IDs: Basic IDs (where the
encryption is managed by the API server) and End-to-End IDs (where the
keys are managed by the user).

This plugin currently does not support End-to-End IDs (since it's much
more complex to implement, because the encryption needs to happen
locally). Add a few clarifications to the UI.

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
(cherry picked from commit 83a83de10a)

Co-authored-by: Danilo Bargen <mail@dbrgn.ch>
2021-05-28 09:29:12 +02:00
Grot (@grafanabot)
fbee5f402e
Dashboard: Fix multi-value variables in share links (#33216) (#33576) (#34868)
(cherry picked from commit 48fe3feae7)

Co-authored-by: MrSummat <gonzamborge@gmail.com>
2021-05-28 08:46:24 +02:00
Grot (@grafanabot)
6f5f36d305
PieChart: Support row data in pie chart (#34755) (#34865)
* PieChart: Support row data in pie chart

* Make color override work

* removed thing

* Minor refactoring

(cherry picked from commit 658cc5dd2d)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2021-05-28 08:04:02 +02:00
Grot (@grafanabot)
d76104fedf
Fix flaky TestNotificationChannels (#34831) (#34866)
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
(cherry picked from commit 89262ac64d)

Co-authored-by: Ganesh Vernekar <15064823+codesome@users.noreply.github.com>
2021-05-28 07:56:57 +02:00
Grot (@grafanabot)
fe968a329e
AzureMonitor: Hide App Insights for data sources not using it (#34725) (#34854)
* AzureMonitor: Hide Application Insights and Insights Analytics for panels not using them

* AzureMonitor: Hide Application Insights config

* simplify

* fix test

(cherry picked from commit 7646246d8c)

Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
2021-05-27 23:09:03 +01:00
Grot (@grafanabot)
e6cad0f415
fixes toggleDownloadForExcel function (#34685) (#34852)
(cherry picked from commit f05bddae43)

Co-authored-by: Matt Abrams <37156449+zuchka@users.noreply.github.com>
2021-05-27 22:26:44 +02:00
Grot (@grafanabot)
04741642c5
Live: max_connections option with strict default (#34634) (#34853)
this should help Live to be enabled by default but still
do not affect setups with lots of simultenious users. To
properly handle many WS connections Grafana administrators
should tune infrastructure a bit - for example increase a
number of open files for a process. Will be in more details
in documentation.

(cherry picked from commit 6d750c000e)

Co-authored-by: Alexander Emelin <frvzmb@gmail.com>
2021-05-27 21:47:40 +02:00
Grot (@grafanabot)
f44c41fde8
AzureMonitor: reset default subscription when credentials change (#34707) (#34850)
* Update default subscription on credentials change

* Fix secret reset when subscription selected

* Remove unused exports

(cherry picked from commit de86114b66)

Co-authored-by: Sergey Kostrukov <sekost@microsoft.com>
2021-05-27 20:20:29 +01:00
Grot (@grafanabot)
5bf678bcf0
AddPanelWidget: Add padding to prevent top being cut off (#34806) (#34829)
* fix(dashboardpage): add padding so add panel chrome isnt cut off

* fix(addpanelwidget): introduce wrapping element to cater for pulsate animation offset

* refactor(addpanelwidget): use spacing.xs rather than spacing.sm

* test(addpanelwidget): update snapshot

(cherry picked from commit 8ced249c91)

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2021-05-27 18:38:55 +02:00
Grot (@grafanabot)
ed29c58d8b
Timeline: Default line width to 0 (#34802) (#34840)
(cherry picked from commit 52f3025901)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2021-05-27 18:01:18 +02:00
Grot (@grafanabot)
e2c03cf843
Overrides: Hide from visualization should be available as a manual override option (#34783) (#34841)
* Visualization: Hide from option should be available as a manual override option

* Fix misaligned type

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
(cherry picked from commit f07366690e)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2021-05-27 17:54:34 +02:00
Grot (@grafanabot)
9364ec4404
Alerting: Set max width on alerting query rows (#34749) (#34833)
(cherry picked from commit e085b2316c)

Co-authored-by: Peter Holmberg <peterholmberg@users.noreply.github.com>
2021-05-27 16:40:51 +02:00
Grot (@grafanabot)
0f27ab2d8f
Alerting: improved error message and change styling of relative button. (#34730) (#34832)
* improved error message and change styling of relative button.

* minor adjustments.

* adding clock icon.

(cherry picked from commit da6236d89a)

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2021-05-27 16:38:36 +02:00
Marcus Andersson
4a876b6986
Alerting: rename type to make it obvious what part of the code base it belongs to. (#34714) (#34824)
* renamed grafana query to grafana alert query.

* renamed according to feedback in PR.

(cherry picked from commit 1ded9a37c1)
2021-05-27 16:23:01 +02:00
Grot (@grafanabot)
b8aeab41de
fix the url of API (#34808) (#34823)
(cherry picked from commit 006135c028)

Co-authored-by: ying-jeanne <74549700+ying-jeanne@users.noreply.github.com>
2021-05-27 21:18:41 +08:00
Grot (@grafanabot)
fea7355e75
Tempo: Fix the test data source implementation (#34762) (#34825)
Fixes #32677

(cherry picked from commit ec3f8ce04c)

Co-authored-by: Koenraad Verheyden <koenraad.verheyden@posteo.net>
2021-05-27 15:12:31 +02:00
Grot (@grafanabot)
922b34817c
Chore: additional check when decrypting values (#34637) (#34671)
* Chore: additional check when decrypting values

* Apply suggestions from code review

(cherry picked from commit a5082ab112)

Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
2021-05-27 15:42:54 +03:00