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.ExporterExport the spans by printing them.
- Parameters
transport (
type) -- Class for creating new transport objects. It should extend from the base_exporterTransporttype and implementTransport.export(). Defaults toSyncTransport. The other option isAsyncTransport.