bergquist
f7ed24475c
wait for all sub routines to finish
...
simple solution for waiting for all go sub routines to
finish before closing Grafana. We would use errGroup
here as well but I dont like spreading context's all
over the place.
closes #10131
2017-12-11 08:53:06 +01:00
bergquist
d69b63cbc0
dashboards as cfg: read first cfg version
2017-12-07 15:27:01 +01:00
bergquist
17bf87fb62
typo 💥
2017-12-01 14:05:47 +01:00
bergquist
7a497fd617
move systemd ready notification to server.go
2017-12-01 14:02:05 +01:00
Johannes Grassler
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
bergquist
6267ef1391
datasource as cfg: fixes typos
2017-11-15 14:30:32 +01:00
bergquist
ebbfc529e0
datasource as cfg: support globbing
2017-11-15 14:30:32 +01:00
bergquist
665df676a5
datasource as cfg: rename feature to provisioning
2017-11-15 14:30:32 +01:00
bergquist
c9bfa781fd
datasource as cfg: improve name for this feature
2017-11-15 14:30:32 +01:00
bergquist
930da63173
datasource as cfg: setting for purging datasources not in cfg
2017-11-15 14:30:32 +01:00
bergquist
39b6c04643
datasource as cfg: basic implementation
2017-11-15 14:30:32 +01:00
bergquist
dea631bedc
tech: remove rabbitmq event publisher
...
closes #9645
2017-10-24 14:10:23 +02:00
bergquist
a234e894bb
makes jaeger tracing configurable
2017-09-18 11:08:58 +02:00
bergquist
2e350bbb8e
adds basic traces using open traces
2017-09-18 11:08:58 +02:00
bergquist
6b1ae1a8a8
use internal init for settings
2017-09-14 14:26:32 +02:00
bergquist
788f677ed7
remove old internal metrics lib
2017-09-14 14:26:32 +02:00
Torkel Ödegaard
284cacf560
logging: write pid file path and pid during startup
2017-09-04 12:44:54 +02:00
Torkel Ödegaard
c3cffeb10c
packaging: fixed issue with pid file on systemd systems, fixes #9133
2017-09-04 10:43:04 +02:00
bergquist
cf871b1284
http: close http server gracefully.
2017-02-17 10:33:47 +01:00
bergquist
52566376b2
tech(server): remove unused code
2017-02-17 10:18:11 +01:00
Torkel Ödegaard
8a95c563bb
Merge branch 'master' into websocket
2017-01-31 08:56:49 +01:00
Torkel Ödegaard
40d39f8a3e
refactor(): renaming alerting hide ui option, #7318
2017-01-25 13:32:26 +01:00
Torkel Ödegaard
fad07f0d15
refactor(http): refactoring http server
2016-12-21 14:36:32 +01:00
bergquist
04f417a423
feat(alerting): enabled by default. configurable elert engine
...
closes #6210
2016-10-10 13:09:16 +02:00
bergquist
36f0bf0e1e
chore(web): Improve error message for invalid SSL configuration
2016-10-03 08:47:36 +02:00
Torkel Ödegaard
2c4524bbfd
fix(logging): minor logging fix
2016-09-30 13:25:54 +02:00
Torkel Ödegaard
24a25453f6
fix(server): shutdown logging fixes
2016-09-30 10:18:19 +02:00
Torkel Ödegaard
86b546c21d
refactor(main): refactoring main grafana server / startup code
2016-09-30 08:36:20 +02:00