From e32dc15b54ac04ff3867155cdd0bfa0cf3aa0f15 Mon Sep 17 00:00:00 2001 From: Glenn Sarti Date: Fri, 4 Nov 2022 14:19:51 +0800 Subject: [PATCH] Add Sentinel to telemetry It would be useful to track usage of the root sentinel config file (`sentinel.hcl`) to determine how many users use the extension for Sentinel. --- src/common.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common.ts b/src/common.ts index 6e49e9c..b031634 100644 --- a/src/common.ts +++ b/src/common.ts @@ -46,6 +46,9 @@ function detectProduct(doc: vscode.TextDocument) { if (doc.fileName === 'waypoint.hcl') { return 'waypoint'; } + if (doc.fileName === 'sentinel.hcl') { + return 'sentinel'; + } if (doc.fileName.endsWith('.pkr.hcl')) { return 'packer'; }