function(options) {
  // Validate options
  assert(options,         "options are required");
  assert(options.name,    "Series must be named");
  options = _.defaults({}, options, {
    columns:              {},
    additionalColumns:    null
  });

  // Store options
  this._options = options;
}
function(options) {
  // Validate options
  assert(options,         "options are required");
  assert(options.name,    "Series must be named");
  options = _.defaults({}, options, {
    columns:              {},
    additionalColumns:    null
  });

  // Store options
  this._options = options;
}
function ( options ) { // Validate options assert ( options , "options are required" ) ; assert ( options . name , "Series must be named" ) ; options = _ . defaults ( { } , options , { columns : { } , additionalColumns : null } ) ; // Store options this . _options = options ; }
Create a times series that you can report to.

options:
{
// Name of the series in influxdb
name:               'ResponseTimes',

// Required columns
columns: {
method:           stats.types.String,
duration:         stats.types.Number,
custom:           stats.types.Any
},

// Type of additional columns if they are allowed (defaults `null`)
additionalColumns:  stats.types.String
}
Create a times series that you can report to .