Documentation
¶
Overview ¶
Package trace defines common-use Dapper-style tracing APIs for the Go programming language.
Example ¶
package main import ( "fmt" "time" "github.com/rakyll/trace" ) func main() { trace.Start(func(s *trace.Span) { fmt.Printf("recorded span: %v\n", s) }) s := trace.NewSpan("/foo") time.Sleep(time.Second) s.End() time.Sleep(time.Second) }
Output:
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Directories
¶
Path | Synopsis |
---|---|
Package gcp contains a Google Cloud Platform-specific implementation of the generic tracing APIs.
|
Package gcp contains a Google Cloud Platform-specific implementation of the generic tracing APIs. |
Package minitrace contains primitives to support propagation of tracing information.
|
Package minitrace contains primitives to support propagation of tracing information. |
Click to show internal directories.
Click to hide internal directories.