plural-cli icon indicating copy to clipboard operation
plural-cli copied to clipboard

introduce posthog

Open zreigz opened this issue 1 year ago • 0 comments

Summary

Introduce posthog for plural bundle install, build, and deploy commands.

client.Enqueue(posthog.Capture{
  DistinctId: "someID",
  Event:      "cli_deploy",
  Properties: map[string]interface{}{
        "clusterName":        "test-cluster",
        "applicationName":    "bootstrap",
        "applicationID":      "123456-abcdef"
        "packageType":         "Helm",
        "packageName":         "bootstrap",
        "packageId":           "123456-abcdef",
        "packageVersion":      "0.1.0",
        "provider":           "AWS",
        "error":              "some error about the helm install failing",
    }
})

Labels

Test Plan

Checklist

  • [ ] If required, I have updated the Plural documentation accordingly.
  • [ ] I have added tests to cover my changes.
  • [ ] I have added a meaningful title and summary to convey the impact of this PR to a user.
  • [ ] I have added relevant labels to this PR to help with categorization for release notes.

zreigz avatar Mar 10 '23 14:03 zreigz