feat: OpenTelemetry traces, metrics, and logs #102
No reviewers
Labels
No labels
bug
commercial
documentation
duplicate
enhancement
feature
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jasoncouture/llama-shears!102
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/open-telemetry"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
LlamaShears*source/meter subscriptions so any sub-project ActivitySource/Meter gets picked up without per-call registration.IResourceDetectorin DI;AppResourceDetectorships standardservice.*/deployment.*attrs.gen_ai.*semconv tags.AgentHandlecarries optionalDisposableListfor activity-lifetime resources; EC restored on teardown so disposables run under the agent's context.Telemetry.CreateActivitySourceForType<T>helper standardizes ActivitySource naming.Side-fixes:
PublishAsyncreturned. Once dispatch became async (Task.Yield inEventHandlerWrapper), those races showed up — switched to poll-with-timeout.tests/— they all resolve in <100ms in practice.Test plan
dotnet test— 550/550 pass.