Upgrade ts telemetry instrumentation #2030
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
LatitudeTelemetryclass constructor is expected to be used with aninstrumentationsattribute, 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.