feat(instrumentation): added meter, histogram and new timer, timer now send p25, p75, p90, p99 percentiles in 1000 sample exp decaying sample

This commit is contained in:
Torkel Ödegaard
2016-06-03 12:50:51 +02:00
parent 86f0007768
commit eee49a4995
20 changed files with 2133 additions and 226 deletions
+2 -1
View File
@@ -58,13 +58,13 @@ func main() {
flag.Parse()
writePIDFile()
initRuntime()
metrics.Init()
search.Init()
login.Init()
social.NewOAuthService()
eventpublisher.Init()
plugins.Init()
metrics.Init()
if err := notifications.Init(); err != nil {
log.Fatal(3, "Notification service failed to initialize", err)
@@ -87,6 +87,7 @@ func initRuntime() {
log.Info("Starting Grafana")
log.Info("Version: %v, Commit: %v, Build date: %v", setting.BuildVersion, setting.BuildCommit, time.Unix(setting.BuildStamp, 0))
setting.LogConfigurationInfo()
sqlstore.NewEngine()