Options
All
  • Public
  • Public/Protected
  • All
Menu

Class VertxInfluxDbOptions

Vert.x InfluxDb micrometer configuration.

Hierarchy

  • VertxInfluxDbOptions

Index

Constructors

constructor

Methods

getBatchSize

  • getBatchSize(): number
  • Maximum number of measurements sent per request to the InfluxDB server. When the maximum is reached, several requests are made. Default is 10000.

    Returns number

getBucket

  • getBucket(): string
  • Specifies the destination bucket for writes. Takes either the ID or Name interchangeably. This is only used with InfluxDB v2.

    Returns string

getConnectTimeout

  • getConnectTimeout(): number
  • Connection timeout for InfluxDB server connections, in seconds. Default is 1 second.

    Returns number

getDb

  • getDb(): string
  • Database name used to store metrics. Default is "default".

    Returns string

getNumThreads

  • getNumThreads(): number
  • Number of threads to use by the push scheduler. Default is 2.

    Returns number

getOrg

  • getOrg(): string
  • Specifies the destination organization for writes. Takes either the ID or Name interchangeably. This is only used with InfluxDB v2.

    Returns string

getPassword

  • getPassword(): string
  • Password used for authenticated connections

    Returns string

getReadTimeout

  • getReadTimeout(): number
  • Read timeout for InfluxDB server connections, in seconds. Default is 10 seconds.

    Returns number

getRetentionPolicy

  • getRetentionPolicy(): string
  • InfluxDB retention policy

    Returns string

getStep

  • getStep(): number
  • Push interval steps, in seconds. Default is 10 seconds.

    Returns number

getToken

  • getToken(): string
  • Authentication token for the InfluxDB API. This takes precedence over userName/password if configured.

    Returns string

getUri

  • getUri(): string
  • URI of the InfluxDB server. Example: http://influx:8086.

    Returns string

getUserName

  • getUserName(): string
  • Username used for authenticated connections

    Returns string

isCompressed

  • isCompressed(): boolean
  • Activate or deactivate GZIP compression. It is activated by default.

    Returns boolean

isEnabled

  • isEnabled(): boolean
  • Set true to enable InfluxDB reporting

    Returns boolean

setBatchSize

  • Maximum number of measurements sent per request to the InfluxDB server. When the maximum is reached, several requests are made. Default is 10000.

    Parameters

    • batchSize: number

    Returns VertxInfluxDbOptions

setBucket

  • Specifies the destination bucket for writes. Takes either the ID or Name interchangeably. This is only used with InfluxDB v2.

    Parameters

    • bucket: string

    Returns VertxInfluxDbOptions

setCompressed

  • Activate or deactivate GZIP compression. It is activated by default.

    Parameters

    • compressed: boolean

    Returns VertxInfluxDbOptions

setConnectTimeout

  • Connection timeout for InfluxDB server connections, in seconds. Default is 1 second.

    Parameters

    • connectTimeout: number

    Returns VertxInfluxDbOptions

setDb

  • Database name used to store metrics. Default is "default".

    Parameters

    • db: string

    Returns VertxInfluxDbOptions

setEnabled

  • Set true to enable InfluxDB reporting

    Parameters

    • enabled: boolean

    Returns VertxInfluxDbOptions

setNumThreads

  • Number of threads to use by the push scheduler. Default is 2.

    Parameters

    • numThreads: number

    Returns VertxInfluxDbOptions

setOrg

  • Specifies the destination organization for writes. Takes either the ID or Name interchangeably. This is only used with InfluxDB v2.

    Parameters

    • org: string

    Returns VertxInfluxDbOptions

setPassword

  • Password used for authenticated connections

    Parameters

    • password: string

    Returns VertxInfluxDbOptions

setReadTimeout

  • Read timeout for InfluxDB server connections, in seconds. Default is 10 seconds.

    Parameters

    • readTimeout: number

    Returns VertxInfluxDbOptions

setRetentionPolicy

  • InfluxDB retention policy

    Parameters

    • retentionPolicy: string

    Returns VertxInfluxDbOptions

setStep

  • Push interval steps, in seconds. Default is 10 seconds.

    Parameters

    • step: number

    Returns VertxInfluxDbOptions

setToken

  • Authentication token for the InfluxDB API. This takes precedence over userName/password if configured.

    Parameters

    • token: string

    Returns VertxInfluxDbOptions

setUri

setUserName

  • Username used for authenticated connections

    Parameters

    • userName: string

    Returns VertxInfluxDbOptions

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc