sourcegraph / sourcegraph-public-snapshot

Code AI platform with Code Search & Cody
https://sourcegraph.com
Other
10.1k stars 1.27k forks source link

Add telemetry to missing deployment types #61383

Open jdpleiness opened 5 months ago

jdpleiness commented 5 months ago

Add telemetry for deployment types that are currently missing such as individual types of AMIs/machine images, install script, etc...

https://sourcegraph.slack.com/archives/C02E4HE42BX/p1711404033833049?thread_ts=1711398531.584439&cid=C02E4HE42BX

marcleblanc2 commented 4 months ago

@jdpleiness found the code where deployment types are listed here https://github.com/sourcegraph/sourcegraph/blob/67fd07b624952bd80b55c803185fc1a6082a26a8/internal/conf/deploy/deploytype.go#L9-L18

Just need to make sure that:

  1. All deployment types are listed (ex. AMI)
  2. The build process for each deployment type sets this value correctly