go.opencensus.io: go.opencensus.io/examples/exporter Index | Files

package exporter

import "go.opencensus.io/examples/exporter"


Package Files


type PrintExporter Uses

type PrintExporter struct{}

PrintExporter is a stats and trace exporter that logs the exported data to the console.

The intent is help new users familiarize themselves with the capabilities of opencensus.

This should NOT be used for production workloads.

func (*PrintExporter) ExportSpan Uses

func (e *PrintExporter) ExportSpan(vd *trace.SpanData)

ExportSpan logs the trace span.

func (*PrintExporter) ExportView Uses

func (e *PrintExporter) ExportView(vd *view.Data)

ExportView logs the view data.

Package exporter imports 6 packages (graph) and is imported by 3 packages. Updated 2018-09-13. Refresh now. Tools for package owners.