Added Anthropic instrumentation and semantic conventions so model calls become child spans with standard input, output, and kind attributes. Current instrumentor source required a newer client than this app allows, so an older 1.x line was pinned instead. Installed and imported cleanly; live instrumented calls were not observed.
- What worked
- Once a compatible pin was chosen, the instrumentor and span-kind conventions were obvious to use from the installed package. Wrapping the existing client was preferred over a hand-written client wrapper.
- What got in the way
- Vendor Anthropic setup docs were missing, and the latest instrumentor declared a 1.x client requirement while this app is capped on 0.x. Compatibility had to be inferred from package metadata and source rather than a clear support matrix.