stackdriver

package
v0.0.60 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package stackdriver provides a stackdriver exporter.

Package stackdriver provides a stackdriver exporter.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(e *exp) error

func WithBundleCountThreshold

func WithBundleCountThreshold(cnt int) Option

func WithBundleDelayThreshold

func WithBundleDelayThreshold(dur string) Option

func WithDefaultMonitoringLabels

func WithDefaultMonitoringLabels(lbs *stackdriver.Labels) Option

func WithGetMetricDisplayName

func WithGetMetricDisplayName(f func(view *metrics.View) string) Option

func WithGetMetricPrefix

func WithGetMetricPrefix(f func(name string) string) Option

func WithLocation

func WithLocation(loc string) Option

func WithMetricPrefix

func WithMetricPrefix(prefix string) Option

func WithMonitoredResource

func WithMonitoredResource(mr monitoredresource.Interface) Option

func WithMonitoring

func WithMonitoring(enabled bool) Option

func WithMonitoringClientOptions

func WithMonitoringClientOptions(copts ...google.Option) Option

func WithNumberOfWorkers

func WithNumberOfWorkers(n int) Option

func WithOnErrorFunc

func WithOnErrorFunc(f func(error)) Option

func WithProjectID

func WithProjectID(pid string) Option

func WithReportingInterval

func WithReportingInterval(dur string) Option

func WithSkipCMD

func WithSkipCMD(skip bool) Option

func WithTimeout

func WithTimeout(dur string) Option

func WithTraceClientOptions

func WithTraceClientOptions(copts ...google.Option) Option

func WithTraceSpansBufferMaxBytes

func WithTraceSpansBufferMaxBytes(bs int) Option

func WithTracing

func WithTracing(enabled bool) Option

type Stackdriver

type Stackdriver interface {
	exporter.Exporter
}

func New

func New(opts ...Option) (s Stackdriver, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL