Commit Graph

27663 Commits

Author SHA1 Message Date
Torkel Ödegaard
e54e997801
Badge: Design improvement & reduce contrast (#30328)
* Badge: Design improvement & reduce contrast

* light theme border tweak

* Updated snapshot
2021-01-18 11:51:27 +01:00
Erik Sundell
690a96e434
make sure stats are added horizontally and not vertically (#30106) 2021-01-18 11:14:14 +01:00
dependabot[bot]
3db5abbeec
Chore(deps): Bump google.golang.org/grpc from 1.33.1 to 1.35.0 (#30342)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.33.1 to 1.35.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.33.1...v1.35.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-18 10:49:49 +01:00
dependabot[bot]
c7b1676078
Chore(deps): Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 (#30341)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.6.1...v1.7.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-18 09:26:34 +01:00
dependabot[bot]
60f59bf630
Chore(deps): Bump github.com/google/uuid from 1.1.2 to 1.1.5 (#30340)
Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.1.2 to 1.1.5.
- [Release notes](https://github.com/google/uuid/releases)
- [Commits](https://github.com/google/uuid/compare/v1.1.2...v1.1.5)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-18 09:19:01 +01:00
dependabot[bot]
dc44d5a3f0
Chore(deps): Bump github.com/hashicorp/go-version from 1.2.0 to 1.2.1 (#30339)
Bumps [github.com/hashicorp/go-version](https://github.com/hashicorp/go-version) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/hashicorp/go-version/releases)
- [Commits](https://github.com/hashicorp/go-version/compare/v1.2.0...v1.2.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-18 09:17:07 +01:00
baijunyao
8a5c4f46ce
Fix HTML character entity error (#30334) 2021-01-17 10:31:52 +02:00
Leon Sorokin
9d4769fd74
GraphNG: fix fillBelowTo regression (#30330) 2021-01-16 10:32:26 -06:00
Leon Sorokin
803fe70c3e
GraphNG: implement softMin/softMax for auto-scaling stabilization. close #979. (#30326) 2021-01-16 08:24:13 -06:00
Torkel Ödegaard
002ef5e8be
Legend: Fixes right y-axis legend from being pushed outside the bounds of the panel (#30327) 2021-01-16 14:09:05 +01:00
Alex Khomenko
4971ce6a3c
Grafana-toolkit: Update component generator templates (#30306)
* Grafana-toolkit: Update component generator templates

* Update story name
2021-01-16 11:31:54 +02:00
Ryan McKinley
75e9478485
Panels: remove beta flag from stat and bargauge panels (#30324) 2021-01-15 14:36:35 -08:00
Ryan McKinley
8aba480a21
GraphNG: support fill below to (bands) (#30268) 2021-01-15 11:03:41 -08:00
Arve Knudsen
62485898e4
grafana-cli: Fix security issue (#28888)
* grafana-cli: Fix security issue

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

* grafana-cli: Add and improve tests

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-15 17:50:50 +01:00
Sofia Papagiannaki
2b15581339
AlertingNG: Modify queries and transform endpoint to get datasource UIDs (#30297)
* Pass skipCache from context

* Use macaron Params instead of ParamsEscape for UIDs

* Modify queries and transform to get datasource UIDs

* Update github.com/grafana/grafana-plugin-sdk-go to v0.83.0
2021-01-15 18:33:50 +02:00
Zoltán Bedi
edb7f2280b
Chore: Fix missing property from ExploreGraph (#30315) 2021-01-15 17:30:40 +01:00
Zoltán Bedi
b649bfc270
Prometheus: Add support for Exemplars (#28057)
* Fix typos

* Query exemplars API

* Add link to traceID

* Update exemplar to show more information

Reduce exemplars density

* Fix typos

* Query exemplars API

* Add link to traceID

* Update exemplar to show more information

Reduce exemplars density

* Update GraphNG legend type

* Show new graph component in Explore

* Add exemplar annotation a design update

* Graph panel not to show red line annotation

Exemplar plugin to use y value

* Address review comments

* Density filter for exemplars

* Update schema of exemplars

* Density filter with y-value sampling

* Enforce axis scales to include 0

* Changes after merge with master

* Show metrics when there is no result

* Decorators tests fix

* ExemplarMarker to receive component prop

* Remove context menu from explore graph

* Add color to graph

* Update explore graph panel

* Update graph config to use default values

* Fix data source tests

* Do not show exemplars outside of graph

* Add exemplars switch

* Fix typos

* Add exemplars query only when enabled

* Show graph in explore without filling it

* Update exemplars plugin y value scale selection

* Update tests

* Add data source picker for internal linking

* Increase pointSize for better visibility

* Fix explore e2e test

* Fix data link title variable interpolation

* Use new switch component in PromExemplarField

* Move FieldLink component to new file

* Convert exemplar to datalink

* Add legend toggling logic to Explore

* Add legend toggling to Explore

* Address Ivana's feedback

* Address Andrej's comments

* Address Gio's feedback

* Add tests for result_transformer

* Fix eslint issues

* Change sampler formula for better readability

Co-authored-by: David Kaltschmidt <david@leia.lan>
Co-authored-by: David Kaltschmidt <david@leia.fritz.box>
Co-authored-by: David Kaltschmidt <david.kaltschmidt@gmail.com>
2021-01-15 16:20:20 +01:00
Bogdan Matei
46167785e6
Grafana-UI: Enhances for TimeRangePicker and TimeRangeInput (#30102) 2021-01-15 16:53:57 +02:00
Grot (@grafanabot)
9734b7069c
ReleaseNotes: Updated changelog and release notes for 7.4.0 (#30312) 2021-01-15 15:51:59 +01:00
Torkel Ödegaard
32758e7cf0
Table: Fixes BarGauge cell display mode font size so that it is fixed to the default cell font size (#30303) 2021-01-15 15:35:17 +01:00
Torkel Ödegaard
1ccde2a173
AngularGraph: Fixes issues with legend wrapping after legend refactoring (#30283) 2021-01-15 15:17:46 +01:00
Alexander Zobnin
d6b468187e
Plugins: Add Open Distro to the list of data sources supported by sigv4 (#30308) 2021-01-15 17:01:29 +03:00
Hugo Häggmark
3d41267fc4
Chore: Moves common and response into separate packages (#30298)
* Chore: moves common and response into separate packages

* Chore: moves common and response into separate packages

* Update pkg/api/utils/common.go

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

* Chore: changes after PR comments

* Chore: move wrap to routing package

* Chore: move functions in common to response package

* Chore: move functions in common to response package

* Chore: formats imports

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-15 14:43:20 +01:00
Dominik Prokop
a94c256516
GraphNG: remove y-axis position control from series color picker in the legend (#30302) 2021-01-15 14:24:21 +01:00
Jack Westbrook
c14c7b6874
Table: migrate old-table config to new table config (#30142)
* feat(tablepanel): add migration button to old table panel config

* feat(tablepanel): migrate old table transformations

* feat(tablepanel): migrate old styles to config overrides

* feat(tablepanel): migrate catch all style override to panel defaults

* refactor(tablepanel): clean up typings

* refactor(tablepanel): base threshold as -Infinity

* feat(tablepanel): migrate align to new table config overrides

* feat(tablepanel): migrate links to new table overrides

* refactor(tabelpanel): clean up threshold migrations

* feat(tablepanel): introduce table transform to merge

* feat(tablepanel): add note informing user to manually update links with cell values
2021-01-15 13:06:40 +01:00
Chris Cowan
5088e2044a
Elasticsearch: Support extended stats and percentiles in terms order by (#28910)
Adds support to the terms aggregation for ordering by percentiles and extended stats. 

Closes #5148

Co-authored-by: Giordano Ricci <grdnricci@gmail.com>
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2021-01-15 12:10:16 +01:00
Torkel Ödegaard
b32c4f34cd
Docs: Update release notes index 2021-01-15 09:22:10 +01:00
Dominik Prokop
f5dfb3b24b
GraphNG: stats in legend (#30251)
* StatsPickerEditor - add more config to the options ui

* Show calcs in the legend

* Refactor the way legend items are created

* Progress on refresh

* Migration update

* Use human-readable names in the legend stats

* Disable pointer cursor in table header
2021-01-15 09:14:50 +01:00
Alex Khomenko
61b9d811cb
Grafana UI: EmptySearchResult docs (#30281)
* Grafana-UI: Remove sass

* Grafana-UI: Add story/docs
2021-01-15 09:29:44 +02:00
Joan López de la Franca Beltran
ce3e34e9b3
Plugins: Use the includes.path (if exists) on sidebar includes links (#30291) 2021-01-15 00:12:08 +01:00
Ivana Huckova
60828316c0
Fix spinner and broken buttons (#30286) 2021-01-14 20:05:38 +01:00
Joan López de la Franca Beltran
860ff8cf7d
Graph: Consider reverse sorted data points on isOutsideRange check (#30289) 2021-01-14 18:44:48 +01:00
Scott Fingerhut
2ef1b8653d
Update getting-started.md (#30257)
* Update getting-started.md

Added language for people to start with Grafana Cloud

* Update docs/sources/getting-started/getting-started.md

* Update docs/sources/getting-started/getting-started.md

* Update docs/sources/getting-started/getting-started.md

* Updated the verbiage about Grafana Cloud to be a note for greater prominence.

* Fixed a typo

* Update docs/sources/getting-started/getting-started.md

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

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <aparajita.chatterjee@grafana.com>
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-01-14 11:24:22 -05:00
Kyle Brandt
21ae4802ce
Backend: use sdk version (v0.81.0) without transform (gel) code (#29236) 2021-01-14 10:11:54 -05:00
Agnès Toulet
e0adbff4b7
Chore: update latest versions to 7.3.7 (#30282) 2021-01-14 15:49:32 +01:00
Ivana Huckova
f9ba87f1c8
Loki: Fix hiding of series in table if labels have number values (#30185)
* Fix summing of label names for Loki

* Add test
2021-01-14 15:47:18 +01:00
Ivana Huckova
0d9dbcf7fa
Loki: Lower min step to 1ms (#30135)
* Set min step to 0.1 sec instead of 1 sec

* Remove duplicated test

* Update

* Change minInterval to 1ms

* Remove unused import
2021-01-14 15:46:51 +01:00
Ivana Huckova
a05596848d
Prometheus: Improve autocomplete performance and remove disabling of dynamic label lookup (#30199)
* processLabels: Use Sets instead of Array

* Add and update comment

* Limit autocomplete items to 10000

* Remove lookup treshold, limit display of items

* Update tests

* Add test

* Update public/app/plugins/datasource/prometheus/language_provider.ts
2021-01-14 15:45:45 +01:00
Torkel Ödegaard
d10dbc70a1
Icons: Adds custom icon support ands new panel and interpolation icons (#30277)
* Icons: Adds custom icon support ands new panel and interpolation icons

* Removed icon files

* updated snapshot

* Updates
2021-01-14 15:07:19 +01:00
Grot (@grafanabot)
a9338542b6
ReleaseNotes: Updated changelog and release notes for 7.3.7 (#30280)
* ReleaseNotes: Updated changelog and release notes for 7.3.7

* Changelog: set everything as bug fixes

Co-authored-by: Agnès Toulet <agnes.toulet@gmail.com>
2021-01-14 14:44:41 +01:00
Andrej Ocenas
9bb516e4e5
Grafana-ui: Allow context menu items to be open in new tab (#30141) 2021-01-14 14:18:41 +01:00
ying-jeanne
65b0365aeb
Cloud Monitoring: Convert datasource to use Dataframes (#29830)
* Convert Cloud Monitoring (Stackdriver) Datasource to use Dataframes #29830

* add deeplink into config

* omggggggggggggggg this deeplink works!

* move unit to the backend part

* remove unit from frontend

* only set the config fields[1] for deeplink and unit

* refactory + fix some test

* remove frontend test for unit

* adding backend test for unit mapping

* resolve review

* rewrtie unit logic to do exactly the same as frontend filter

* refactory
2021-01-14 14:16:20 +01:00
Marcus Andersson
382c75d0db
GraphNG: added support to change series color from legend. (#30256)
* added support for changing color of series.

* removed dependency on internal type.
2021-01-14 13:54:21 +01:00
Josh Hunt
e089365abe
AzureMonitor: rename labels for query type dropdown (#30143)
* AzureMonitor: rename labels for queryType dropdown

* Reorder to match original order

* Docs: rename query types

* Docs: update KQL url

* Docs: update Azure Monitor / Log Analytics names

* Update documentation to include new name

* Docs formatting

* Rename Azure Monitor config editor names

* update test snapshots
2021-01-14 12:33:41 +00:00
Torkel Ödegaard
3b0356a165
Decimals: Improving auto decimals logic for high numbers and scaled units (#30262)
* Big improvement to decimals logic is finally working

* Removed unused elements from old solution

* Updated test
2021-01-14 11:29:44 +01:00
Chris Cowan
3d7748d9f8
Elasticsearch: Use minimum interval for alerts (#30049)
The current backend code doesn't honor the minimum interval set in the UI for alerts using 
the Elasticsearch data source. This means that the data the alerts are triggering against 
will never match the data in the visualization if auto is used in the date histogram as interval. 
This fixes the problem to make sure that date histogram auto interval is set according to 
min interval set in UI for the query or fallback to data source min interval setting.

Fixes #22082

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2021-01-14 10:48:59 +01:00
Torkel Ödegaard
dac7add457
TimeSeriesPanel: The new graph panel now supports y-axis value mapping #30272 2021-01-14 09:58:54 +01:00
Arve Knudsen
31d051d47e
CODEOWNERS: Make backend squad owners of backend style guidelines (#30266)
* CODEOWNERS: Make backend squad owners of backend style guidelines

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

Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
2021-01-14 09:56:57 +01:00
Will Browne
a0a1422b2d
Auth: Add missing request headers to SigV4 middleware allowlist (#30115)
* Auth: Add Content-Type to SigV4 header allowlist

* add MT headers to permitted headers

* add Kibana API header to allowlist

* add Content-Length header to allow list
2021-01-14 09:06:09 +01:00
Alex Khomenko
b48ac0dc53
Grafana-UI: Add story/docs for FilterPill (#30252)
* Grafana-UI: Add story/docs for FilterPill

* Grafana-UI: Update args
2021-01-14 09:55:49 +02:00