Merge branch 'v4.4.x'

This commit is contained in:
Torkel Ödegaard 2017-08-09 07:20:52 +02:00
commit eac0d30e99

View File

@ -4,6 +4,7 @@ import (
"bytes" "bytes"
"encoding/json" "encoding/json"
"net/http" "net/http"
"runtime"
"strings" "strings"
"time" "time"
@ -86,6 +87,8 @@ func sendUsageStats() {
report := map[string]interface{}{ report := map[string]interface{}{
"version": version, "version": version,
"metrics": metrics, "metrics": metrics,
"os": runtime.GOOS,
"arch": runtime.GOARCH,
} }
statsQuery := m.GetSystemStatsQuery{} statsQuery := m.GetSystemStatsQuery{}