From 77f771c656277174c31268ed86ba3aae9a3f9c04 Mon Sep 17 00:00:00 2001 From: Cole Snodgrass Date: Mon, 29 Apr 2024 11:15:48 -0700 Subject: [PATCH] fix: capture version as both `build` and `script_version` (#15) --- internal/telemetry/segment.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/telemetry/segment.go b/internal/telemetry/segment.go index 1e7e2fa..22be8fc 100644 --- a/internal/telemetry/segment.go +++ b/internal/telemetry/segment.go @@ -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),