logfire icon indicating copy to clipboard operation
logfire copied to clipboard

Custom SDKs for other languages

Open Kludex opened this issue 1 year ago • 6 comments

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.

Kludex avatar May 02 '24 09:05 Kludex

Would be nice to have a Golang SDK

gaby avatar May 04 '24 12:05 gaby

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

essamgouda97 avatar Jun 04 '24 19:06 essamgouda97

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!

adriangb avatar Jun 04 '24 23:06 adriangb

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.

ShravanSunder avatar Jun 19 '24 11:06 ShravanSunder

Typescript please!

asafdari-boop avatar Jul 18 '24 00:07 asafdari-boop

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

So, Typescript.

Thank you!

zsiegel92 avatar Aug 28 '24 12:08 zsiegel92