Back to godoc.org
go.opencensus.io / examples / exporter

Package exporter

v0.7.0
Latest Go to latest

The latest major version is .

Published: Apr 4, 2018 | License: Apache-2.0 | Module: go.opencensus.io

Index

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.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier