Skip to content

Commit

Permalink
fix: capture version as both build and script_version (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
colesnodgrass authored Apr 29, 2024
1 parent e783a8b commit 77f771c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/telemetry/segment.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ func (s *SegmentClient) send(es EventState, et EventType, ee error) error {
"state": string(es),
"os": runtime.GOOS,
"build": build.Version,
"script_version": build.Version,
"cpu_count": strconv.Itoa(runtime.NumCPU()),
"mem_total_bytes": strconv.FormatUint(memory.TotalMemory(), 10),
"mem_free_bytes": strconv.FormatUint(memory.FreeMemory(), 10),
Expand Down

0 comments on commit 77f771c

Please sign in to comment.