package exporter
import "go.opencensus.io/examples/exporter"
Index ¶
Types ¶
type PrintExporter ¶
type PrintExporter struct{}
PrintExporter is a stats and trace exporter that logs the exported data to the console.
func (*PrintExporter) ExportSpan ¶
func (e *PrintExporter) ExportSpan(vd *trace.SpanData)
ExportSpan logs the trace span.
func (*PrintExporter) ExportView ¶
func (e *PrintExporter) ExportView(vd *view.Data)
ExportView logs the view data.
Source Files ¶
exporter.go
- Version
- v0.11.0
- Published
- May 25, 2018
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 3 hours ago –
Tools for package owners.