You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In open-telemetry/opentelemetry-js#4583 we will remove large parts of the public API of the @opentelemetry/otlp-transformer package. Before this change is released we should also get rid of all usages of these soon to be removed APIs from our tests here in this repository to ensure a smooth update-process to the latest @opentelemetry/* packages.
I'm happy to help adjust that code, but I'm not sure what the best way to do that would be. Do you know if there are convenient exported types for the JSON serialization of the OTLP ExportTraceServiceResponse type (and eventually for the equivalent metrics and logs service response types)?
If not, I suppose the test-fixtures.ts test facility could re-define those types. The object the TestCollector is making available is mostly just JSON.parse(body) where body is the content sent to the OTLP/json POST /v1/traces endpoint.
@trentm Thanks for the offer, I assume the change would be quite mechanical so I'll look into it next week - I'll reach out if anything's unclear. 🙂
Do you know if there are convenient exported types for the JSON serialization of the OTLP ExportTraceServiceResponse type (and eventually for the equivalent metrics and logs service response types)?
If not, I suppose the test-fixtures.ts test facility could re-define those types. The object the TestCollector is making available is mostly just JSON.parse(body) where body is the content sent to the OTLP/json POST /v1/traces endpoint.
hmm, there's no such thing AFAIK. I think we have to re-define them here - in any case I think we can get away with far fewer types exported from the contrib-test-utils package than what we had over at @opentelemetry/otlp-transformer 🙂
Description
This issue is part of open-telemetry/opentelemetry-js#4582
In open-telemetry/opentelemetry-js#4583 we will remove large parts of the public API of the
@opentelemetry/otlp-transformer
package. Before this change is released we should also get rid of all usages of these soon to be removed APIs from our tests here in this repository to ensure a smooth update-process to the latest@opentelemetry/*
packages.This issue is considered done when:
The text was updated successfully, but these errors were encountered: