pinpoint-node-agent
Version:
Pinpoint node agent provided by NAVER
69 lines (49 loc) • 820 B
JavaScript
/**
* Pinpoint Node.js Agent
* Copyright 2020-present NAVER Corp.
* Apache License v2.0
*/
const disableAsyncId = require('./trace/disable-async-id')
class DisableSpanEventRecorder {
constructor() {
this.nextAsyncId = null
this.ended = false
this.error = null
}
recordStartTime() {
}
recordServiceType() {
}
recordDestinationId() {
}
recordEndPoint() {
}
recordNextSpanId() {
}
recordNextAsyncId() {
}
recordApiId() {
}
recordApi() {
}
recordApiWithParameters() {
}
recordApiDesc() {
}
recordApiArguments() {
}
recordAttribute() {
}
recordException() {
}
recordSqlInfo() {
}
recordEnd() {
this.ended = true
}
getNextAsyncId() {
return disableAsyncId
}
}
module.exports = DisableSpanEventRecorder