Exporter - Print Exporter¶
Export the trace spans by printing them out.
-
class
opencensus.trace.print_exporter.
PrintExporter
(transport=<class 'opencensus.common.transports.sync.SyncTransport'>)[source]¶ Bases:
opencensus.trace.base_exporter.Exporter
Export the spans by printing them.
- Parameters
transport (
type
) -- Class for creating new transport objects. It should extend from the base_exporterTransport
type and implementTransport.export()
. Defaults toSyncTransport
. The other option isAsyncTransport
.