graphql-engine/cli/telemetry
Kali Vara Purushotham Santhati 58d0a1e29f cli: send error to telemetry
closes https://github.com/hasura/graphql-engine-mono/issues/2093

Problem:
 - [x] Send errors to telemetry
 - [x] send flags along with the command to telemetry

Solution:
 - Added Error field in the data struct and if there is an error then the error will get copied to the field
 - Use Visit fn in cobra for getting the flag names which are set and append the flag-names to command

https://github.com/hasura/graphql-engine-mono/pull/2298

GitOrigin-RevId: bd28c2e83e039a4eb8d7fe0d2b7646d0c982c91b
2021-09-08 08:56:54 +00:00
..
telemetry_test.go cli: update go.mod 2021-06-16 11:45:07 +00:00
telemetry.go cli: send error to telemetry 2021-09-08 08:56:54 +00:00