Skip to content

Add configuration setting to control whether a stack trace should be captured for each span #307

@SergeyKleyman

Description

@SergeyKleyman

We need to decide

  • Would it make sense to add an additional parameter to StartSpan/CaptureSpan APIs to allow user to control it on more fine grained level?
  • Should it be a simple boolean configuration setting resulting in the same behavior for all spans (unless overridden by a new parameter to public API) or a more sophisticated setting - for example list of span types for which stack trace should be captured? Maybe some aspect of a span other than its type to decide whether to capture stack trace - for example Java agent uses span duration. In case of the duration I assume the stack trace is for the end of the span not the start.
  • What should be the default value?

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions