1.0.0 • Published 11 months ago

@meeyi-opentelemetry/instrumentation-voerka-common v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
11 months ago

Voerka 通用链路追踪器 instrumentation-voerka-common

Voerka 通用链路追踪器(instrumentation-voerka-common)旨在提供一个通用的链路追踪逻辑封装,并内置了数个链路追踪器配置,以便使用者零配置实例化所需的链路追踪器,从而提高易用性并减少重复代码。目前已内置的链路追踪器配置有:

  • vmsInstrumentConfig(voerka-message-service链路追踪配置)
  • wfMainFlowInstrumentConfig(voerka-workflow-main-flow链路追踪配置)
  • ...更多

注意,本模块一般不单独使用,而是作为 Voerka 自动链路追踪器(auto-instrumentations-voerka)的依赖。

安装

npm i --save @meeyi-opentelemetry/instrumentation-voerka-common

使用

详见 Voerka 自动链路追踪器(auto-instrumentations-voerka) 源码。