Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sonnht-chotot committed Jun 17, 2021
1 parent c41f5ca commit ac429b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion instruments.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const registration = ()=>{

const signUpEvent = span =>{
for (const module of modules) {
signUpEvent.on(module,(db_type,operation_name,data)=>{
emitter.on(module,(db_type,operation_name,data)=>{
const child_span = global.tracer.startSpan(operation_name,{
childOf: span
})
Expand Down

0 comments on commit ac429b6

Please sign in to comment.