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

Add ability for logging to record tracing span log entries #59

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Aug 2, 2024

  1. Add ability for logging to record tracing span log entries

    In large environments with separate logging and tracing pipelines,
    identifying pertinent log information for a trace can involve
    searching in an entirely different store, which may be subject
    to its own sampling and rate limiting. For these situations, the
    log lines generate specifically whilst the traced action is
    executed are particularly high value in providing additional context.
    
    This change adds trace emission options for the logging module,
    which allow enabling emitting logs from traces at a separately
    specified verbosity level, which can be changed the same was as
    we can with set_verbosity.
    
    To fully specify log fields, add_span_log_fields is updated to
    additionally be able to accept an iterable, similar to
    `add_span_tags`.
    LloydW93 committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    0e6df92 View commit details
    Browse the repository at this point in the history