-
Notifications
You must be signed in to change notification settings - Fork 490
Open
Labels
bugunintended behavior that has to be fixedunintended behavior that has to be fixed
Description
Tracer Version(s)
2.4.0
Go Version(s)
go version go1.25.4 darwin/arm64
Bug Report
The *Option types used in github.com/DataDog/dd-trace-go/v2/llmobs, which are referenced in various public-facing functions, are unusable due to references to types in the internal internal/illmobs package.
The affected types are:
Reproduction Code
package main
import (
"context"
"github.com/DataDog/dd-trace-go/v2/llmobs"
illmobs "github.com/DataDog/dd-trace-go/v2/internal/llmobs"
)
func main() {
llmobs.StartLLMSpan(context.TODO(), "foo", func(opts *illmobs.StartSpanConfig) {
opts.MLApp = "bar"
})
}Error Logs
results in compilation error: use of internal package github.com/DataDog/dd-trace-go/v2/internal/llmobs not allowed
Go Env Output
No response
Metadata
Metadata
Assignees
Labels
bugunintended behavior that has to be fixedunintended behavior that has to be fixed