Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface moleculer

This plugin automatically instruments the moleculer module.

Hierarchy

  • Moleculer
    • moleculer

Index

Properties

Optional client

client: boolean | Moleculer

Configuration for Moleculer clients. Set to false to disable client instrumentation.

Optional enabled

enabled: undefined | false | true

Whether to enable the plugin.

default

true

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 meta

meta: undefined | false | true

Whether to include context meta as tags.

default

false

Optional server

server: boolean | Moleculer

Configuration for Moleculer servers. Set to false to disable server instrumentation.

Optional service

service: string | any

The service name to be used for this plugin.

Generated using TypeDoc