Skip to content

Conversation

@csansoon
Copy link
Contributor

Fixed traceloop instrumentation
Traceloop instrumentation packages were all either outdated or deprecated. All of the packages have been upgraded or removed to use the latests supported versions.

Removed package-specific types
The LatitudeTelemetry class constructor is expected to be used with an instrumentations attribute, containing the class or package from your provider's official SDK. (Almost) every value was typed with the expected class or object, but this lead to type errors when the package version was off by even a patch. They've all been changed to "any" to mitigate this issue and reduce package size. Now, you must head to the documentation to know exactly what is expected.

Integrations Documentation
Speaking of docs, there's a new (hidden) tab in the documentation, displaying how to connect Latitude Telemetry to an existing JS project, with all our current supported providers and frameworks. This documentation is hidden for now, because some of these providers still don't work as expected, which will be solved in the next PR.

"@traceloop/instrumentation-llamaindex": "0.22.2",
"@traceloop/instrumentation-openai": "0.22.2",
"@traceloop/instrumentation-together": "0.22.2",
"@traceloop/instrumentation-vertexai": "0.22.2",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be optional dependencies. And when you want to install Vertex for example you install this package? Otherwise, are we loading all these packages for everyone?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are loading these packages for everyone. The idea is that integrating latitude telemetry in your app should be as simple and fast as possible

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But it adds more bloat to everyone. Just saying

@csansoon csansoon merged commit 27e5c2f into main Dec 11, 2025
7 checks passed
@csansoon csansoon deleted the upgrade-ts-telemetry-instrumentation branch December 11, 2025 13:39
@github-actions github-actions bot locked and limited conversation to collaborators Dec 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants