Commit 26ad0257 by Torkel Ödegaard

feat: added os to stats

parent a47b31ac
...@@ -4,6 +4,7 @@ import ( ...@@ -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() { ...@@ -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{}
......
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