Opentelemetry-go: Move mock span or trace out of internal package

Created on 5 Aug 2020  路  3Comments  路  Source: open-telemetry/opentelemetry-go

MockSpan and MockTracer are on the internal package that cannot be used by other repo.

It's not convenient for those third-party repos to add the unit test. Also, go-contrib have the same package named internal/trace and the functionality of the code is almost the same.

Therefore, maybe we should move MockSpan and MockTracer out of the internal package and reuse those parts of codes?

help wanted testing p1 required-for-ga

Most helpful comment

All 3 comments

This looks like not quite a duplicate, since it's about tracing and #872 is about metrics.

Was this page helpful?
0 / 5 - 0 ratings