lib/services/metricsservice.js
function MetricsService(storageAccount, storageAccessKey, host, authenticationProvider) {
  if (!host) {
    // Dev Stg does not support metrics
    host = azure.ServiceClient.CLOUD_TABLE_HOST;
  }

  MetricsService.super_.call(this, host, storageAccount, storageAccessKey, authenticationProvider);

  if (!this.authenticationProvider) {
    this.authenticationProvider = new azure.SharedKeyTable(this.storageAccount, this.storageAccessKey, this.usePathStyleUri);
  }
}
function MetricsService(storageAccount, storageAccessKey, host, authenticationProvider) {
  if (!host) {
    // Dev Stg does not support metrics
    host = azure.ServiceClient.CLOUD_TABLE_HOST;
  }

  MetricsService.super_.call(this, host, storageAccount, storageAccessKey, authenticationProvider);

  if (!this.authenticationProvider) {
    this.authenticationProvider = new azure.SharedKeyTable(this.storageAccount, this.storageAccessKey, this.usePathStyleUri);
  }
}
function MetricsService ( storageAccount , storageAccessKey , host , authenticationProvider ) { if ( ! host ) { // Dev Stg does not support metrics host = azure . ServiceClient . CLOUD_TABLE_HOST ; } MetricsService . super_ . call ( this , host , storageAccount , storageAccessKey , authenticationProvider ) ; if ( ! this . authenticationProvider ) { this . authenticationProvider = new azure . SharedKeyTable ( this . storageAccount , this . storageAccessKey , this . usePathStyleUri ) ; } }
Creates a new MetricsService object.
If no storageaccount or storageaccesskey are provided, the AZURE_STORAGE_ACCOUNT and AZURE_STORAGE_ACCESS_KEY environment variables will be used.

@constructor
@extends {ServiceClient}

@param {string} [storageAccount]          The storage account.
@param {string} [storageAccessKey]        The storage access key.
@param {string} [host]                    The host address.
@param {object} [authenticationProvider]  The authentication provider.
Creates a new MetricsService object . If no storageaccount or storageaccesskey are provided the AZURE_STORAGE_ACCOUNT and AZURE_STORAGE_ACCESS_KEY environment variables will be used .