pydantic / logfire

Uncomplicated Observability for Python and beyond! 🪵🔥
https://docs.pydantic.dev/logfire/
MIT License
1.66k stars 45 forks source link

Custom SDKs for other languages #83

Open Kludex opened 2 months ago

Kludex commented 2 months ago

Description

Logfire is built on top of OpenTelemetry, which means that it supports all the languages that OpenTelemetry supports.

Still, we are planning to create custom SDKs for JavaScript, TypeScript, and Rust, and make sure that the attributes are displayed in a nice way in the Logfire UI — as they are for Python.

Please let us know if you are interested in this, so we can prioritize it.

gaby commented 2 months ago

Would be nice to have a Golang SDK

essamgouda97 commented 1 month ago

Typescript SDK, using one logging solution for multiple services would be nice.

adriangb commented 1 month ago

In my personal opinion part of what makes the OTEL SDKs not as good as they could be is that a decision was made early on to implement the same APIs in every language. So you end up with Python that's a bit like Java, etc.

There's a risk we end up doing the same thing, even if not intentionally by accident if we just copy over the Python SDK's APIs to TypeScript or other languages.

So what would be very helpful is if you listed out concrete things with the SDKs in other languages that are annoying, complex, etc. and how you'd want them to be different.

Thanks!

ShravanSunder commented 2 weeks ago

Typescripts api is appreciated! Please make sure it can run in serverless environment and ESM like cloudflare workers. The current methods (OTEL & OTLP) take a lot of fanangaling outside of nodejs. Typescript is multi runtime, not just nodejs.