Skip to content

Conversation

hmstepanek
Copy link
Contributor

Overview

Prototype of Core Tracing

  • Add two new configuration settings:
    • distributed_tracing.drop_inprocess_spans.enabled - defaulted to False (Only reports entry and exit spans.)
    • distributed_tracing.unique_spans.enabled - defaulted to False (Only reports unique exit spans and entry spans.)
    • distributed_tracing.minimize_attributes.enabled - defaulted to False (Drops all agent attributes that are not entity synthesis attributes from spans)
      Note exit spans are defined as spans that contain entity synthesis agent attributes.
  • Report additional metrics:
    • Time to process dropping spans and attributes. Note: attributes are dropped after attr processing intentionally to make time reporting easier.
    • Approximate amount of bytes or "cost" of core tracing/dropping in-process spans.
  • Double adaptive sampling rate from default of 10 to 20 when Core Tracing is enabled.

Linking ErrorTraces, slow sql etc to distributed traces is not supported in the prototype.

@mergify mergify bot added the tests-failing Tests failing in CI. label Aug 19, 2025
Copy link

🦙 MegaLinter status: ❌ ERROR

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 6 0 0 0.72s
✅ MARKDOWN markdownlint 7 0 0 0 1.18s
✅ MARKDOWN markdown-link-check 7 0 0 15.9s
❌ PYTHON ruff 922 2 1 0 0.91s
✅ PYTHON ruff-format 922 11 0 0 0.35s
✅ YAML prettier 13 0 0 0 1.34s
✅ YAML v8r 13 0 0 5.68s
✅ YAML yamllint 13 0 0 0.6s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

* Do not drop LLM spans.
  * Note if running with llm data users should not enable unique spans.
* Reparent unqiue spans onto the entry span and sum their durations.
@mergify mergify bot added the merge-conflicts Merge conflicts detected. label Sep 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge-conflicts Merge conflicts detected. tests-failing Tests failing in CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant