Skip to content
This repository has been archived by the owner on Dec 22, 2020. It is now read-only.
/ azure-metrics Public archive

Windows Azure Storage Metrics Client Library for NodeJS [just redirect to azure-metrics-for-node for now]

Notifications You must be signed in to change notification settings

AltaModaTech/azure-metrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Windows Azure Storage Metrics SDK for Node.js

This project provides a Node.js package that makes it easy to access Windows Azure Storage Metrics.

With Windows Azure Websites you can deploy node.js applications to the cloud in just seconds using git.

For documentation on how to host Node.js applications on Windows Azure, please see the Windows Azure Node.js Developer Center.

Library Features

  • Capacity Metrics
    • Retrieve daily capacity metrics for all blobs in an Azure account
  • Transaction Metrics
    • Retrieve hourly transaction metrics for all blobs, queues and tables in an Azure account
  • Filter by date
    • Specify a begin date and optional end date when retrieving metrics

Getting Started

Download Source Code

To get the source code of the SDK via git just type:

git clone https://github.com/AltaModaTech/azure-metrics-for-node.git
cd ./azure-metrics-for-node

Download Package

Alternatively, to get the source code via the Node Package Manager (npm), type

npm install azure-metrics-for-node

You can use these packages against the cloud Windows Azure Services.

Usage

Blob Capacity Metrics

var opts = {};
opts.beginDate = new Date().addDays(-5);    // Retrieve the last 5 days of metrics
var metricsService = azureMetrics.createMetricsService();
metricsService.getBlobCapacities( opts, function(error, capacityEntities){
    if(error === null){
        // use capacityEntities JSON data
    }
});

If you encounter any bugs with the library please file an issue in the Issues section of the project.

Learn More

Windows Azure Node.js Developer Center

About

Windows Azure Storage Metrics Client Library for NodeJS [just redirect to azure-metrics-for-node for now]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published