Skip to content

lingxuan630/pandora-custom-trace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);

name type default description
spanName string "custom" span name for a trace
tags object null tags object

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

About

a custom trace module for pandora

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published