1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-21 11:35:00 +01:00

chore: adds shell to analytics (#3891)

This commit is contained in:
Amir Raminfar
2025-05-15 08:21:53 -07:00
committed by GitHub
parent c273cb5320
commit 66b0dfe280
2 changed files with 2 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ func StartEvent(args Args, mode string, client container.Client, subCommand stri
RemoteClients: len(args.RemoteHost),
SubCommand: subCommand,
HasActions: args.EnableActions,
HasShell: args.EnableShell,
HasCustomAddress: args.Addr != ":8080",
HasCustomBase: args.Base != "/",
HasHostname: args.Hostname != "",

View File

@@ -12,6 +12,7 @@ type BeaconEvent struct {
HasHostname bool `json:"hasHostname"`
RunningContainers int `json:"runningContainers"`
HasActions bool `json:"hasActions"`
HasShell bool `json:"hasShell"`
IsSwarmMode bool `json:"isSwarmMode"`
ServerVersion string `json:"serverVersion"`
ServerID string `json:"serverID"`