Skip to content

Commit

Permalink
feat: add tracer profiling
Browse files Browse the repository at this point in the history
  • Loading branch information
KishenKumarrrrr committed Nov 1, 2024
1 parent 2cc4ccb commit 0c744e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion shared/src/tracing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ import { Span } from 'opentracing'
// Make it an init function so the code won't be evaluated and flagged as invalid
// on frontend linting-in-background during development
export function init() {
tracer.init()
tracer.init({
profiling: true,
})
tracer.use('http', {
client: {
hooks: {
Expand Down

0 comments on commit 0c744e1

Please sign in to comment.