Skip to content

fix(docs): correct stale flush() docstrings to reflect drain-only semantics (HYBIM-966) - #217

Draft
etserend wants to merge 3 commits into
mainfrom
fix/HYBIM-966-flush-docstrings
Draft

fix(docs): correct stale flush() docstrings to reflect drain-only semantics (HYBIM-966)#217
etserend wants to merge 3 commits into
mainfrom
fix/HYBIM-966-flush-docstrings

Conversation

@etserend

@etserend etserend commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • SplunkAOLoggerSingleton.flush() docstring: "Flush (upload and clear)" → "Drain the OTLP export queue for"
  • SplunkAOLoggerSingleton.flush_all() one-liner: same fix
  • SplunkAODecorator.flush_all() docstring: "Upload all captured traces" → drain-only semantics, with explicit note that it does not conclude spans

Root cause: PR #155 (8e244a0) changed flush() / async_flush() to return None and only drain the OTLP export queue. The docstrings still described the old upload-and-finalize behavior.

Companion change: agent-observability-docs hand-authored snippets and guide prose updated in a separate commit (3 files: basic-logging.mdx, flush-logger-gl.mdx, manual-span-creation.mdx).

Test plan

  • Auto-generated decorator.mdx and singleton.mdx will reflect correct semantics on next docs publish

🤖 Generated with Claude Code

…antics (HYBIM-966)

flush() and async_flush() no longer upload traces — they only drain the
OTLP export queue since PR #155. Update singleton.py and decorator.py
docstrings to match the actual behavior.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@etserend
etserend marked this pull request as draft August 7, 2026 19:19
etserend and others added 2 commits August 7, 2026 17:06
…M-966)

flush() no longer uploads traces — it only drains the OTLP export queue.
Also note it does not conclude open spans, matching the CHANGELOG entry
from PR #155.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…s (HYBIM-966)

Replace stale "send the trace to Splunk AO" / "uploads traces" inline comments
with "drain the OTLP export queue" across chatbot examples, redaction example,
and migration-tool before/after examples.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant