tmc / langchaingo

LangChain for Go, the easiest way to write LLM-based programs in Go
https://tmc.github.io/langchaingo/
MIT License
4.41k stars 598 forks source link

tracing: support tracing with OpenLLMetry #755

Open aannirajpatel opened 6 months ago

aannirajpatel commented 6 months ago

Enable instrumentation of apps written in LangChain Go using OpenLLMetry. Consider taking a look at https://github.com/traceloop/go-openllmetry to start with.

Refs #652

Note: I've reached out to OpenLLMetry folks here to hash out more details: https://traceloopcommunity.slack.com/archives/C05R5944YPP

nirga commented 6 months ago

Slightly related is https://github.com/sashabaranov/go-openai/issues/634 which I work on and off on and I see langchaingo is using.

aannirajpatel commented 5 months ago

Created a draft PR (https://github.com/tmc/langchaingo/pull/801) with some open questions. Thoughts @tmc?