1.0.4 • Published 6 years ago

pandora-custom-trace v1.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

pandora-custom-trace

a custom trace module for pandora

get start

npm install pandora-custom-trace

or

yarn add pandora-custom-trace

usage

const { report } = require('pandora-custom-trace');

report('custom', {
  'log': {
     value: 'hello world',
     type: 'string'
  }
})

api

report(spanName, tags);

nametypedefaultdescription
spanNamestring"custom"span name for a trace
tagsobjectnulltags object

more about trace, please visit http://www.midwayjs.org/pandora/zh-cn/introduce.html

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago