Commit Graph

26905 Commits

Author SHA1 Message Date
Dominik Prokop
4a9c0258bb
Changelog update - 7.3.1 (#28699)
* Changelog update

* Update CHANGELOG.md

* Update CHANGELOG.md

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

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-30 14:02:40 +01:00
Arve Knudsen
50f8bcc31e
Drone: Don't build on Windows for PRs (#28663)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-30 12:15:17 +01:00
Marcus Andersson
e8bfb21851
Build: changing docs docker image to prevent setting up frontend devenv. (#28670)
* Build: changing docs dev-environment

I have added a new image that will include the auto-generated frontend docs so you don't have to generate those locally prior to running the doc container. This has a dependency on this PR: https://github.com/grafana/website/pull/2744 and that we publish a version of the `grafana/docs-devenv` image.

* will ignore everything (even symbolic links)

* fixed spelling.

* added newline.

* updated image name.
2020-10-30 10:22:01 +01:00
Andrej Ocenas
43a0167b01
Prometheus: Fix copy paste behaving as cut and paste (#28622) 2020-10-30 10:03:05 +01:00
Ivana Huckova
05644e7042
Loki: Fix error when some queries return zero results (#28645)
* Fix logSeriesToLogsModel when some data frames have empty fields

* Update test

* Update public/app/core/logs_model.ts

Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>

Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2020-10-30 09:12:57 +01:00
Zoltán Bedi
b0fbde3a0c
Chore: allow higher nodejs version than 12 (#28624) 2020-10-30 08:45:13 +01:00
Torkel Ödegaard
16a1d2f744
TextPanel: Fixes problems where text panel would show old content (#28643) 2020-10-30 08:22:04 +01:00
Torkel Ödegaard
5a83fc574a
PanelMenu: Fixes panel submenu not being accessible for panels close to the right edge of the screen (#28666)
* Dropdowns: Trying to fix dropdown menus

* Dropdowns: Trying to fix dropdown menus

* removed now unnessary wrapper ref

* Upodates

* Remove export
2020-10-29 19:48:54 +01:00
Zoltán Bedi
6dbf1f830a
Cloudwatch: Fix duplicate metric data (#28642)
* Cloudwatch: Fix duplicate metric data

* Refactor reduce function to for of
2020-10-29 17:05:36 +01:00
Dominik Prokop
9717ec77e2
Add info about CSV download for Excel in What's new article (#28661)
* Add info about CSV download for Excel in What's new article

* Update docs/sources/whatsnew/whats-new-in-v7-3.md

* Update docs/sources/whatsnew/whats-new-in-v7-3.md
2020-10-29 16:35:11 +01:00
Giordano Ricci
17bfc8275f
Docs: Describe pipeline aggregation changes in v7.3 (#28660) 2020-10-29 15:13:58 +00:00
Will Browne
b9d71f5cdd
Plugins: Fix descendent frontend plugin signature validation (#28638)
* move plugin root check to earlier in validation process

* remove comment

* only check root if necessary
2020-10-29 15:03:37 +01:00
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