Skip to content

Commit 976fb89

Browse files
authored
fix(telemetry): metrics emitted without the result property #4295
2024-01-17 12:50:54 [WARN]: Metric Event did not pass validation: Metric `aws_expandExplorerNode` was emitted without the `result` property.
1 parent 70a53a5 commit 976fb89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/awsexplorer/activation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export async function activate(args: {
6060
})
6161
}
6262
if (element.element.serviceId) {
63-
telemetry.aws_expandExplorerNode.emit({ serviceType: element.element.serviceId })
63+
telemetry.aws_expandExplorerNode.emit({ serviceType: element.element.serviceId, result: 'Succeeded' })
6464
}
6565
})
6666
globals.context.subscriptions.push(view)

0 commit comments

Comments
 (0)