Categorygo.opentelemetry.io/otel/exporters/stdout/stdoutmetric
modulepackage
1.35.0
Repository: https://github.com/open-telemetry/opentelemetry-go.git
Documentation: pkg.go.dev

# README

STDOUT Metric Exporter

PkgGoDev

# Functions

New returns a configured metric exporter.
WithAggregationSelector sets the AggregationSelector the exporter will use to determine the aggregation to use for an instrument based on its kind.
WithEncoder sets the exporter to use encoder to encode all the metric data-types to an output.
WithoutTimestamps sets all timestamps to zero in the output stream.
WithPrettyPrint prettifies the emitted output.
WithTemporalitySelector sets the TemporalitySelector the exporter will use to determine the Temporality of an instrument based on its kind.
WithWriter sets the export stream destination.

# Interfaces

Encoder encodes and outputs OpenTelemetry metric data-types as human readable text.
Option sets exporter option values.