Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

span stacktrace refactor + autoconfig #1499

Merged
merged 12 commits into from
Oct 17, 2024
Prev Previous commit
Next Next commit
fix markdown
  • Loading branch information
SylvainJuge committed Oct 16, 2024
commit 4ac2c28a640c97a0a1192514477f0183a9ca65f6
6 changes: 4 additions & 2 deletions span-stacktrace/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ As a consequence it should only be used when the span duration is known, thus on

This extension supports autoconfiguration.
SylvainJuge marked this conversation as resolved.
Show resolved Hide resolved

`otel.java.experimental.span-stacktrace.min.duration`:
`otel.java.experimental.span-stacktrace.min.duration`

- allows to configure the minimal duration for which spans have a stacktrace captured
- defaults to 5ms
- a value of zero will include all spans
- a negative value will disable the feature

`otel.java.experimental.span-stacktrace.filter`:
`otel.java.experimental.span-stacktrace.filter`

- allows to filter spans to be excluded from stacktrace capture
- defaults to include all spans.
- value is the class name of a class implementing `java.util.function.Predicate<ReadableSpan>`
Expand Down
Loading