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: 5 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(p *prof) error

func WithAPIAddr

func WithAPIAddr(addr string) Option

func WithAllocForceGC

func WithAllocForceGC(enabled bool) Option

func WithAllocProfiling

func WithAllocProfiling(enabled bool) Option

func WithCPUProfiling

func WithCPUProfiling(enabled bool) Option

func WithClientOptions

func WithClientOptions(copts ...google.Option) Option

func WithDebugLogging

func WithDebugLogging(enabled bool) Option

func WithGoroutineProfiling

func WithGoroutineProfiling(enabled bool) Option

func WithHeapProfiling

func WithHeapProfiling(enabled bool) Option

func WithInstance

func WithInstance(instance string) Option

func WithMutexProfiling

func WithMutexProfiling(enabled bool) Option

func WithProjectID

func WithProjectID(pid string) Option

func WithService

func WithService(name string) Option

func WithServiceVersion

func WithServiceVersion(version string) Option

func WithZone

func WithZone(zone string) Option

type Stackdriver

type Stackdriver interface {
	vprof.Profiler
}

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