Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DropwizardMetricsOptions

Vert.x Dropwizard metrics configuration.

Hierarchy

  • any
    • DropwizardMetricsOptions

Index

Constructors

constructor

Methods

addMonitoredEventBusHandler

  • Add a monitored event bus handler.

    Parameters

    • monitoredEventBusHandlers: Match

    Returns DropwizardMetricsOptions

addMonitoredHttpClientEndpoint

  • Add an monitored http client endpoint.

    Parameters

    • monitoredHttpClientEndpoints: Match

    Returns DropwizardMetricsOptions

addMonitoredHttpClientUri

  • Add an monitored http client uri.

    Parameters

    • monitoredHttpClientUris: Match

    Returns DropwizardMetricsOptions

addMonitoredHttpServerRoute

  • Add an monitored http server route.

    Parameters

    • monitoredHttpServerRoutes: Match

    Returns DropwizardMetricsOptions

addMonitoredHttpServerUri

  • Add an monitored http server uri.

    Parameters

    • monitoredHttpServerUris: Match

    Returns DropwizardMetricsOptions

getBaseName

  • getBaseName(): string
  • Set a custom baseName for metrics.

    Returns string

getConfigPath

  • getConfigPath(): string
  • Set the path for a config file that contains options in JSON format, to be used to create a new options object. The file will be looked for on the file system first and then on the classpath if it's not found.

    Returns string

getFactory

  • getFactory(): any
  • Returns any

getJmxDomain

  • getJmxDomain(): string
  • Set the JMX domain to use when JMX metrics are enabled.

    Returns string

getMetricRegistry

  • getMetricRegistry(): any
  • Set the optional metric registry used instead of the Dropwizard shared registry.

    Returns any

getMonitoredEventBusHandlers

  • getMonitoredEventBusHandlers(): Match[]
  • Add a monitored event bus handler.

    Returns Match[]

getMonitoredHttpClientEndpoint

  • getMonitoredHttpClientEndpoint(): Match[]
  • Returns Match[]

getMonitoredHttpClientUris

  • getMonitoredHttpClientUris(): Match[]
  • Add an monitored http client uri.

    Returns Match[]

getMonitoredHttpServerRoutes

  • getMonitoredHttpServerRoutes(): Match[]
  • Add an monitored http server route.

    Returns Match[]

getMonitoredHttpServerUris

  • getMonitoredHttpServerUris(): Match[]
  • Add an monitored http server uri.

    Returns Match[]

getRegistryName

  • getRegistryName(): string
  • Set the name used for registering the metrics in the Dropwizard shared registry.

    Returns string

isEnabled

  • isEnabled(): boolean
  • Returns boolean

isJmxEnabled

  • isJmxEnabled(): boolean
  • Set whether JMX will be enabled on the Vert.x instance.

    Returns boolean

setBaseName

  • Set a custom baseName for metrics.

    Parameters

    • baseName: string

    Returns DropwizardMetricsOptions

setConfigPath

  • Set the path for a config file that contains options in JSON format, to be used to create a new options object. The file will be looked for on the file system first and then on the classpath if it's not found.

    Parameters

    • configPath: string

    Returns DropwizardMetricsOptions

setEnabled

  • Parameters

    • enabled: boolean

    Returns DropwizardMetricsOptions

setFactory

  • Parameters

    • factory: any

    Returns DropwizardMetricsOptions

setJmxDomain

  • Set the JMX domain to use when JMX metrics are enabled.

    Parameters

    • jmxDomain: string

    Returns DropwizardMetricsOptions

setJmxEnabled

  • Set whether JMX will be enabled on the Vert.x instance.

    Parameters

    • jmxEnabled: boolean

    Returns DropwizardMetricsOptions

setMetricRegistry

  • Set the optional metric registry used instead of the Dropwizard shared registry.

    Parameters

    • metricRegistry: any

    Returns DropwizardMetricsOptions

setRegistryName

  • Set the name used for registering the metrics in the Dropwizard shared registry.

    Parameters

    • registryName: string

    Returns DropwizardMetricsOptions

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc