Optional
enabledWhether to enable the plugin.
Optional
hooksHooks to run before spans are finished.
Optional
query?: (span?: Span, params?: TransportRequestParams) => anyHook to execute just before the query span finishes.
Optional
measuredWhether 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
serviceThe service name to be used for this plugin.
This plugin automatically instruments the elasticsearch module.