2629 Commits

Author SHA1 Message Date
cb15d9cbdd add missing value fill code to mysql datasource 2017-12-10 19:50:01 +01:00
6cdd901ec6 fix typo 2017-12-10 12:40:09 +01:00
c1282e8ea8 implement missing value fill functionality for postgres 2017-12-10 11:42:55 +01:00
e2a3590d8b allow optional 3rd argument to timeGroup to control filling missing
values
2017-12-10 09:59:33 +01:00
b86a42fffe pass tsdbQuery to transformToTimeSeries and transformToTable to get
access to selected frontend timerange
2017-12-09 20:35:00 +01:00
b6df91d56b pass Query to MacroEngine Interpolate 2017-12-08 23:30:33 +01:00
2408d8f09a Merge pull request #10112 from adiletmaratov/master
Solves problem with Github authentication restriction by organization
2017-12-08 16:05:27 +01:00
ce809de1ed postgres: change $__timeGroup macro to include "AS time" column alias (#10119)
* change $__timeGroup macro to include column alias

* update docs and help text for $__timeGroup macro
2017-12-08 15:14:10 +01:00
0c5ef1453d fixes broken test 2017-12-08 11:33:15 +01:00
5f5cdad97a improve error handling for datasources as cfg 2017-12-08 10:50:11 +01:00
5aab6b5c20 removes last pieces of dashboard.json 2017-12-07 16:26:07 +01:00
2e610cb256 dashboards as cfg: move dash/ds config files to /provisioning/* 2017-12-07 15:27:01 +01:00
361acd3fa1 dashboards as cfg: include cfg files in dist packages 2017-12-07 15:27:01 +01:00
1dfa529941 dashboards as cfg: avoid walking fs in parallel 2017-12-07 15:27:01 +01:00
b28ea0b407 dashboards as cfg: type 2017-12-07 15:27:01 +01:00
099178466d dashboards as cfg: wire up dashboard repo 2017-12-07 15:27:01 +01:00
288cc35529 dashboards as cfg: use gocache for caching 2017-12-07 15:27:01 +01:00
f5eac2e91d dashboards as cfg: expose dashboard service as interface 2017-12-07 15:27:01 +01:00
16f072b320 dashboards as cfg: move saving logic for dashboards into its own service 2017-12-07 15:27:01 +01:00
9cebb23e01 dashboards as cfg: revert minor changes 2017-12-07 15:27:01 +01:00
74e12c260f dashboards as cfg: move dashboard saving into its own service 2017-12-07 15:27:01 +01:00
09cb0f378b dashboards as cfg: minor tweaks 2017-12-07 15:27:01 +01:00
93e1d8a19c dashboards as cfg: make dashboard none editable by default 2017-12-07 15:27:01 +01:00
7f3a7ea128 dashboards as cfg: more tests 2017-12-07 15:27:01 +01:00
dc0fb8be06 dashboards as cfg: code cleanup 2017-12-07 15:27:01 +01:00
d69b63cbc0 dashboards as cfg: read first cfg version 2017-12-07 15:27:01 +01:00
50daf7463d Solves problem with Github authentication restriction by organization membership when the organization's access policy is set to "Access restricted". "Access restricted" policy should not stop user to authenticate.
How it is solved:
* Take organizations_url field data from user basic data response
* Make another request to get all organization the user is a member of (public membership)
* Authenticate user if appropriate organization found in that list
2017-12-07 16:13:49 +06:00
c80eadcdf4 handle native postgres datetime types in annotation queries (#9986) 2017-12-06 18:12:24 +01:00
373389c920 treat any text column in timeseries query as metric name unless column (#9985)
named metric is present
2017-12-06 18:04:33 +01:00
35232a77e6 removes unused properties
the dsType property caused some confusion about what datasource is
beeing used. I just removed it since it not beeing used.

closes #10072
2017-12-05 08:26:43 +01:00
d6d64c53cd typo 💥 2017-12-01 16:23:55 +01:00
89fb60a956 Merge pull request #10020 from jomenxiao/master
fix render http[get] params error
2017-12-01 16:22:47 +01:00
9282182805 influxdb: pass tags to alerting from influxdb client
closes #10046
2017-12-01 16:16:49 +01:00
17bf87fb62 typo 💥 2017-12-01 14:05:47 +01:00
7a497fd617 move systemd ready notification to server.go 2017-12-01 14:02:05 +01:00
820abef82d Merge pull request #10025 from jgrassler/systemd-sdnotify
Use systemd notification where applicable
2017-12-01 13:26:13 +01:00
d28ca54129 Use systemd notification where applicable
With this change in place, the grafana service will signal
readiness to serve by writing "READY=1" to the path specified
through the NOTIFY_SOCKET environment variable. If this
environment variable is not present or empty, no notification
will happen. This notification is the standard systemd
mechanism for indicating a service is ready to serve. For
Grafana this may be a couple of seconds from startup due to
database migrations. This change also adjusts the Grafana
systemd service definition to make use of this feature.
2017-12-01 10:31:58 +01:00
68d4211c50 grafana-10039: fix query time range ends in the past 2017-11-30 15:50:35 +01:00
1e10fcad83 test: fix failing postgres test
Should use case insensitive matching when searching for users
2017-11-29 15:17:31 +01:00
554c7ba96f notifier: Fixes path for uploaded image for Slack notifier
Fixes #10012
2017-11-29 11:16:45 +01:00
3f95180c98 fix render http[get] params error 2017-11-28 22:20:22 +08:00
c0e087640b test: close file before deleting 2017-11-28 15:05:53 +01:00
658109e0d6 Optimized number of lines fetching in log file initialisation
Added unit tests for file logging line counting

Remove file after unit test
2017-11-22 14:25:39 +01:00
79e788e46f Merge pull request #9937 from saady/gcs-path
[GCS] Support for gcs path
2017-11-21 19:46:53 +01:00
767b460ff1 [GCS] Support for gcs path 2017-11-21 17:22:40 +00:00
3a772c7f7f allows head requests for /api/health endpoint
closes #9955
2017-11-21 15:03:04 +01:00
5dd9582520 mysql: add data source support for Azure MySql
Fixes #9649
2017-11-21 13:21:19 +01:00
0d12b37dfd fix: alert list panel now works correctly after adding manual annotation on dashboard, fixes #9951 2017-11-21 11:28:17 +01:00
0015183a7b Don't import JSON dashboards from hidden directories. 2017-11-17 17:21:49 +00:00
98b4074c16 refactoring: minor refactor of clean up dashboard history PR #9882 2017-11-17 14:41:44 +01:00