docs(HYBIM-840): add galileo → splunk-ao migration guide#71
docs(HYBIM-840): add galileo → splunk-ao migration guide#71adityamehra wants to merge 3 commits into
Conversation
Adds docs/MIGRATION_GUIDE.md covering all breaking changes customers must make when migrating from the Galileo Python SDK to splunk-ao: - Package install: not yet on PyPI — GitHub install (Option A) and local editable clone (Option B) documented - Python floor bump: 3.10 → 3.11 - Import path rename: galileo → splunk_ao - Class/symbol renames (10 public symbols: GalileoLogger, GalileoDecorator, galileo_context, exception classes, metric classes, handler/middleware classes, ADK classes) - Satellite package renames: galileo-a2a → splunk-ao-a2a, galileo-adk → splunk-ao-adk - 19 environment variable renames: GALILEO_* → SPLUNK_AO_* - HTTP tracing header renames: X-Galileo-* → Splunk-AO-* - Protect feature legacy status (removed from splunk-ao) - GalileoScorers removal (use SplunkAOMetrics) - Before/after code examples and a full migration checklist - "What you do NOT need to change" section Covers tickets: HYBIM-713, HYBIM-716, HYBIM-717, HYBIM-718, HYBIM-719, HYBIM-725, HYBIM-727, HYBIM-728, HYBIM-800, HYBIM-804, HYBIM-807, HYBIM-823. Co-authored-by: Cursor <cursoragent@cursor.com>
|
@adityamehra I used Claude to review this PR. I won't have time right now to double-check the results for correctness, but I wanted to go ahead and share them with you: Analysis of
|
- Fix §7 code example: project/log_stream are SplunkAOLogger constructor args, not start_session kwargs; conclude() has no flush kwarg — use logger.flush() separately - Scope §4 bridge note to the 13 auth/identity vars actually bridged by SplunkAOConfig._bridge_env_vars(); clarify remaining vars (LOG_LEVEL, LOGGING_DISABLED, scorer/validation vars) are consumed directly - Document SPLUNK_AO_API_URL as an implicit Pydantic settings field from galileo-core (not a user-facing GALILEO_API_URL rename); add AI-agent note so future reviewers understand why the row is kept in the table - Remove phantom HYBIM-729 row from ticket table; the header rename is already correctly covered by HYBIM-804 Co-authored-by: Cursor <cursoragent@cursor.com>
Remove the 'Jira Tickets Covered' section (§8) and all inline 'Related ticket(s)' lines, and the Epic link from the header. Renumber §9 → §8, §10 → §9 accordingly. Co-authored-by: Cursor <cursoragent@cursor.com>
Summary
docs/MIGRATION_GUIDE.md— a comprehensive customer-facing migration guide for moving Python applications from the Galileo SDK (galileo) to Splunk Agent Observability (splunk-ao)mainsplunk-aois not yet on PyPIChanges
New file:
docs/MIGRATION_GUIDE.mdSections:
from galileo import …→from splunk_ao import …GALILEO_*→SPLUNK_AO_*renames with bridge explanationGalileoScorersX-Galileo-*→Splunk-AO-*galileo_coreimports,@log,TracingMiddleware, on-disk config, default URLsJira
HYBIM-840
Test plan
docs/MIGRATION_GUIDE.mdfor accuracy against currentmainsrc/splunk_ao/__init__.pyexportssrc/splunk_ao/config.pybridge tablepip install "splunk-ao @ git+https://github.com/splunk/splunk-ao-python.git"Made with Cursor