Socket
Socket
Sign inDemoInstall

az-iot-bi

Package Overview
Dependencies
26
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    az-iot-bi

Business Intelligence API for Azure IoT Happy Path


Version published
Weekly downloads
28
increased by2700%
Maintainers
1
Install size
2.75 MB
Created
Weekly downloads
 

Readme

Source

Business Intelligence module for Azure IoT Happy Path

This module is providing Business Intelligence API for Azure IoT Happy Path. It leverage Visual Studio Application Insights NodeJS SDK behind the scene. Telemetry data will be persisted for further analysis in our backend.

API

Below APIs are exposed for public use.

function start()
Call this function before tracking any event for proper setup and initialization. It is synchronous and returns boolean to indicate whether Application Insights is started.

function trackEvent(eventName, properties)
Call this function with custom properties to submit event.

function flush()
Send all pending events to backend.

Example

Typical usage of package is shown as below.

  var bi = require('az-iot-bi');
  bi.start()
  bi.trackEvent('test-event');
  bi.flush();

Keywords

FAQs

Last updated on 25 Dec 2017

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc