grafana/pkg/tsdb
Marcus Efraimsson 3de693af49
MySQL: Limit datasource error details returned from the backend (#19373)
Only return certain mysql errors from backend.
The following errors is returned as is from backend:
error code 1064 (parse error)
error code 1054 (bad column/field selected)
error code 1146 (table not exists)
Any other errors is logged and returned as a generic
error.
Restrict use of certain functions:
Do not allow usage of the following in query:
system_user()
session_user()
current_user() or current_user
user()
show grants

Fixes #19360
2019-09-24 20:50:49 +02:00
..
azuremonitor Azure Monitor: Revert support for cross resource queries (#19115)" (#19346) 2019-09-24 12:01:12 +02:00
cloudwatch CloudWatch: ContainerInsights metrics support (#18971) 2019-09-20 12:05:58 +03:00
elasticsearch Build: use golangci-lint as a make command (#17739) 2019-07-02 16:06:59 +03:00
graphite move log package to /infra (#17023) 2019-05-13 08:45:54 +02:00
influxdb move log package to /infra (#17023) 2019-05-13 08:45:54 +02:00
mssql MySQL: Limit datasource error details returned from the backend (#19373) 2019-09-24 20:50:49 +02:00
mysql MySQL: Limit datasource error details returned from the backend (#19373) 2019-09-24 20:50:49 +02:00
opentsdb move log package to /infra (#17023) 2019-05-13 08:45:54 +02:00
postgres MySQL: Limit datasource error details returned from the backend (#19373) 2019-09-24 20:50:49 +02:00
prometheus Prometheus: Preallocate data for Prometheus backend response parsing (#17490) 2019-06-10 08:12:46 +02:00
sqleng MySQL: Limit datasource error details returned from the backend (#19373) 2019-09-24 20:50:49 +02:00
stackdriver Stackdriver: Add extra alignment period options (#18909) 2019-09-13 10:45:59 +02:00
testdata TestData: attach labels to series results (#18653) 2019-08-21 07:50:13 -07:00
fake_test.go follow go idiom and return error as second param 2017-09-21 18:04:16 +02:00
interval_test.go azuremonitor: fix auto interval calculation on backend 2019-02-11 13:27:08 +01:00
interval.go interval: make the FormatDuration function public 2019-02-11 11:25:51 +01:00
models.go Alerting: Improve alert rule testing (#16286) 2019-06-25 08:52:17 +02:00
query_endpoint.go follow go idiom and return error as second param 2017-09-21 18:04:16 +02:00
request.go follow go idiom and return error as second param 2017-09-21 18:04:16 +02:00
time_range_test.go build: fix integer overflow in pkg/tsdb tests on 32bit platforms (#16818) 2019-05-06 09:27:45 +02:00
time_range.go Outdent code after if block that ends with return (golint) 2018-04-27 23:10:43 +02:00
tsdb_test.go follow go idiom and return error as second param 2017-09-21 18:04:16 +02:00