Skip to content

SentryTraced() decorator to get spans for arbitrary functions #12752

Closed
@nicohrubec

Description

@nicohrubec

This decorator can be put on any function within a nest application. Without this users can still do it using the tracing API but having a dedicated decorator is much more native to nest so should be more intuitive for nest developers. This can be used wherever we don't have automatic performance instrumentation yet or in scenarios where it might not work for some reason.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions