|
20 | 20 | from thrift.protocol import TBinaryProtocol, TCompactProtocol |
21 | 21 | from thrift.transport import THttpClient, TTransport |
22 | 22 |
|
| 23 | +from opencensus.common.transports import sync |
23 | 24 | from opencensus.common.utils import timestamp_to_microseconds |
24 | 25 | from opencensus.trace import link as link_module |
25 | 26 | from opencensus.trace.exporters import base |
26 | 27 | from opencensus.trace.exporters.gen.jaeger import agent, jaeger |
27 | | -from opencensus.trace.exporters.transports import sync |
28 | 28 |
|
29 | 29 | DEFAULT_HOST_NAME = 'localhost' |
30 | 30 | DEFAULT_AGENT_PORT = 6831 |
@@ -71,7 +71,7 @@ class JaegerExporter(base.Exporter): |
71 | 71 | extend from the base :class:`.Transport` type and |
72 | 72 | implement :meth:`.Transport.export`. Defaults to |
73 | 73 | :class:`.SyncTransport`. The other option is |
74 | | - :class:`.BackgroundThreadTransport`. |
| 74 | + :class:`.AsyncTransport`. |
75 | 75 | """ |
76 | 76 |
|
77 | 77 | def __init__( |
@@ -332,7 +332,7 @@ class Collector(base.Exporter): |
332 | 332 | extend from the base :class:`.Transport` type and |
333 | 333 | implement :meth:`.Transport.export`. Defaults to |
334 | 334 | :class:`.SyncTransport`. The other option is |
335 | | - :class:`.BackgroundThreadTransport`. |
| 335 | + :class:`.AsyncTransport`. |
336 | 336 |
|
337 | 337 | :type http_transport: :class:`type` |
338 | 338 | :param http_transport: Class for creating new client for Thrift |
@@ -414,7 +414,7 @@ class AgentClientUDP(base.Exporter): |
414 | 414 | extend from the base :class:`.Transport` type and |
415 | 415 | implement :meth:`.Transport.export`. Defaults to |
416 | 416 | :class:`.SyncTransport`. The other option is |
417 | | - :class:`.BackgroundThreadTransport`. |
| 417 | + :class:`.AsyncTransport`. |
418 | 418 | """ |
419 | 419 |
|
420 | 420 | def __init__( |
|
0 commit comments