-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Is your feature request related to a problem? Please describe.
Create a way to generate a trace around a block of code (function/method) based on a tracepoint.
Describe the solution you'd like
Allow the tracepoint argument 'method_name' to to used in conjunction of a filename (in leu, or as well as line number).
If a method/function is found that matches the argument, then the function is wrapped in a span and attached to the existing span collection services (e.g. otel). If a line number is also specified then a normal tracepoint will be triggered on that line with in the original code. If there is no tracing supplier discovered or provided than no traces will be generated, and the tracepoint will either be ignored or simple act as a normal tracepoint.
Support Options
- Otel
- Opentracing
- Datadog
- FusionReactor