@aws-toolkits/telemetry

1.0.285 • Public • Published

AWS Toolkit/Amazon Q for VSCode Telemetry

This package contains scripts and files to generate telemetry calls for:

Usage

To generate telemetry and see the result:

  1. run npm run build to produce the lib/ dir.
  2. run:
    node ./lib/generateTelemetry.js --output=telemetry.gen.ts
    
    • The script has two arguments:
      1. --extraInput list of paths to telemetry JSON files, seperated by commas. For example, "--extraInput=abc.json,/abc/bcd.json"
      2. --output path where the final output will go. For example, "--output=abc.ts"

To generate telemetry for VSCode from a downstream project,

  1. install this package in your package.json
  2. run:
    node node_modules/@aws-toolkits/telemetry/lib/generateTelemetry.js --output=<path/to/file>.ts
    

Readme

Keywords

none

Package Sidebar

Install

npm i @aws-toolkits/telemetry

Weekly Downloads

6,221

Version

1.0.285

License

Apache-2.0

Unpacked Size

311 kB

Total Files

23

Last publish

Collaborators

  • mattsb42-aws
  • hunterwerlla
  • amzn-oss
  • aws-toolkits-team