Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Metrics

Index

Constructors

constructor

Properties

Private _authenticator

_authenticator: Authenticator

Methods

addPoint

  • addPoint(measurement: string, fields: object, tags: object, time?: string): any
  • Parameters

    • measurement: string
    • fields: object
      • [k: string]: number
    • tags: object
      • [k: string]: string
    • Optional time: string

    Returns any

createDemoMeasurement

  • createDemoMeasurement(measurement: string, demoDataType: string, tag?: object): Promise<void>
  • Parameters

    • measurement: string
    • demoDataType: string
    • Optional tag: object
      • tagKey: string
      • tagValue: string

    Returns Promise<void>

deleteAllMeasurements

  • deleteAllMeasurements(): Promise<void>

deleteMeasurement

  • deleteMeasurement(name: string): Promise<Measurement>
  • Parameters

    • name: string

    Returns Promise<Measurement>

fetchSeries

  • fetchSeries(q: string, raw?: boolean): Promise<any>
  • Parameters

    • q: string
    • Optional raw: boolean

    Returns Promise<any>

getMeasurements

  • getMeasurements(): Promise<Array<Measurement>>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc