Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vscode-extension-telemetry

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vscode-extension-telemetry

a module for first party microsoft extensions to report consistent telemetry

  • 0.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.6K
decreased by-56.29%
Maintainers
1
Weekly downloads
 
Created
Source

vscode-extension-telemetry

This module provides a consistent way for first-party extensions to report telemetry over Application Insights.

install

npm install vscode-extension-telemetry

usage

let TelemetryReporter = require('vscode-extension-telemetry'); 

// all events will be prefixed with this event name
const extensionId = '<your extension unique name>';

// extension version will be reported as a property with each event 
const extensionVersion = '<your extension version>'; 

// the application insights key
const key = '<you key>'; 

let reporter = new TelemetryReporter(extensionId, extensionVersion, key); 

reporter.sendTelemetryEvent('sampleEvent', { 'stringProp': 'some string' }, { 'numericMeasure': 123});

common properties

  • common.vscodemachineid
  • common.vscodesessionid
  • common.os
  • common.osversion
  • common.sqmuserid
  • common.sqmmachineid

License

MIT

FAQs

Package last updated on 10 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc