Tracing with Opentelemetry and Google Trace Exporter
Install the npm-package and import it before express is required.
require(bn-tracing)(options)
{
serviceName: String (Default: default)
debug: Bool (default: false)
instrumentations: Array (Default: [])
}
require('bn-tracing')({
serviceName: process.env.K_SERVICE,
instrumentations: [
new IORedisInstrumentation(),
]
});