Files
coder/cli/telemetry/telemetry.go
Mathias Fredriksson adba421524 refactor(coderd/telemetry): move CLI telemetry to cli/telemetry (#9517)
This change removes an indirect import of `coderd/database` from the
slim binary.

No size change (yet).

Ref: #9380
2023-09-04 21:42:45 +03:00

16 lines
326 B
Go

package telemetry
import "time"
type Option struct {
Name string `json:"name"`
ValueSource string `json:"value_source"`
}
type Invocation struct {
Command string `json:"command"`
Options []Option `json:"options"`
// InvokedAt is provided for deduplication purposes.
InvokedAt time.Time `json:"invoked_at"`
}