0.0.2 • Published 5 years ago

azure-iot-diagnostics v0.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

Azure IoT Diagnostics

Build status

An easier way to set diagnostics configuration for your Azure IoT Solutions.

Go to https://aka.ms/azure.iot for more awesome Azure IoT projects and resources.

Prerequisites

Setup

  • Open terminal, and run npm install -g azure-iot-diagnostics

Usage

Output usage information

$ az-iot-diag -h
$ az-iot-diag set -h

Turn on diagnostics and set sample rate as 10% for device1 and device2

$ az-iot-diag set --login "HostName=<my-hub>.azure-devices.net;SharedAccessKeyName=<my-policy>;SharedAccessKey=<my-policy-key>" --enable true --sample_rate 10 --devices device1,device2

usage