Skip to content

Commit

Permalink
Merge pull request #1837 from Automattic/add/docker-version-tracking
Browse files Browse the repository at this point in the history
feat(dev-env): track versions of `docker` and `docker-compose`
  • Loading branch information
sjinks authored May 21, 2024
2 parents 58881aa + 76ec89f commit 5995178
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/bin/vip-dev-env-start.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,12 @@ command()

const startProcessing = new Date();

const versions = await lando.engine.daemon.getVersions();
const trackingInfo = getEnvTrackingInfo( slug );
trackingInfo.vscode = Boolean( opt.vscode );
trackingInfo.docker = versions.engine;
trackingInfo.docker_compose = versions.compose;

await trackEvent( 'dev_env_start_command_execute', trackingInfo );

debug( 'Args: ', arg, 'Options: ', opt );
Expand Down

0 comments on commit 5995178

Please sign in to comment.