New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

azure-monitoring

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

azure-monitoring

Windows Azure Monitoring Client Library for node

  • 0.9.1-pre.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.7K
decreased by-82.67%
Maintainers
1
Weekly downloads
 
Created
Source

Windows Azure SDK for Node.js - Monitoring

This project provides a Node.js package that makes it easy to manage Windows Azure Monitoring. Right now it supports:

  • Node.js version: 0.6.15 or higher
  • API version: 2012-03-01

Features

  • TBD

How to Install

npm install azure-monitoring

How to Use

Authentication

This library support management certificate authentication. To authenticate the library for the REST API calls, you need to

  • Have a management certificate set up in your Windows Azure subscription. You can do this by
    • Either uploading a certificate in the Windows Azure management portal.
    • Or use the Windows Azure Xplat-CLI.
  • Obtain the .pem file of your certificate. If you used Windows Azure Xplat-CLI to set it up. You can run azure account cert export to get the .pem file.
  • Open the .pem file in a text editor to get the cert value and key value.

Create the SqlManagementClient

var fs            = require('fs'),
    monitoring = require('azure-monitoring');

var metricsClient = monitoring.createMetricsClient(monitoring.createCertificateCloudCredentials({
  subscriptionId: '<your subscription id>',
  pem: fs.readFileSync('<your pem file>')
}));

var autoScaleClient = monitoring.createAutoScaleClient(monitoring.createCertificateCloudCredentials({
  subscriptionId: '<your subscription id>',
  pem: fs.readFileSync('<your pem file>')
}));

var alertsClient = monitoring.createAlertsClient(monitoring.createCertificateCloudCredentials({
  subscriptionId: '<your subscription id>',
  pem: fs.readFileSync('<your pem file>')
}));

Keywords

FAQs

Package last updated on 20 Jun 2014

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