Ilya Stoliar
8ca28de305
CloudWatch: Added AWS ServiceCatalog metrics and dimensions ( #25812 )
2020-06-25 01:26:41 +02:00
Ilya Stoliar
1e38a24b88
CloudWatch: Added AWS MediaStore metrics and dimensions ( #25492 )
...
* CloudWatch: Added AWS MediaStore metrics and dimensions
* Camel case dimensions
Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com >
2020-06-24 11:06:57 +03:00
Ryan McKinley
740a9ad5f9
InfluxDB: support aggregate results ( #25726 )
2020-06-22 13:44:41 -07:00
Ryan McKinley
8d1ed33e20
InfluxDB: different config UI for 1x vs 2x ( #25723 )
2020-06-22 13:03:34 -07:00
Ryan McKinley
05ed781184
InfluxDB: use released client 1.3.0 ( #25725 )
2020-06-22 10:19:26 -07:00
Agnès Toulet
b5b019dfcf
Notifications: fix reply-to option for emails ( #25748 )
2020-06-22 18:56:49 +02:00
Carl Bergquist
703f728c0c
Dashboards: Make path to default dashboard configurable ( #25595 )
...
Closes #25463
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com >
2020-06-22 18:00:39 +02:00
Marcus Efraimsson
cc95754e0d
Provisioning: Adds support for enabling app plugins ( #25649 )
...
Adds support for enabling app plugins using provisioning.
Ref #11409
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com >
2020-06-22 17:49:13 +02:00
Marcus Efraimsson
58cefe73ee
Datasources: Handle URL parsing error ( #25742 )
...
Adds handling of error returned from URL parsing.
Fixes #25714
2020-06-22 16:34:40 +02:00
Kyle Brandt
36fd746c5d
Influx/flux: include interpolated query with error ( #25665 )
...
with execution errors, return a Frame that has Meta.ExecutedQueryString.
2020-06-18 07:45:55 -04:00
Arve Knudsen
ea2bb7036c
Auth proxy: Ignore stale cache entries ( #23979 )
...
* Auth proxy: Retry without cache if failing to get user
2020-06-17 18:43:16 +02:00
Torkel Ödegaard
d6ed8c522c
Dashboard: Redirects for old edit & view panel urls ( #25653 )
2020-06-17 12:51:41 +02:00
Arve Knudsen
d352c213b3
API: Recognize MSSQL data source URLs ( #25629 )
...
* API: Recognize MSSQL URLs
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Move MSSQL URL validation into mssql package
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-06-17 11:17:11 +02:00
Emil Tullstedt
80e9546cec
Settings: Add setting for hiding version number for anonymous users ( #24919 )
...
* Settings: Add setting for hiding version number for anonymous users
Fixes #12925
* Hide version string from footer when unavailable
* Settings: Test frontend settings with hide version for anonymous users
* Settings: Add hide version variable to frontend settings
* Make AnonymousHideVersion non-global
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Settings: Improve test neighbor friendliness, reset state before and after
* Settings: Use T.Cleanup
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-06-17 07:39:50 +02:00
Sofia Papagiannaki
fefbbc65a8
Auth: Add support for forcing authentication in anonymous mode and modify SignIn to use it instead of redirect ( #25567 )
...
* Forbid additional redirect urls
* Optionally force login in anonymous mode
* Update LoginCtrl page to ignore redirect parameter
* Modify SignIn to set forceLogin query instead of redirect
* Pass appUrl to frontend and use URL API for updating url query
* Apply suggestions from code review
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix SignIn test
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-06-16 16:33:44 +03:00
Alex Ashley
4aff2d7469
Stackdriver: Use default project name if project name isn't set on the query ( #25413 )
...
* Get default project if not defined on query
* Log when using default project name
* Set query result error
2020-06-16 14:08:35 +03:00
kay delaney
b1dee9392b
CloudWatch Logs: "limit" query command now respected ( #25486 )
...
Closes #25182
2020-06-15 11:29:04 +01:00
Marcus Efraimsson
bd8a04a6a5
InfluxDB: Fix invalid memory address or nil pointer dereference when schema is missing in URL ( #25565 )
...
Add guard if parsing url fails in influxdb backend data source.
Fixes #25242
2020-06-12 16:04:09 +02:00
Robbert Gurdeep Singh
034abaa73a
Security: Use Header.Set and Header.Del for X-Grafana-User header ( #25495 )
...
This ensures that the X-Grafana-User header can be trusted.
If the configuration enabled the setting of this header, the
server can now trust that X-Grafana-User is set/unset by Grafana.
Before this, an anonymous user could simply set the X-Grafana-User
header themselves (using the developer tool for example)
2020-06-11 21:15:17 +02:00
Marcus Efraimsson
c0f3b2929c
Backend plugins: Refactor to allow shared contract between core and external backend plugins ( #25472 )
...
Refactor to allow shared contract between core and external backend plugins
allowing core backend data sources in Grafana to be implemented in same
way as an external backend plugin.
Use v0.67.0 of sdk.
Add tests for verifying plugin is restarted when process is killed.
Enable strict linting for backendplugin packages
2020-06-11 16:14:05 +02:00
Ryan McKinley
5f1f820bb9
Influx: Support flux in the influx datasource ( #25308 )
...
* add flux
* add token to datasource config editor
* add backend for flux
* make the interpolated query available in query inspector
* go mod tidy
* Chore: fixes a couple of strict null errors in influxdb plugin
Co-authored-by: kyle <kyle@grafana.com >
Co-authored-by: Lukas Siatka <lukasz.siatka@grafana.com >
2020-06-10 15:26:24 -04:00
Emil Tullstedt
e8b5f2330d
Settings: Expand variables in configuration ( #25075 )
2020-06-10 14:58:42 +02:00
Marcus Efraimsson
53175a41c9
Make tsdb dataframes response able to carry encoded/decoded frames ( #25454 )
...
Make tsdb dataframes response able to carry encoded and/or decoded frames
2020-06-09 13:13:06 +02:00
mikkokupsu
de1dc57242
CloudWatch: Added AWS WAFV2 metrics ( #24048 )
...
* Add metrics and dimensions for AWS/WAFV2
* Update pkg/tsdb/cloudwatch/metric_find_query.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix metric names
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-06-09 09:51:02 +03:00
Kyle Brandt
ef61a64c46
Azure Monitor: Log Analytics response to data frames ( #25297 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2020-06-05 12:32:10 -04:00
Ilya Stoliar
cb78104db5
CloudWatch: Added AWS SDKMetrics metrics and dimensions ( #25150 )
...
* CloudWatch: Added AWS SDKMetrics metrics and dimensions
2020-06-05 10:10:38 +03:00
Marcus Efraimsson
ba953be95f
Only allow 32 hexadecimal digits for the avatar hash ( #25322 )
...
(cherry picked from commit 7a9c0e31ec )
2020-06-03 15:56:13 +02:00
Alexander Zobnin
c4eca530ce
Fix active LDAP sync ( #25321 )
...
* LDAP: sync only users with 'ldap' module as a most recent auth module
* LDAP: tests for searching ldap users
2020-06-03 16:28:13 +03:00
Sofia Papagiannaki
467348bded
Cloudwatch: Fix dimensions of of DDoSProtection ( #25317 )
2020-06-03 12:58:05 +03:00
Kyle Brandt
17d3bb4287
backend: use latest Go sdk ( #25304 )
...
* uses plugin-sdk-go v0.66.0, which adds adds the ExecutedQueryString property to FrameMeta and changes s/Title/DisplayName in FieldConfig
* go mod tidy
2020-06-03 04:03:37 -04:00
Sofia Papagiannaki
1e543d5ac1
Alerting: Ignore obsolete notification channels referenced by alerts ( #25302 )
...
* Ignore obsolete notification channel
* Fix tests
* Update pkg/services/alerting/rule.go
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
2020-06-02 19:33:13 +03:00
Josh Soref
e4fcc39e55
Chore: spelling in Go code ( #24433 )
2020-06-02 14:42:34 +02:00
Kevin Retzke
51d1261a4b
Elasticsearch: Adds cumulative sum aggregation support ( #24820 )
...
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
2020-06-01 23:55:15 +02:00
Kyle Brandt
376a9d35e4
Azure Monitor: Change response to be dataframes ( #25123 )
...
note: This is just Azure Monitor within the Azure Monitor datasource (not insights, insights analytics, or log analytics yet).
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2020-06-01 12:37:39 -04:00
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
Ryan McKinley
2a6ac88a73
QueryInspector: add common way to show the raw query ( #25204 )
2020-05-29 11:06:33 -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
Carl Bergquist
328ea80cca
switches default value for security settings ( #25175 )
...
closes #25163
2020-05-28 10:38:22 +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
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
Andrew Burian
a0e5f51d05
Alerting: Remove message from PagerDuty summary field ( #24813 )
...
closes #16930
2020-05-25 21:01:29 +02:00
Sofia Papagiannaki
1e4e2642bf
Fix AWS WAF and AWS DDoSProtection metrics ( #25071 )
2020-05-25 18:14:28 +03:00
ilyastoli
6a7cbd968f
CloudWatch: Added AWS DataSync metrics and dimensions ( #25054 )
...
* CloudWatch: Added AWS DataSync metrics and dimensions
2020-05-25 16:05:52 +03:00
kay delaney
e1f4287f70
Datasource/CloudWatch: Better handling of stats grouping ( #24789 )
...
* Datasource/CloudWatch: Better handling of stats grouping
2020-05-21 15:18:09 +01:00
Victor Coutellier
3a0f2dc160
Alerting: Adds support for multiple URLs in Alertmanager notifier ( #24196 )
...
* Alerting: Adds support for multiple URLs in Alertmanager notifier
Adds support for multiple URLs in Alertmanager notifier following
alertmanager documentation for high availability setup.
Update the documentation for alertmanager notifier.
Closes #24195
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com >
Co-authored-by: bergquist <carl.bergquist@gmail.com >
2020-05-20 08:49:53 +02:00
Carl Bergquist
c62591e77b
Provisioning: Makes file the default dashboard provisioner type ( #24856 )
...
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-05-19 15:01:04 +02:00
Rob Russo
9fa551cc32
Alerting: updating the victorops alerter to handle the no_data alert type ( #23761 )
2020-05-19 09:58:57 +02:00
Agnès Toulet
e79b2a3f66
Core: add location option to parse timerange ( #24796 )
...
* Core: add location option to parse timerange
* Extensions: add go-datemath to not break Enterprise
2020-05-19 08:52:43 +02:00