Commit Graph

25397 Commits

Author SHA1 Message Date
Arve Knudsen
07582a8e85
Chore: Fix various spelling errors in back-end code (#25241)
* Chore: Fix various spelling errors in back-end code
Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>>
2020-06-01 17:11:25 +02:00
Marcus Andersson
13787294c6
Variables: fix so the variable picker will remember selected options between filtering (#25119)
* added tests to verify flow.

* refactoring picker reducer.

* made all the tests green.

* removed console.log's

* fixed toggle all and making sure the correct values are set on picker open.

* added more tets.

* refactored and added table tests.

* fixed so we select values from selectedValues instead of options.

* fixed so you can navigate and select even after you have filtered a variable.

* adding tests to verify flows when toggling by highlight.

* fixed so enter always selects value before closing.

* improved the code for tags.
2020-06-01 15:06:51 +02:00
Sofia Papagiannaki
8f72d621bf
Docs: Add example for updating dashboard panel alert rule (#25260) 2020-06-01 15:53:22 +03:00
Steven Vachon
78febbbeef
@grafana/e2e: screenshots and panel flow (#25203)
* Cleanup

* addPanel now supports (optional) custom dashboardUid

* addPanel now supports (optional) visualization name

* Added CLI option for updating screenshot fixtures

* Added support for console.* functions within tests

* Refactored screenshot command for greater simplicity

* addPanel now sets a unique title

* Updated lockfile
2020-06-01 08:48:23 -04:00
Arve Knudsen
01ecbae2ee
CircleCI: Upgrade to Go 1.14.3 and Node 12.17.0 (#25215)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-06-01 11:21:57 +02:00
Ivana Huckova
e4832fa1ee
Explore: Fix very narrow Query fields on mobile (#25148)
* Fix Loki and Prometheus query fields on mobile devices

* Add min widt to Elasticsearch Query Field

* Remove width for Elastic, works nicely without updating it

* Update public/app/plugins/datasource/loki/components/LokiQueryFieldForm.tsx

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

Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2020-06-01 10:52:57 +02:00
Utkarsh Bhatnagar
3e5d721d9c
Update GOVERNANCE.md (#25177) 2020-05-31 22:03:41 +02:00
Ryan McKinley
2760889501
Chore: cleanup after previous commits) 2020-05-31 07:45:39 -07:00
Ryan McKinley
53b9f325c0
OptionsUI: support string list (#25134) 2020-05-29 13:03:45 -07:00
Ryan McKinley
d526647005
Stats: include all fields (#24829) 2020-05-29 12:36:15 -07:00
Ryan McKinley
2a6ac88a73
QueryInspector: add common way to show the raw query (#25204) 2020-05-29 11:06:33 -07:00
David Kaltschmidt
c563633870 Fix strict null error 2020-05-29 20:01:01 +02:00
Ryan McKinley
57a9e422b0
FieldConfig: implement color picker (#24833) 2020-05-29 10:09:46 -07:00
Arve Knudsen
b703f21622
CircleCI: Upgrade grafana/build-container in order to fix arm32v7-musl (#25213)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-05-29 16:17:00 +02:00
David
57abf39f25
Logs: Use result range instead of timepicker range for log histogram (#25027)
* Logs: Use result range instead of timepicker range for log histogram

If a logs datasource does not send histogram data for the requested
time range, the logs model computes a timeseries based on the log row
counts, bucketed by an automcatically calculated time interval. Even
when this histogram time series did not span the whole requested time
range it was still rendered in the graph across the whole range, leaving
an empty area at its start. Users find this confusing and are lead to
believe their log data is missing.

This change fixes this by anchoring the start of the timeseries on the
first log row's timestamp from the result, and adds this smaller range
as `visibleRange` to the logs model and passes it through to the logs
component that optionally takes it into account to not render the empty
area.
The interval (bucket size) is also adjusted to account for a potentially
finer resolution on the shorter visible time interval.
The bucketsize multiplier was also changed from 10 to 20 to account for
the space between the chart's bars.

* Aligned visible range with buckets

* Extract bucket size calculation and add test
2020-05-29 15:39:13 +02:00
Arve Knudsen
f0eb124278
CircleCI: Upgrade build image (#25189)
* CircleCI: Upgrade build image
* CircleCI: Upgrade grabpl

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-05-29 11:39:30 +02:00
Torkel Ödegaard
3532d08cbf
Docs: Update template variable overview to contain the preferred variable syntax (#25176)
* Update templates-and-variables.md

Fixes #13744

* Update templates-and-variables.md

* Update templates-and-variables.md

* Update docs/sources/variables/templates-and-variables.md

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

* Update docs/sources/variables/templates-and-variables.md

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

* Update docs/sources/variables/templates-and-variables.md

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

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-05-28 17:28:24 +02:00
Diana Payton
6191e08080
Docs: Update stat-panel.md (#25191) 2020-05-28 08:18:49 -07:00
Rémy G
07208d05ba
Docs: Fixed invalid JSON (#25153) 2020-05-28 07:35:19 -07:00
Marcus Efraimsson
34d5ffa562
Configuration: Fix env var override of sections containing hyphen (#25178)
Fixes so that ini-sections containing hyphen is replaced with 
underscore. Fixes an issue with backend plugin settings.

Ref grafana/grafana-image-renderer#147
2020-05-28 16:17:55 +02:00
Arve Knudsen
3de3115dec
CircleCI: Fix GitHub API rate limiting (#25188)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-05-28 16:11:20 +02:00
Ivana Huckova
9be7d5867f
Add truthy rawQuery as we are interpolating raw query only (#25110) 2020-05-28 14:28:56 +02:00
Carl Bergquist
328ea80cca
switches default value for security settings (#25175)
closes #25163
2020-05-28 10:38:22 +02:00
Torkel Ödegaard
3833aa416d
Transformations: Fixed transformation crash issue (#25152)
* Transformations: Fixed transformation crash issue

* Updated
2020-05-28 08:06:24 +02:00
Diana Payton
6a4f45625c
Update menu.yaml (#25159) 2020-05-27 12:54:47 -07:00
Alex Khomenko
4c02e9d7ea
Storybook: update dark mode addon (#25151)
* Grafana UI: Remove dark mode addon from deps

* Grafana UI: Update lockfile
2020-05-27 18:03:00 +03:00
Lukas Siatka
9d04dfe41a
Explore: adds table result dataframes sorting to get response columns order based on queries order (#25131)
* Chore: updates Explore result processor to sort dataframes based on their refId so results are displayed in a correct order

* Chore: adds types to Explore ResultProcessor getTableResult DataFrames
2020-05-27 16:45:53 +02:00
Diana Payton
da027bb49f
Docs: Update stat-panel.md (#25147) 2020-05-27 07:08:32 -07:00
Lukas Siatka
03a5e5348d
Chore: fixes jaeger duration value in cascader option label - using milliseconds now instead of microseconds (#25129) 2020-05-27 15:44:41 +02:00
Marcus Andersson
f795a1577c
Fix: make sure that we the gauge panel can handle scenario with no data. (#24938)
* make sure that we can handle the empty data scenario in the gauge.

* reverted Guague.tsx and set default values on no data.
2020-05-27 14:51:15 +02:00
DanielLyons178
47b2650a99
Postgres: Add postgres versions 11 and 12 to version selector (#24750)
Closes #24320
2020-05-27 13:51:34 +02:00
Erik
3a63044f19
CloudWatch: Add Route53 DNSQueries metric and dimension (#25125)
Co-authored-by: Ilya Stoliar <52413756+ilyastoli@users.noreply.github.com>
2020-05-27 12:00:25 +02:00
Hugo Häggmark
4cd7a88e59
Chore: updates latest.json to 7.0.1 (#25112) 2020-05-27 06:52:40 +02:00
Ilya Stoliar
d3a23a617f
CloudWatch: Added AWS RoboMaker metrics and dimensions (#25090) 2020-05-26 23:58:57 +02:00
Kyle Brandt
81e3f93677
Backend Readme: Add section on avoiding simplejson (#25116) 2020-05-26 14:32:00 -04:00
Kyle Brandt
fcb9dcb0b8
AzureMonitor: Types for front-end queries (#24937) 2020-05-26 10:52:33 -04:00
Sofia Papagiannaki
139be3d7ba
grafana/toolkit: Modify close milestone task to remove label from more than 100 pull requests and add dry run option (#25108)
* Fix close milestone to remove label from all the required pull requests

There used to be a limit to 100 pull requests.

* Add dry run option in close-milestone task
2020-05-26 17:26:16 +03:00
Arve Knudsen
170abf2e3d
Build container: Base build image on Debian Stretch (#24967)
* scripts/build/ci-build: Fix Makefile
* scripts/build/ci-build: Base Docker image on Debian Stretch
* scripts/build/ci-build: Modify Dockerfile for fewer RUN directives
2020-05-26 15:45:49 +02:00
Zoltán Bedi
7f6b75af70
Explore: fix update url on mode change (#25084) 2020-05-26 14:54:18 +02:00
Hugo Häggmark
b1cee7a424 Update CHANGELOG.md
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-05-26 14:50:43 +02:00
Hugo Häggmark
9648a09a8b Update CHANGELOG.md
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-05-26 14:50:43 +02:00
Hugo Häggmark
4af16e7673 Update CHANGELOG.md
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-05-26 14:50:43 +02:00
Hugo Häggmark
012fe80607 Update CHANGELOG.md 2020-05-26 14:50:43 +02:00
Torkel Ödegaard
ac38dd872d
PluginsListPage: More plugins button should open in new window (#24635)
* PluginsListPage: More plugins button should open in new window

Fixes #24622

* Updated snapshot
2020-05-26 09:33:10 +02:00
Peter Holmberg
7e5f525473
Dashboard: Get panels in collapsed rows (#25079) 2020-05-26 08:56:21 +02:00
Patrick Hemmer
231a32c4a3
Postgres: Fix add button (#25087)
Previously the add button on the postgres UI would break after the first usage. This was due to the button not being fully reset after use.
2020-05-26 06:38:49 +02:00
Steven Vachon
2724f05d5e
@grafana/e2e: Avoid Cypress' issue with JSON file reporter (#25092)
https://github.com/cypress-io/cypress/issues/6406
2020-05-25 19:28:35 -04:00
Steven Vachon
68154cf98d
@grafana/e2e: generate JSON report file (#25033)
* Output JSON report from Cypress

* Updated lockfile
2020-05-25 15:07:28 -04:00
Andrew Burian
a0e5f51d05
Alerting: Remove message from PagerDuty summary field (#24813)
closes #16930
2020-05-25 21:01:29 +02:00
Marcus Efraimsson
374fbdf9b6
Docker: Fix nightly vulnerability scan (#25083)
* Run each trivy scan as a separate step

* Fail build only on high and critical vulnerability

* Remove temporary job to use nightly schedule only
2020-05-25 18:56:35 +02:00