Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Email string PrivateKey string // by file Filename string Scopes []string TokenURL string Timeout time.Duration // prefix is used in span's name. // stackdriver trace can only filter by URI(name), // so adding prefix can make difference between other service or environment. // e.g. `prod`, `stage`, `dev`, `dev-myapp`, `dev-yourapp` Prefix string }
Config contains auth and sampling setting for Stackdriver trace.
type Exporter ¶
type Exporter struct { Exporter *opencensus.Exporter // contains filtered or unexported fields }
Exporter is Stackdriver trace client.
func NewExporter ¶
NewExporter returns initialized *Exporter.
Click to show internal directories.
Click to hide internal directories.