We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6f7504 commit 6721173Copy full SHA for 6721173
cli/root.go
@@ -440,8 +440,9 @@ func telemetryInvocation(i *clibase.Invocation) telemetry.CLIInvocation {
440
})
441
}
442
return telemetry.CLIInvocation{
443
- Command: i.Command.FullName(),
444
- Options: topts,
+ Command: i.Command.FullName(),
+ Options: topts,
445
+ InvokedAt: time.Now(),
446
447
448
coderd/telemetry/telemetry.go
@@ -883,6 +883,8 @@ type CLIOption struct {
883
type CLIInvocation struct {
884
Command string `json:"command"`
885
Options []CLIOption `json:"options"`
886
+ // InvokedAt is provided for deduplication purposes.
887
+ InvokedAt time.Time `json:"invoked_at"`
888
889
890
type noopReporter struct{}
0 commit comments