Commit Graph

26993 Commits

Author SHA1 Message Date
Andrey Chugunov
2be217e026
Docker: use root group in the custom Dockerfile (#28639) 2020-10-29 15:02:09 +01:00
Dominik Prokop
a03dd3ecf2
Bump rxjs to 6.6.3 (#28657) 2020-10-29 14:50:42 +01:00
Torkel Ödegaard
b46ac2891d
StatPanel: Fixed value being under graph and reduced likley hood for white and dark value text mixing (#28641)
* StatPanel: Fixed value being under graph and reduced likley hood for white and dark value text mixing

* Updated snapshot

* Updated storybook config
2020-10-29 14:08:09 +01:00
Torkel Ödegaard
1e51d33d85
Table: Fix image cell mode so that it works with value mappings (#28644) 2020-10-29 13:53:08 +01:00
Leonard Gram
63c230b670
Build: support custom build tags (#28609)
* Build: support custom build tags

* Update build.go

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-29 11:28:23 +01:00
Dominik Prokop
a2b3e63705
Plugin signing: Fix copy on signed plugin notice (#28633)
* Fix copy on signed plugin notice

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

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>

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

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-29 10:41:32 +01:00
hborchardt
645412f04b
Dashboard: Fix navigation from one SoloPanelPage to another one (#28578)
* Add test for SoloPanelPage.tsx

* Fix navigation from one SoloPanelPage to another one

The panel did not update because it assumed that the dashboard was already
fully loaded.
2020-10-29 09:51:25 +01:00
Arve Knudsen
00508295d1
CloudWatch: Improve method name, performance optimization (#28632)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-29 08:27:24 +01:00
Arve Knudsen
4ec60c7187
Developer guide: Update wrt. Windows (#28559)
* Developer guide: Update wrt. Windows

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Update contribute/developer-guide.md

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

* Update contribute/developer-guide.md

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

Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
2020-10-29 08:04:37 +01:00
Diana Payton
4301121b9d
Docs: Update graph panel for tabs (#28552)
* Update data-links.md

* Update data-links.md

* content updates

* Update data-links.md
2020-10-28 08:56:55 -07:00
Kyle Brandt
7401559c3e
update latest.json (#28603) 2020-10-28 10:55:05 -04:00
Leonard Gram
aac392c32f
Docs: data source insights (#28542)
* Docs: data source insights

* wording

* review feedback

* screenshot

* feedback
2020-10-28 15:39:07 +01:00
Isa Ozler
85a04794ac
Field config API: add slider editor (#28007)
* Field config: implementation slider editor (#27592)

* PR-28007 feedback fixed

* Field config: implementation slider editor (#27592)

* PR-28007 feedback fixed

* processed review PR-28007

* Field config: implementation slider editor (#27592)

* PR-28007 feedback fixed

* Field config: implementation slider editor (#27592)

* processed review PR-28007

* fixing leftover number[] bugs

* RichHistoryQueriesTab.test fix + slider vertical feat fixed

* fixed Slider.test.tsx expectation

* Added @docs to prevent build-frontend-docs from failing

Co-authored-by: Isa Ozler <contactme@isaozler.com>
2020-10-28 15:00:31 +01:00
Kyle Brandt
1bff2fdeea
changelog: update for 7.3.0 (#28602) 2020-10-28 09:56:34 -04:00
Dominik Prokop
019173eb79
Update uPlot to 1.2.2 and align timestamps config with new uPLot API (#28569) 2020-10-28 14:49:38 +01:00
Marcus Andersson
c258ee86eb
Live: updated the reference to use lazy loaded Monaco in code editor. (#28597) 2020-10-28 07:57:58 -04:00
Chunlin Yang
d61e1e7b23
Dashboard: Allow add panel for viewers_can_edit (#28570)
Signed-off-by: clyang82 <chuyang@redhat.com>
2020-10-28 12:16:23 +01:00
Marcus Efraimsson
cb965ce177
Docs: Data source provisioning and sigV4 (#28593)
Document the sigv4 properties for data source provisioning.
2020-10-28 11:27:48 +01:00
Marcus Efraimsson
aabd3bdf72
Docs: Additional 7.3 upgrade notes (#28592)
Adds a couple upgrade notes for v7.3 regarding database migrations for 
user invites and snapshots.

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2020-10-28 11:27:15 +01:00
Arve Knudsen
0684d89c0e
CI: Add GCC to Windows Docker image (#28562)
* CI: Add GCC to Windows Docker image

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* CI: Upgrade golangci-lint in Windows Docker image

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-28 11:00:33 +01:00
kay delaney
c4c5b2dc61
CloudWatch Logs queue and websocket support (#28176)
CloudWatch Logs queue and websocket support
2020-10-28 08:36:57 +00:00
Ivana Huckova
e94b37c656
Explore/Loki: Update docs and cheatsheet (#28541)
* Add updated histogram docs

* Add to cheatsheet

* Update

* Update docs/sources/explore/index.md

* Update docs/sources/explore/index.md
2020-10-28 09:16:10 +01:00
Alex Khomenko
c96ef2676e
Grafana-UI: Add Card component (#28216)
* Base card

* Add disabled state

* Expand knobs

* Add card actions

* Add meta data

* Allow custom tags

* Extend container props

* Add inner link

* Add docs

* Add missing keys

* Update margins

* Add description

* Add full card example

* Tweak disabld state

* Export Card

* title => heading

* Filter out empty content

* Add disableEvents

* Move tooltip to container

* Use new Card for AlertRuleItem

* Cleanup

* Update snapshot

* Rename props

* Rename props[2]

* Disable hover is onClick is missing

* Fix alert rule item

* Update snapshot

* Export CardProps

* Replace logo

* Remove tag prop

* Remove extra div

* Add @public

* Update AlertRuleItem

* Simplify disabled logic

* Export Card styles

* Remove AlertRuleItem tooltips

* Revert to old button design

* Make component internal

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2020-10-28 09:23:22 +02:00
Ryan McKinley
33ef71d81e
AddDatasource: Improve plugin categories (#28584)
* add IoT category to datasources

* add more enterprise plugins

* add more enterprise plugins
2020-10-28 08:15:32 +01:00
Hugo Häggmark
0d803613d6
StatPanel: Fixes BizChart error max: yyy should not be less than min zzz (#28587) 2020-10-28 08:04:30 +01:00
Anthony D'Atri
5cded1d2cd
docs: a few tweaks for clarity and readability (#28579)
Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
2020-10-27 15:57:29 -04:00
Torkel Ödegaard
283fd4c247
API: Reducing some api docs errors (#28575) 2020-10-27 17:54:02 +01:00
Alex Khomenko
75ebf3f15c
Grafana-UI: ContextMenu docs (#28508)
* Add story

* Add docs

* Get rid of selectThemeVariant

* Minor tweaks
2020-10-27 17:18:45 +02:00
Marcus Efraimsson
60d40fa99b
Short URL: Update last seen at when visiting a short URL (#28565)
Ref #28248

Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
2020-10-27 16:16:06 +01:00
Arve Knudsen
aa9134b3b4
Fix backend build on Windows (#28557)
* Fix backend build on Windows

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Fix remaining build.go issues on Windows

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-27 13:57:12 +01:00
Scott Lepper
b3ac4eb899
add value prop (#28561) 2020-10-27 08:18:10 -04:00
Dominik Prokop
4468d41417
Plugin signing: UI information (#28469)
* first pass

* return list

* types and cleanup

* add to plugin page and add styles

* update comment

* update comment

* fix component path

* simplify error component

* simplify error struct

* fix tests

* don't export and fix string()

* update naming

* remove frontend

* introduce phantom loader

* track single error

* remove error from base

* remove unused struct

* remove unnecessary filter

* add errors endpoint

* Update set log to use id field

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>

* skip adding BE plugins

* remove errs from plugin + ds list

* remove unnecessary fields

* add signature state to panels

* Fetch plugins errors

* grafana/ui component tweaks

* DS Picker - add unsigned badge

* VizPicker - add unsigned badge

* PluginSignatureBadge tweaks

* Plugins list - add signatures info box

* New datasource page - add signatures info box

* Plugin page - add signatures info box

* Fix test

* Do not show Core label in viz picker

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

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>

* Update public/app/features/plugins/PluginListPage.test.tsx

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

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

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

* Update public/app/features/datasources/NewDataSourcePage.tsx

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

* Review comments 1

* Review comments 2

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

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

* Prettier fix

* remove stale backend code

* Docs issues fix

Co-authored-by: Will Browne <will.browne@grafana.com>
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2020-10-27 13:08:08 +01:00
Dominik Prokop
d1ed163fc6
Use fetch API in InfluxDB data source (#28555)
* Use fetch API in InfluxDB data source

* Review comments
2020-10-27 11:35:59 +01:00
Peter Holmberg
f13c267f1c
PanelEdit: Prevent the preview pane to be resized further than window height (#28370)
* use percentage on topPanel, limit resize

* add relative size to rightPanel, resize split panes on resize

* lock min size of options pane to min 300px, adding debounce

* sorting imports

* assigning the ref, remove debounce

* set default uistate to number instead of string

* revert go.sum and go.mod

* fix go.mod
2020-10-27 11:18:37 +01:00
Ryan Mendoza
ecaa041ec0
Docs: Update generic-oauth.md (#28517)
Callback URI fragment should be suffixed, not a prefix.
2020-10-26 12:36:37 -07:00
Arve Knudsen
70c7724b65
GCS image uploader: Add tests (#28521)
* GCS uploader: Add tests

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Use go generate

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-26 20:35:12 +01:00
Torkel Ödegaard
3b9523fad7
Move metrics collector queries to config (#28549) 2020-10-26 19:43:58 +01:00
Arve Knudsen
069e2b0ced
Plugins: Fix plugin URL paths on Windows (#28548)
* Plugins: Fix plugin URL paths on Windows

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Plugins: Fix plugin URL paths on Windows

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-26 18:31:27 +01:00
Agnès Toulet
65b5086a59
API: add login username in SendLoginLogCommand (#28544)
* API: add login username in Login actions

* LoginUser -> LoginUsername

* fix test
2020-10-26 15:47:01 +01:00
Kyle Brandt
96e6524a7d
AzureMonitor: Support decimal (as float64) type in analytics/logs (#28480)
loss of precision but will make the response work instead of erroring
follows work already done in the ADX plugin
fixes #28278
2020-10-26 08:27:16 -04:00
Will Browne
4d2b20f727
Auth: Fix SigV4 request verification step for Amazon Elasticsearch Service (#28481)
* remove forward header and add extra steps for encoding

* add comment

* re-use forwarded header

* fix service param

* Make SDK the default auth option in UI

* use SDK code instead

* propagate err

* refactor flow

* fix prom service namespace
2020-10-26 12:36:11 +01:00
Jack Westbrook
a8a3686785
Grafana/ui: auto focus threshold editor input (#28360)
* feat(grafana-ui): autofocus threshold editor input

* refactor(grafana-ui): remove commented out css

* feat(grafana-ui): use ref for autofocus new thresholds editor input

* refactor(grafana-ui): conditionally set input ref for latest threshold

* refactor(grafana-ui): put back createRef for input ref
2020-10-26 12:21:41 +01:00
Will Browne
0cdb23a069
Docs: SigV4 What's New and AWS Elasticsearch documentation (#28506)
* add what's new entry and elastic docs

* update docs

* remove caps

* fix image path

* fix md link

Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>

* fix link case

Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>

* fix md link

* docs fixes

* update config ref

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

Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2020-10-26 11:50:39 +01:00
Arve Knudsen
1571579c1d
Drone: Upgrade build pipeline tool (#28533)
* Drone: Upgrade grabpl

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-26 10:47:42 +01:00
Arve Knudsen
31c9c81f5b
Drone: Refactor version branch pipeline logic (#28531)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-26 09:47:51 +01:00
Arve Knudsen
c3917e6525
Drone: Upgrade build-pipeline tool (#28520)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-26 09:27:54 +01:00
Torkel Ödegaard
7c7a4a05ed
Docs: Update field color scheme docs and 7.3 what's new (#28496)
* Docs: Update field color scheme docs and 7.3 what's new

* update

* Updated

* Added image cell display mode to table docs
2020-10-26 08:40:45 +01:00
Darryl
0f97925c1a
Templating: Custom variable edit UI, change text input into textarea (#28312) (#28322) 2020-10-26 08:38:39 +01:00
Muhammad Hendri
3abd9957aa
Currency: Adds Indonesian IDR currency (#28363) 2020-10-26 08:17:53 +01:00
Emil Hessman
9a241a2a4f
Chore: Fix flaky sqlstore annotation test (#28527) 2020-10-26 07:45:30 +01:00