Skip to content

Override the root span name #4

@barrettpyke

Description

Description

Currently the root span name is hard coded to OpenCode: ${getProjectName(input.worktree)}.

name: `OpenCode: ${getProjectName(input.worktree)}`,

It would be nice to be able to override that name with a config value like rootSpanName. For context you can do this in the SDKs in functions like wrapTraced for instance (defaults to the function name).
https://www.braintrust.dev/docs/reference/sdks/typescript/3.7.0/typescript#param-args-name-3

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions