Commit Graph

27613 Commits

Author SHA1 Message Date
Alex Khomenko
b8d84092bb
Grafana-UI: Add story/docs for Counter (#30253)
* Grafana-UI: Add story/docs for Counter

* Grafana-UI: Fix naming
2021-01-14 09:09:08 +02:00
Arve Knudsen
4e37941cc4
Backend style guide: Document JSON guidelines (#30267)
* Backend style guide: Document JSON guidelines

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-14 07:49:25 +01:00
Leon Sorokin
6ce5740e64
GraphNG: uPlot 1.6, hide "Show points" in Points mode, enable "dot" lineStyle (#30263) 2021-01-13 18:33:18 -06:00
Diana Payton
fe7ced4194
Docs: Update prometheus.md (#30240)
* Update prometheus.md

* Update docs/sources/datasources/prometheus.md

Co-authored-by: Dan Cech <dcech@grafana.com>

* Update prometheus.md

Co-authored-by: Dan Cech <dcech@grafana.com>
2021-01-13 13:13:09 -08:00
Tomo Wang
36ee7c9b88
Docs: Cloudwatch filter should be JSON format (#30243)
Example `ec2_instance_attribute(default, InstanceId, { 'tag:Environment': ['production'] });` will cause `SyntaxError: Unexpected token ' in JSON at position 2`
2021-01-13 12:54:01 -08:00
Kyle Brandt
1c1a800bc0
API: Add by UID routes for data sources (#29884)
- also add Get by UID+OrgID to datasource cache
- Refactor backend commands for Delete and Get to be unified
2021-01-13 13:16:27 -05:00
Diana Payton
d5cbb17666
Docs: Update datasource_permissions.md (#30255) 2021-01-13 08:57:13 -08:00
Erik Sundell
64d600f971
Cloudwatch: Move deep link creation to the backend (#30206)
* get meta data from dataframe meta

* gmdMeta is not used anymore

* wip: move deep link creation to backend

* Refactor backend. Remove not used front end code

* Unit test deep links. Remove not used frontend tests

* remove reference to gmdmeta

* fix goimports error

* fixed after pr feedback

* more changes according to pr feedback

* fix lint issue

* fix bad math expression check and fix bad test

* Decrease nesting

* put link on first data field only
2021-01-13 15:30:09 +01:00
Arve Knudsen
0e2f1fe3f5
Metrics API: Use jsoniter for JSON encoding (#30250)
* QueryMetricsV2: Stream response

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

* API: Use jsoniter instead of standard JSON package

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-13 15:20:25 +01:00
Tom Wilkie
07aa956667
Add option in database config to skip migrations for faster startup. (#30146)
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2021-01-13 13:46:16 +00:00
Erik Sundell
bfcb8a477d
Set signed in users email correctly (#30249) 2021-01-13 13:36:24 +01:00
Agnès Toulet
c040d36a70
Drone: Upgrade build pipeline tool (#30247) 2021-01-13 11:44:34 +01:00
Torkel Ödegaard
b52f9fed68
runRequest: Fixes issue with request time range and time range returned to panels are off causing data points to be cut off (outside) (#30227)
* runRequest: Fixes issue with request time range and time range returned to panels are off causing data points to be cut off (outside)

* Updated test
2021-01-13 10:37:22 +01:00
Giordano Ricci
d8b4ed3a0e
Elasticsearch: fix handling of null values in query_builder (#30234) 2021-01-13 09:04:36 +00:00
Mitch Seaman
a21c1b0841
Docs: help users connect to Prometheus using SigV4 (#30232)
* Add sigv4 overview and links to AWS docs

* minor wording tweak

* Update prometheus.md

* move supported version in Prometheus-AMP docs

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

* move supported version

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

* move version support note

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-01-12 17:14:58 -07:00
Diana Payton
5483fbff7d
Update documentation-markdown-guide.md (#30207) 2021-01-12 13:41:19 -08:00
Diana Payton
d6948bae62
Update documentation-markdown-guide.md (#30235) 2021-01-12 12:25:05 -08:00
Arve Knudsen
5da3419459
Better logging of plugin scanning errors (#30231)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-12 19:17:25 +01:00
Steven Vachon
de3a7610d7
Print Node.js and Toolkit versions (#30230)
* Minor changes

* Print Node.js and toolkit versions when building
2021-01-12 12:17:29 -05:00
Jack Westbrook
24cfab6c7f
Chore: bump rollup across all packages (#29486)
* chore(packages): bump all rollup dependencies

* chore: refresh yarn.lock

* build(rollup): remove namedExports from config

* chore(packages): downgrade rollup so grafana-ui builds
2021-01-12 16:51:09 +01:00
Arve Knudsen
21e835f3a6
Backend style guide: Document database patterns (#30219)
* Backend style guide: Document database patterns

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

* Wording

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

* Avoid stacked headings

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-12 16:24:22 +01:00
Arve Knudsen
85ec1fa0eb
Chore: Bump plugin-ci-alpine Docker image version (#30225)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-12 16:16:08 +01:00
Torkel Ödegaard
5b022a1c75
Legends: Refactoring and rewrites of legend components to simplify components & reuse (#30165)
* Legends: Refactoring and rewrites of legend components to simplify components & reuse

* Removed onSeriesAxisToggle

* More removal of onSeriesAxisToggle and storybook improvements

* Added story with legend values

* Move table legend styles from inline to defined in stylesFactory

* Update styles

* Change to circle

* Updated style to fat line

* Rename to VizLegend

* More renamed and fixes / polish

* Removed imports

* Minor change

* Updates

* Updates
2021-01-12 15:58:46 +01:00
Steven Vachon
807b31fb57
Use Node.js 14.x in plugin CI (#30209) 2021-01-12 09:07:07 -05:00
Marcus Andersson
9aa282a18c
Field overrides: extracting the field config factory into its own reusable module. (#30214)
* extracting the field config registry factory method into its own module.

* added docs comment.
2021-01-12 15:01:33 +01:00
Hugo Häggmark
d6449c16c7
LibraryPanels: adds connections (#30212)
* LibraryPanels: adds connections

* Chore: testing signing verification

* Update pkg/services/librarypanels/librarypanels_test.go

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

* Update pkg/services/librarypanels/librarypanels_test.go

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

* Update pkg/services/librarypanels/librarypanels_test.go

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

* Update pkg/services/librarypanels/librarypanels_test.go

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

* Update pkg/services/librarypanels/librarypanels_test.go

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

* Update pkg/services/librarypanels/librarypanels_test.go

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

* Update pkg/services/librarypanels/librarypanels_test.go

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

* Chore: changes after PR comments

* Chore: changes after PR comments

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-12 12:57:40 +01:00
Torkel Ödegaard
4420a959f1
PanelOptionsGroups: Only restore styles from PanelOptionsGroup (#30215) 2021-01-12 12:09:24 +01:00
Torkel Ödegaard
94783cfe99
Variables: Add deprecation warning for value group tags (#30160)
* Variables: Add deprecation warning for value group tags

* Removed style changes, moving to seprate PR

* Update docs/sources/variables/variable-value-tags.md

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

* Update docs/sources/variables/variable-value-tags.md

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

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-01-12 10:23:58 +01:00
Torkel Ödegaard
ed69edbb94
GraphNG: Hide grid for right-y axis if left x-axis exists (#30195)
* GraphNG: Hide grid for right-y axis

* Correct fix so it works if you just a right x-axis

* Removed import
2021-01-12 09:35:13 +01:00
Arve Knudsen
50b649a869
Middleware: Add CSP support (#29740)
* Middleware: Add support for CSP

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

Co-authored by @iOrcohen
2021-01-12 07:42:32 +01:00
achatterjee-grafana
4ed901e1f9
Updated image links to have newer format. (#30208)
* Updated image links to have newer format.

* Fixed numbering.
2021-01-11 19:40:21 -05:00
Diana Payton
050416dcab
Docs: Update usage-insights.md (#30150) 2021-01-11 15:25:10 -08:00
achatterjee-grafana
5b8544e5c9
Share panel dashboard add images (#30201)
* Added 2 image links.

* Fixed a typo

* Fixed one more typo

* Added images to the  "Share a panel" and "Share a dashboard" topics.

* Updated title of the section on panel embed.

* Update docs/sources/sharing/share-dashboard.md

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

* Fixed numbering.

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-01-11 14:39:27 -05:00
Diana Payton
ad5762cd6a
Update documentation-style-guide.md (#30202) 2021-01-11 11:28:04 -08:00
Torkel Ödegaard
8e279c443e
Docs: Fix links to transforms (#30194) 2021-01-11 16:44:18 +01:00
Jack Westbrook
a4e49e4a9b
docs(badge): migrate story to use controls (#30180) 2021-01-11 16:32:10 +01:00
dependabot[bot]
9e4b055b91
Chore(deps): Bump github.com/prometheus/common from 0.14.0 to 0.15.0 (#30188)
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.14.0...v0.15.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-11 15:26:34 +01:00
Sofia Papagiannaki
551428af61
Fix alert definition routine stop (#30117) 2021-01-11 16:14:03 +02:00
dependabot[bot]
638cf642fa
Chore(deps): Bump gopkg.in/square/go-jose.v2 from 2.4.1 to 2.5.1 (#30189)
Bumps [gopkg.in/square/go-jose.v2](https://github.com/square/go-jose) from 2.4.1 to 2.5.1.
- [Release notes](https://github.com/square/go-jose/releases)
- [Commits](https://github.com/square/go-jose/compare/v2.4.1...v2.5.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-11 14:56:08 +01:00
Torkel Ödegaard
b342e4f044
InlineSwitch: Minor story fix (#30186)
* InlineSwitch: Minor story fix

* Fix e2e test
2021-01-11 14:44:48 +01:00
dependabot[bot]
74e1a34e74
Chore(deps): Bump github.com/gosimple/slug from 1.4.2 to 1.9.0 (#30178)
Bumps [github.com/gosimple/slug](https://github.com/gosimple/slug) from 1.4.2 to 1.9.0.
- [Release notes](https://github.com/gosimple/slug/releases)
- [Commits](https://github.com/gosimple/slug/compare/v1.4.2...v1.9.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-11 14:31:01 +01:00
dependabot[bot]
bf826b6944
Chore(deps): Bump github.com/fatih/color from 1.9.0 to 1.10.0 (#30183)
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.9.0...v1.10.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-11 14:21:30 +01:00
dependabot[bot]
922f36b386
Chore(deps): Bump github.com/lib/pq from 1.3.0 to 1.9.0 (#30181)
Bumps [github.com/lib/pq](https://github.com/lib/pq) from 1.3.0 to 1.9.0.
- [Release notes](https://github.com/lib/pq/releases)
- [Commits](https://github.com/lib/pq/compare/v1.3.0...v1.9.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-11 14:18:55 +01:00
dependabot[bot]
cc1b9b272a
Chore(deps): Bump github.com/hashicorp/go-plugin from 1.2.2 to 1.4.0 (#30175)
Bumps [github.com/hashicorp/go-plugin](https://github.com/hashicorp/go-plugin) from 1.2.2 to 1.4.0.
- [Release notes](https://github.com/hashicorp/go-plugin/releases)
- [Commits](https://github.com/hashicorp/go-plugin/compare/v1.2.2...v1.4.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-11 14:18:20 +01:00
dependabot[bot]
472d9db85b
Chore(deps): Bump github.com/getsentry/sentry-go from 0.7.0 to 0.9.0 (#30171)
Bumps [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go) from 0.7.0 to 0.9.0.
- [Release notes](https://github.com/getsentry/sentry-go/releases)
- [Changelog](https://github.com/getsentry/sentry-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-go/compare/v0.7.0...v0.9.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-11 14:17:50 +01:00
Torkel Ödegaard
c0eadeba3a
Gauge: Fixes issue with all null values cause min & max to be null (#30156) 2021-01-11 13:25:08 +01:00
Torkel Ödegaard
d71073bd96
Links: Add underline on hover for links in NewsPanel (#30166) 2021-01-11 13:22:21 +01:00
Torkel Ödegaard
28704d5274
GraphNG: Update to test dashboards (#30153) 2021-01-11 13:21:55 +01:00
Torkel Ödegaard
7c4a597f4d
CleanUp: Removed old panel options group component (#30157)
* Removed unused component

* Remove scss import
2021-01-11 13:21:13 +01:00
Torkel Ödegaard
e09c535f3f
AngularQueryEditors: Fixes to Graphite query editor and other who refer to other queries (#30154)
* AngularQueryEditors: Fixes to Graphite query editor and other who refer to other queries

* Fixed missing call to old function
2021-01-11 13:20:20 +01:00