compose-cli/cli/server
Milas Bowman 784377898f metrics: track and report non-aggregated events
Currently, "usage" reports are sent, which are aggregated.
Add "event" variant, which won't be aggregated.

For compatibility, the "usage" events remain and nothing has
changed in terms of how they parse the command args, for example.
This will ensure continued functioning of anything that relies
on these metrics.

For the "event" variants, the CLI parsing is slightly different
in an attempt to improve data analysis capabilities while still
being respectful of user privacy (i.e. only known values of Docker
CLI commands/flags are ever recorded). Additionally, execution
duration information is now reported with these events.

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2023-02-08 14:17:04 -05:00
..
protos lint: update for Go 1.19 / golangci-lint 1.50.1 2023-02-01 16:04:49 -05:00
proxy point to correct backend when switching context 2021-10-18 14:15:04 +02:00
contextserverstream.go Move server => cli 2021-01-15 15:32:21 +01:00
interceptor.go point to correct backend when switching context 2021-10-18 14:15:04 +02:00
interceptor_test.go lint: update for Go 1.19 / golangci-lint 1.50.1 2023-02-01 16:04:49 -05:00
metrics.go metrics: track and report non-aggregated events 2023-02-08 14:17:04 -05:00
metrics_test.go metrics: track and report non-aggregated events 2023-02-08 14:17:04 -05:00
server.go metrics: add debug implementation 2023-02-02 09:20:32 -05:00
socket_unix.go Go 1.18 2022-07-24 00:49:08 +02:00
socket_windows.go Go 1.18 2022-07-24 00:49:08 +02:00