Skip to content

docs: document the [opik_cc] config section - #13

Merged
jverre merged 2 commits into
mainfrom
jacques/readme-updates
Jun 3, 2026
Merged

docs: document the [opik_cc] config section#13
jverre merged 2 commits into
mainfrom
jacques/readme-updates

Conversation

@jverre

@jverre jverre commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

What

Document how to send Claude Code traces to a different workspace/project than the rest of your Opik setup, using a dedicated [opik_cc] section in ~/.opik.config:

[opik]
url_override = https://www.comet.com/opik/api/
api_key = your-api-key
workspace = my-sdk-workspace
project_name = my-sdk-project

[opik_cc]
workspace = comet-all
project_name = claude-code

Why

This already works with the released plugin — confirmed against the exact config from the field. No code change needed.

The one caveat worth documenting: the current parser reads recognized keys (workspace, project_name, url_override, api_key) from the whole file with later values overriding earlier ones, so [opik_cc] must be placed below [opik] for its values to win. The doc calls this out, and notes that OPIK_CC_WORKSPACE / OPIK_CC_PROJECT env vars always take precedence over the file.

Docs-only — no config.go changes.

🤖 Generated with Claude Code

Document how to set a separate workspace/project for Claude Code traces via
an [opik_cc] section in ~/.opik.config, and note that it must be placed below
[opik] since later keys override earlier ones in the current parser.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jverre
jverre force-pushed the jacques/readme-updates branch from f97ac47 to b50acae Compare June 3, 2026 10:41
@jverre jverre changed the title Support [opik_cc] config section for plugin-scoped overrides docs: document the [opik_cc] config section Jun 3, 2026
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jverre
jverre merged commit b6b451c into main Jun 3, 2026
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