feat: added os to stats

This commit is contained in:
Torkel Ödegaard 2017-08-09 07:20:37 +02:00
parent a47b31ac62
commit 26ad025705

View File

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