pydantic / logfire

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

Custom SDKs for other languages #83

Open Kludex opened 6 months ago

Kludex commented 6 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 6 months ago

Would be nice to have a Golang SDK

essamgouda97 commented 5 months ago

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

adriangb commented 5 months 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 5 months 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.

asafdari-boop commented 4 months ago

Typescript please!

zsiegel92 commented 2 months ago

If it worked with Instructor JS+zod the same way it works with Instructor+pydantic that would be really useful.

So, Typescript.

Thank you!