Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface elasticsearch

This plugin automatically instruments the elasticsearch module.

Hierarchy

  • Instrumentation
    • elasticsearch

Index

Properties

Optional enabled

enabled: undefined | false | true

Whether to enable the plugin.

default

true

Optional hooks

hooks: undefined | { query?: undefined | ((span?: opentracing.Span, params?: TransportRequestParams) => any) }

Hooks to run before spans are finished.

Optional measured

measured: boolean | {}

Whether to measure the span. Can also be set to a key-value pair with span names as keys and booleans as values for more granular control.

Optional service

service: string | any

The service name to be used for this plugin.

Generated using TypeDoc