mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-21 13:23:07 +01:00
chore: adds shell to analytics (#3891)
This commit is contained in:
@@ -19,6 +19,7 @@ func StartEvent(args Args, mode string, client container.Client, subCommand stri
|
|||||||
RemoteClients: len(args.RemoteHost),
|
RemoteClients: len(args.RemoteHost),
|
||||||
SubCommand: subCommand,
|
SubCommand: subCommand,
|
||||||
HasActions: args.EnableActions,
|
HasActions: args.EnableActions,
|
||||||
|
HasShell: args.EnableShell,
|
||||||
HasCustomAddress: args.Addr != ":8080",
|
HasCustomAddress: args.Addr != ":8080",
|
||||||
HasCustomBase: args.Base != "/",
|
HasCustomBase: args.Base != "/",
|
||||||
HasHostname: args.Hostname != "",
|
HasHostname: args.Hostname != "",
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ type BeaconEvent struct {
|
|||||||
HasHostname bool `json:"hasHostname"`
|
HasHostname bool `json:"hasHostname"`
|
||||||
RunningContainers int `json:"runningContainers"`
|
RunningContainers int `json:"runningContainers"`
|
||||||
HasActions bool `json:"hasActions"`
|
HasActions bool `json:"hasActions"`
|
||||||
|
HasShell bool `json:"hasShell"`
|
||||||
IsSwarmMode bool `json:"isSwarmMode"`
|
IsSwarmMode bool `json:"isSwarmMode"`
|
||||||
ServerVersion string `json:"serverVersion"`
|
ServerVersion string `json:"serverVersion"`
|
||||||
ServerID string `json:"serverID"`
|
ServerID string `json:"serverID"`
|
||||||
|
|||||||
Reference in New Issue
Block a user