package stdout
import "go.opentelemetry.io/otel/exporter/metric/stdout"
Index ¶
- type Exporter
- func New(options Options) (*Exporter, error)
- func (e *Exporter) Export(_ context.Context, checkpointSet export.CheckpointSet) error
- type Options
Types ¶
type Exporter ¶
type Exporter struct {
// contains filtered or unexported fields
}
func New ¶
func (*Exporter) Export ¶
type Options ¶
type Options struct { // File is the destination. If not set, os.Stdout is used. File io.Writer // PrettyPrint will pretty the json representation of the span, // making it print "pretty". Default is false. PrettyPrint bool // DoNotPrintTime suppresses timestamp printing. This is // useful to create deterministic test conditions. DoNotPrintTime bool // Quantiles are the desired aggregation quantiles for measure // metric data, used when the configured aggregator supports // quantiles. // // Note: this exporter is meant as a demonstration; a real // exporter may wish to configure quantiles on a per-metric // basis. Quantiles []float64 }
Options are the options to be used when initializing a stdout export.
Source Files ¶
stdout.go
- Version
- v0.1.1
- Published
- Nov 15, 2019
- Platform
- darwin/amd64
- Imports
- 9 packages
- Last checked
- 2 hours ago –
Tools for package owners.