Documentation ¶
Overview ¶
Package stackdriver provides a stackdriver exporter.
Package stackdriver provides a stackdriver exporter.
Index ¶
- type Option
- func WithBundleCountThreshold(cnt int) Option
- func WithBundleDelayThreshold(dur string) Option
- func WithDefaultMonitoringLabels(lbs *stackdriver.Labels) Option
- func WithGetMetricDisplayName(f func(view *metrics.View) string) Option
- func WithGetMetricPrefix(f func(name string) string) Option
- func WithLocation(loc string) Option
- func WithMetricPrefix(prefix string) Option
- func WithMonitoredResource(mr monitoredresource.Interface) Option
- func WithMonitoring(enabled bool) Option
- func WithMonitoringClientOptions(copts ...google.Option) Option
- func WithNumberOfWorkers(n int) Option
- func WithOnErrorFunc(f func(error)) Option
- func WithProjectID(pid string) Option
- func WithReportingInterval(dur string) Option
- func WithSkipCMD(skip bool) Option
- func WithTimeout(dur string) Option
- func WithTraceClientOptions(copts ...google.Option) Option
- func WithTraceSpansBufferMaxBytes(bs int) Option
- func WithTracing(enabled bool) Option
- type Stackdriver
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 WithDefaultMonitoringLabels ¶
func WithDefaultMonitoringLabels(lbs *stackdriver.Labels) Option
func WithGetMetricPrefix ¶
func WithLocation ¶
func WithMetricPrefix ¶
func WithMonitoredResource ¶
func WithMonitoredResource(mr monitoredresource.Interface) Option
func WithMonitoring ¶
func WithNumberOfWorkers ¶
func WithOnErrorFunc ¶
func WithProjectID ¶
func WithReportingInterval ¶
func WithSkipCMD ¶
func WithTimeout ¶
func WithTraceClientOptions ¶
func WithTracing ¶
type Stackdriver ¶
func New ¶
func New(opts ...Option) (s Stackdriver, err error)
Click to show internal directories.
Click to hide internal directories.