opencensus-java
opencensus-java copied to clipboard
Test that exporters do not make requests to the server when opencensus-java is not enabled.
Exporters should avoid making requests to the server when an impl library is not available or stats/tracing is disabled so that opencensus-java has minimal impact on the application when it is not enabled. That behavior also allows the exporters to easily handle environments where the server is not available, e.g., in unit tests.