Marcus Efraimsson
8a5cb088d3
Merge branch 'master' into readonly_dashboards
2018-04-17 10:50:04 +02:00
Dan Cech
e07de80b75
Fix issues with metric reporting ( #11518 )
...
* report active users in graphite stats
* use bus to publish system stats
* metrics: avoid using events unless we have to
this commit also changes the default interval
for updating the stats gauges. Seems like the old values
was a product of previous metrics implementation
2018-04-17 10:20:01 +02:00
Marcus Efraimsson
92768d5a2b
Merge branch 'master' into dashboard-acl-ux2
2018-04-17 09:19:36 +02:00
Carl Bergquist
ea56288f4a
Merge pull request #11611 from mjtrangoni/fix-unconvert-issues
...
fix unconvert issues
2018-04-17 09:06:39 +02:00
Sven Klemm
5dc36afe71
calculate datetime for timeFrom and timeTo macro in go
2018-04-16 23:02:24 +02:00
Marcus Efraimsson
bc8353ae14
Merge branch 'master' into dashboard-acl-ux2
2018-04-16 21:19:01 +02:00
Mario Trangoni
ce941a004d
fix unconvert issues
2018-04-16 20:04:58 +02:00
Sven Klemm
a2a7d3d436
add GetFromAsTimeUTC and GetToAsTimeUTC and use them in timeFilter macro
2018-04-16 19:38:35 +02:00
Sven Klemm
7ab0a54f4b
Merge remote-tracking branch 'upstream/master' into postgres-timefilter-macro
2018-04-16 19:23:08 +02:00
Daniel Lee
34455c0598
Merge pull request #11583 from grafana/11556-org-switch-order
...
ordered user orgs alphabeticaly
2018-04-16 17:09:36 +02:00
Daniel Lee
bb7a6a0153
Merge pull request #11595 from kichristensen/DeleteEmptyPlaylist
...
Support deleting empty playlist
2018-04-16 17:06:59 +02:00
David
ed44face0e
Merge pull request #11605 from grafana/davkal/show-version-in-help
...
Show Grafana version and build in Help menu
2018-04-16 16:58:18 +02:00
David Kaltschmidt
5a29c17282
moved version in help menu to top
2018-04-16 16:25:28 +02:00
David Kaltschmidt
712212d6aa
Show Grafana version and build in Help menu
...
* establishes Help as the single place to look for the Grafana version
* version is passed as menu sub-title to side menu
* added rendering of sub-title, plus styles
* sub-title was used by profile menu (its value is the login string),
but was not shown; now showing this value on condition that login name
is different from user name
2018-04-16 13:37:05 +02:00
Daniel Lee
9337972a0f
sqlds: fix text in comments for tests
2018-04-16 12:55:27 +02:00
Daniel Lee
ee303c03e9
Merge pull request #11550 from grafana/sql_ts_precision
...
sql tsdb: fix precision and data type support for time columns
2018-04-16 11:04:46 +02:00
Carl Bergquist
a140296633
Merge pull request #11594 from xginn8/writable_plugins
...
Grafana-CLI: mention the plugins directory is not writable on failure
2018-04-16 09:27:19 +02:00
Daniel Lee
67daa9b058
Merge pull request #11588 from mjtrangoni/fix-codespell-issues
...
Fix codespell issues
2018-04-16 09:12:49 +02:00
Sven Klemm
6d3da9a73d
remove postgresversion and convert unix timestamp in go
2018-04-15 22:14:13 +02:00
Kim Christensen
7534f0bff6
Support deleting empty playlist
2018-04-15 21:37:34 +02:00
Matthew McGinn
ee623e2091
Grafana-CLI: mention the plugins directory is not writable on failure
2018-04-15 13:44:59 -04:00
Sven Klemm
9b61ffb48a
make timefilter macro aware of pg version
2018-04-15 18:38:20 +02:00
Daniel Lee
d70cacc364
Merge pull request #11532 from ryantxu/sql-uint64
...
PostgreSQL should not cast all times to uint64
2018-04-14 17:56:39 +02:00
Mario Trangoni
91fb2e07ce
pkg: fix codespell issues
2018-04-13 20:31:29 +02:00
Daniel Lee
9413ce5ef6
Merge pull request #8096 from ryantxu/influx-db-query2
...
let the influxdb API set a database
2018-04-13 18:22:12 +02:00
Marcus Efraimsson
ff4e38c1d8
provisioned dashboard validation should be made when importing a dashboard
...
Had to add the validate before save command before validating provisioned dashboard
so that the import would get a proper dashboard id
2018-04-13 17:54:41 +02:00
Marcus Efraimsson
79d8937ce5
provisioned dashboard validation should not be made from provisioning service
...
Provisioned dashboard validation should not be made when creating/updating a folder or
when provisioning service are trying to provision/create/update dashboard
2018-04-13 17:45:32 +02:00
Marcus Efraimsson
4f44376564
remove comment/unused variable
2018-04-13 17:11:52 +02:00
Marcus Efraimsson
4a26797cdd
Merge branch 'master' into readonly_dashboards
2018-04-13 17:03:00 +02:00
Patrick O'Carroll
9ad8a77a21
ordered user orgs alphabeticaly fixes #11556
2018-04-13 14:53:36 +02:00
Marcus Efraimsson
a86ee304ff
tsdb: remove unnecessary type casts in sql data sources macro engines
2018-04-12 19:08:35 +02:00
Marcus Efraimsson
f5586b1270
tsdb: sql data sources should handle time ranges before epoch start correctly
2018-04-12 18:53:12 +02:00
Marcus Efraimsson
a3874ce2c7
Merge branch 'master' into sql-uint64
2018-04-12 18:49:27 +02:00
flopp999
74f570fdf4
change annotation limit from 10 to 100
2018-04-12 17:38:10 +02:00
bergquist
93e1546f73
alerting: handle invalid json format
...
closes #11003
2018-04-10 22:22:12 +02:00
Marcus Efraimsson
6cb891dca8
mysql: use a datetime column with microsecond precision in test
2018-04-10 16:37:39 +02:00
Marcus Efraimsson
97f67ddcb8
tsdb: improved floating point support when converting sql time column to epoch (ms)
2018-04-10 16:36:00 +02:00
bergquist
f424d13b53
provisioning: dont override permissions
2018-04-10 12:35:06 +02:00
bergquist
949484b949
provisioning: simplify db query
...
the GetProvisionedDashboardQuery wasent used for anything
else than check if a dashboard is provisioned or not. So
we simplified this query to make it more maintainable.
2018-04-10 12:30:37 +02:00
Marcus Efraimsson
9d84e6f31f
mssql: fix precision for time columns in time series query mode
2018-04-10 11:10:56 +02:00
Marcus Efraimsson
0317ecbf0d
postgres: support running multiple postgres integration tests
...
Makes it possible to run mysql integration tests for both
grafana config db and tsdb at the same time using
GRAFANA_TEST_DB=postgres go test ./pkg/...
2018-04-10 11:08:30 +02:00
Marcus Efraimsson
1783c534fd
postgres: fix precision for time columns in time series query mode
2018-04-10 11:07:01 +02:00
Marcus Efraimsson
af62646624
mysql: fix precision for time columns in time series query mode
2018-04-10 11:01:43 +02:00
Marcus Efraimsson
5c120c2c11
mysql: mysql tests should use a db server with UTC
...
To get rid of issues involving date/time when testing.
Also, makes it possible to run mysql integration tests for both
grafana config db and tsdb at the same time using
GRAFANA_TEST_DB=mysql go test ./pkg/...
2018-04-10 10:58:45 +02:00
bergquist
0f9b592428
provisioning: fixes broken tests
2018-04-10 10:48:10 +02:00
Marcus Efraimsson
a314890f89
tsdb: add support for more data types when converting sql time column to epoch (ms)
2018-04-10 10:33:23 +02:00
bergquist
77e7887e5e
provisioning: check provisiong before saveCmd
2018-04-10 09:35:54 +02:00
bergquist
7845eab502
provisioning: fixes typo
2018-04-10 09:32:05 +02:00
bergquist
bcbe7a1c55
provisioning: adds error handling
2018-04-10 09:31:35 +02:00
ryan
1c9ebd5bd8
fix test
2018-04-09 14:01:09 +02:00