Add Pendo Track Events for Weave GitOps CLI
Part of #2452
-
Added tracking command events with Pendo.
-
Added a test for the
getCommandPathfunction. -
Refactored imports where both
cmd/gitops/importandpkg/configare imported for consistency.
Notes:
-
I've rebased on @joshri 's branch
auto-analytics( https://github.com/weaveworks/weave-gitops/pull/2868 ), so I'll need to wait until it is merged and rebase onmainbefore merging the current PR. -
You can view tracked events in Product > Track Events in the Pendo dashboard, but there is a delay before the events are displayed there.
I think you need to add the new ldflag(s) to .goreleaser.yml too, or only non-release binaries will have the tier set.
Added! 😅
@JamWils will update ACs and add an issue for WGE