Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@

### Breaking Changes

- **Config file renamed** (HYBIM-918): The on-disk credentials file written to
`~/.galileo/` has been renamed from `galileo-python-config.json` to
`splunk-ao-config.json`. Users with an existing saved config must either rename
the file manually or delete it and re-authenticate.

- `SplunkAOLogger.flush()` and `async_flush()` now return `None` and only drain
completed spans already queued for OTLP export. They no longer conclude open
spans or return uploaded proprietary trace objects.
Expand Down
12 changes: 11 additions & 1 deletion splunk-ao-migration-tool/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,16 @@ The `GalileoScorers` enum has been removed entirely. Migrate to `SplunkAOMetrics
+ scorer = SplunkAOMetrics.completeness
```

### 5.3 On-Disk Config File Renamed

The SDK credentials file written to `~/.galileo/` has been renamed:

| Old | New |
|-----|-----|
| `~/.galileo/galileo-python-config.json` | `~/.galileo/splunk-ao-config.json` |

If you have saved credentials on disk, either rename the file manually or delete it and re-authenticate by running your code once.

---

## 6. HTTP Tracing Headers
Expand Down Expand Up @@ -420,13 +430,13 @@ The following are **unchanged** between galileo and splunk-ao and require no mig
- Optional extra names (`[langchain]`, `[openai]`, `[otel]`, `[all]`, etc.)
- `TracingMiddleware` class name
- `OPENAI_API_KEY` environment variable
- On-disk config file name: `galileo-python-config.json`
- Default console/API URLs (`https://app.galileo.ai/`, `https://api.galileo.ai/`)

---

## 9. Migration Checklist

- [ ] Rename on-disk config file: `~/.galileo/galileo-python-config.json` → `~/.galileo/splunk-ao-config.json` (or delete it and re-authenticate)
- [ ] Update Python to **≥ 3.11**
- [ ] Replace `galileo` with `splunk-ao` in `requirements.txt` / `pyproject.toml`
- [ ] Add `grpcio>=1.80.0,<2.0.0` if using the `otel` extra (or use `splunk-ao[otel]`)
Expand Down
2 changes: 1 addition & 1 deletion src/splunk_ao/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class SplunkAOConfig(GalileoConfig):
"""Configure authentication and endpoints for standalone and O11y deployments."""

# Config file for this project.
config_filename: str = "galileo-python-config.json"
config_filename: str = "splunk-ao-config.json"
console_url: Url = DEFAULT_CONSOLE_URL

_instance: ClassVar[Optional["SplunkAOConfig"]] = None
Expand Down
4 changes: 4 additions & 0 deletions tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,3 +341,7 @@ def test_reset_removes_all_bridgeable_galileo_vars() -> None:
f"reset() is expected to remove {galileo_key} "
f"(bridge owns all GALILEO_* keys; no SDK consumer sets them directly)"
)


def test_config_filename_default() -> None:
assert SplunkAOConfig.model_fields["config_filename"].default == "splunk-ao-config.json"
Loading