Arve Knudsen
2bf964c61e
Chore: Fix linting issues caught by ruleguard ( #28799 )
...
* Chore: Fix linting issues caught by ruleguard
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Improve error check
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-17 11:27:45 +01:00
Victor Cinaglia
967e9b39e8
Fix panic when using complex dynamic URLs in app plugin routes ( #27977 )
...
* remove unused function to interpolate URLs
* share function to add headers between ds/plugin proxies
* stop performing unnecessary plugin setting lookup
* fix bug causing runtime errors when using complex templated URLs
* lower case util functions not used outside of pluginproxy package
* change test URL to a (valid) dummy URL to make intent clearer
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-17 10:56:42 +01:00
Torkel Ödegaard
0f3bebb38d
Snapshots: Fixes so that dashboard snapshots show data when using Stat, Gauge, BarGauge or Table panels ( #29031 )
2020-11-17 10:25:36 +01:00
Sofia Papagiannaki
9d58a4fca2
Fix authomation text: remove hyphen ( #29149 )
2020-11-17 10:43:30 +02:00
Domas
3423ef864c
respect fronted-logging.enabled flag ( #29107 )
2020-11-17 08:49:39 +01:00
Andrew Mattheisen
4430ca2317
build paths in an os independent way ( #29143 )
...
Use filepath instead of path to manipulate filename paths in a way compatible with the target operating system-defined file paths.
2020-11-17 08:03:16 +01:00
Alexander Zobnin
4f9123ebe2
Provisioning: always pin app to the sidebar when enabled ( #29084 )
2020-11-17 09:45:40 +03:00
Torkel Ödegaard
d6d5d8cf4a
Automation: Adds new changelog actions ( #29142 )
...
* Automation: Adds new changelog actions
* Update
* Add newline
* added link
* Another fix
2020-11-16 21:34:19 +01:00
Emil Hessman
8c7e7e6d22
Chore: Rewrite preferences test from GoConvey to stdlib and testify ( #29129 )
2020-11-16 12:54:12 +01:00
Arve Knudsen
115f38f5c3
Chore: Upgrade Go dev tools ( #29124 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-16 07:50:39 +01:00
Torkel Ödegaard
a84fba5f9b
Automation: Adding version bump action
2020-11-15 11:50:43 +01:00
Ryan McKinley
88b59ae3c7
DataFrames: add utility function to check if structure has changed ( #29006 )
...
* add common flag for knowing if the structure changes
* remove property
* fix test
* fix test
* update comment
* fix jsdoc comments
2020-11-14 18:22:42 -08:00
Arve Knudsen
01df8f177c
Drone: Fix Drone config verification for enterprise on Windows ( #29118 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-14 11:44:56 +01:00
Emil Hessman
bdc6e2fe0a
Chore: Require OrgId to be specified in delete playlist command ( #29117 )
2020-11-14 09:49:07 +01:00
Arve Knudsen
fbf0d2c086
Plugin proxy: Handle URL parsing errors ( #29093 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-13 19:38:09 +01:00
Arve Knudsen
113e288668
Drone: Verify Drone config at beginning of pipelines ( #29071 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-13 19:28:46 +01:00
Torkel Ödegaard
28ce2f12ed
Legend/GraphNG: Refactoring legend types and options ( #29067 )
...
* Legend/GraphNG: Refactoring legend types and options
* Rename label
* Minor update
* Fixed legend placement crash issue
* remove unused
* Minor tweaks and fixes
2020-11-13 17:08:55 +01:00
Diana Payton
ec864f6461
Doc: Update documentation-style-guide.md ( #29082 )
...
* Update documentation-style-guide.md
* Update documentation-style-guide.md
2020-11-13 07:33:33 -08:00
Hugo Häggmark
1bdcd2f9ab
Chore: Bumps types for jest ( #29098 )
2020-11-13 14:48:11 +01:00
Andrej Ocenas
bbb1f72963
LogsPanel: Fix scrolling in dashboards ( #28974 )
2020-11-13 14:26:29 +01:00
Ivana Huckova
71df15738f
sort alphabetically unique labels, labels and parsed fields ( #29030 )
2020-11-13 14:17:00 +01:00
Arve Knudsen
e503188b6f
Data source proxy: Convert 401 from data source to 400 ( #28962 )
...
* Data source proxy: Convert 401 from data source to 400
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-13 13:21:43 +01:00
Timothy Palpant
fc7edab8fd
Plugins: Implement testDatasource for Jaeger ( #28916 )
...
* Implement testDatasource for Jaeger
* Unit tests
* Run prettier
2020-11-13 13:11:24 +01:00
Alex Khomenko
9e5f0a48f6
Update react-testing-library ( #29061 )
...
* Update react-testing-library
* Update package.json
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
* Update lockfile
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-11-13 12:55:19 +02:00
Torkel Ödegaard
dff451992d
Graph: Fixes stacking issues like floating bars when data is not aligned ( #29051 )
...
* Graph: Remove interpolation logic from graph stacking
* Improving tooltip
2020-11-13 10:32:08 +01:00
Torkel Ödegaard
01a4951da0
StatPanel: Fixes hanging issue when all values are zero ( #29077 )
...
* StatPanel: Fixes hanging issue when all values are zero
* Minor tweak
2020-11-13 10:28:03 +01:00
Will Browne
eba046d3cb
Auth: Enable more complete credential chain for SigV4 default SDK auth option ( #29065 )
...
* Force more complete credential chain for default auth option
* simplify
* allow assume role for default
2020-11-13 10:27:35 +01:00
Arve Knudsen
cb62e69997
Chore: Convert API tests to standard Go lib ( #29009 )
...
* Chore: Convert tests to standard Go lib
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2020-11-13 09:52:38 +01:00
Diana Payton
df8f63de7f
Update README.md ( #29075 )
2020-11-12 10:51:31 -08:00
Diana Payton
da24016da3
Update CODEOWNERS ( #28906 )
2020-11-12 09:53:44 -08:00
Sofia Papagiannaki
610fcba747
Enhance automation text for missing information ( #29052 )
...
Ask to follow the issue template
2020-11-12 19:00:54 +02:00
Torkel Ödegaard
a8c417f09d
GraphNG: Adding ticks test dashboard and improves tick spacing ( #29044 )
...
* GraphNG: Adding ticks test dashboard and improves tick spacing
* Added comments
* Trying to trigger CI
* Update
2020-11-12 17:23:05 +01:00
kay delaney
1bb61660f1
Chore: Migrate Dashboard List panel to React ( #28607 )
...
* Chore: Migrate Dashlist to React
Closes #28491
2020-11-12 16:21:09 +00:00
kay delaney
9659c98d61
Test Datasource/Bug: Fixes division by zero in csv metric values scenario ( #29029 )
...
Closes #8705
2020-11-12 16:20:08 +00:00
Arve Knudsen
8f9e5a839f
Plugins: Bring back coreplugin package ( #29064 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-12 17:16:04 +01:00
Tom Daly
18f3969fdb
Add 'EventBusName' dimension to CloudWatch 'AWS/Events' namespace ( #28402 )
2020-11-12 16:48:35 +02:00
Marcus Efraimsson
ded4be0435
CloudWatch: Add support for AWS/ClientVPN metrics and dimensions ( #29055 )
...
Fixes #28778
2020-11-12 15:47:02 +01:00
Sofia Papagiannaki
43f580c299
AlertingNG: manage and evaluate alert definitions via the API ( #28377 )
...
* Alerting NG: prototype v2 (WIP)
* Separate eval package
* Modify eval alert definition endpoint
* Disable migration if ngalert is not enabled
* Remove premature test
* Fix lint issues
* Delete obsolete struct
* Apply suggestions from code review
* Update pkg/services/ngalert/ngalert.go
Co-authored-by: Kyle Brandt <kyle@grafana.com>
* Add API endpoint for listing alert definitions
* Introduce index for alert_definition table
* make ds object for expression to avoid panic
* wrap error
* Update pkg/services/ngalert/eval/eval.go
* Swith to backend.DataQuery
* Export TransformWrapper callback
* Fix lint issues
* Update pkg/services/ngalert/ngalert.go
Co-authored-by: Kyle Brandt <kyle@grafana.com>
* Validate alert definitions before storing them
* Introduce AlertQuery
* Add test
* Add QueryType in AlertQuery
* Accept only float64 (seconds) durations
* Apply suggestions from code review
* Get rid of bus
* Do not export symbols
* Fix failing test
* Fix failure due to service initialization order
Introduce MediumHigh service priority and assign it to backendplugin
service
* Fix test
* Apply suggestions from code review
* Fix renamed reference
Co-authored-by: Kyle Brandt <kyle@grafana.com>
2020-11-12 15:11:30 +02:00
Arve Knudsen
a1e80af800
Fix linting issues ( #28811 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-12 13:25:14 +01:00
Domas
76df096791
Logging: Log frontend errors ( #28073 )
...
* basic frontend Sentry integration
* backend endpoint to capture sentry events
* WIP!
* log user email for frontend logs
* remove debug logging
* lint fixes
* Fix type exports & property names
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* additional struct naming fix
* rename log endpoint, config section & interface
* add sentry sample rate to config
* refac to use EchoSrv
* log user id
* backend tests
* tests for SentryEchoBackend
* sentry echo backend tests
* CustomEndpointTransport tests
* Update pkg/api/frontend_logging_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update conf/defaults.ini
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/api/frontend_logging_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* don't export unnecesasrily
* update go.sum
* get rid of Convey in tests, use stdlib
* add sentry config to sample.ini
* cleanup to set orig logging handler in test
* Apply suggestions from code review
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* PR feedback changes
* lock sentry version
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-12 12:29:43 +01:00
Sofia Papagiannaki
0c054d1a9f
Fix for multi-value template variable for project selector ( #29042 )
2020-11-12 11:03:51 +02:00
Emil Hessman
3519330166
Chore: Rewrite test helpers from GoConvey to stdlib ( #28919 )
2020-11-11 21:33:32 +01:00
Torkel Ödegaard
367e7b861b
GraphNG: Fixed axis measurements ( #29036 )
2020-11-11 20:23:46 +01:00
vishesh92
c93dfeaac4
Fix links to logql docs ( #29037 )
2020-11-11 20:00:47 +01:00
Leonard Gram
d6578ac081
latest 7.3.2 ( #29041 )
2020-11-11 18:58:14 +01:00
Chris Cowan
4ed7612e57
Elasticsearch: Add Moving Function Pipeline Aggregation ( #28131 )
...
* Elasticsearch: Add Moving Function Pipeline Aggregation
* Removing support for moving average in 7.x
* Fixing getMetricAggTypes to handle undefined esVersion
* Adding moving_fn to go code
* Update public/app/plugins/datasource/elasticsearch/metric_agg.ts
Co-authored-by: Giordano Ricci <grdnricci@gmail.com>
* Adding test for esversion 70
* Removing default value for script, adding placeholder instead
* Fixing formatting
* Adding code for handling missing or obsolete aggregations
Co-authored-by: Giordano Ricci <grdnricci@gmail.com>
2020-11-11 17:42:28 +00:00
Leonard Gram
af8589a4ba
changelog 7.3.2 ( #29038 )
2020-11-11 18:37:23 +01:00
Torkel Ödegaard
040cfe074f
MutableDataFrame: Remove unique field name constraint and values field index and unused/seldom used stuff ( #27573 )
...
* MutableDataFrame needs work
* Updated users of values
* Update test
* Fixed ts issue
* Updated tests
2020-11-11 18:21:51 +01:00
Ivana Huckova
5940250480
Fix prometheus docs related to query variable ( #29027 )
2020-11-11 15:47:18 +01:00
Valentin Agachi
2c724e0aa2
Explore: support ANSI colors in live logs ( #28895 )
...
Closes #28893
Co-authored-by: Ivana <ivana.huckova@gmail.com>
2020-11-11 14:58:45 +01:00