Commit 9c9ebb49 by Torkel Ödegaard

Updated server stats

parent d9875322
...@@ -6,7 +6,6 @@ import ( ...@@ -6,7 +6,6 @@ import (
"net/http" "net/http"
"time" "time"
"github.com/grafana/grafana/pkg/log"
"github.com/grafana/grafana/pkg/setting" "github.com/grafana/grafana/pkg/setting"
) )
...@@ -23,8 +22,6 @@ func StartUsageReportLoop() chan struct{} { ...@@ -23,8 +22,6 @@ func StartUsageReportLoop() chan struct{} {
} }
func sendUsageStats() { func sendUsageStats() {
log.Trace("Sending anonymous usage stats to stats.grafana.org")
metrics := map[string]interface{}{} metrics := map[string]interface{}{}
report := map[string]interface{}{ report := map[string]interface{}{
"version": setting.BuildVersion, "version": setting.BuildVersion,
...@@ -56,5 +53,5 @@ func sendUsageStats() { ...@@ -56,5 +53,5 @@ func sendUsageStats() {
client := http.Client{Timeout: time.Duration(5 * time.Second)} client := http.Client{Timeout: time.Duration(5 * time.Second)}
go client.Post("http://stats.grafana.org/grafana-usage-report", "application/json", data) go client.Post("https://stats.grafana.org/grafana-usage-report", "application/json", data)
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment