Documentation ¶
Overview ¶
Package trace provides trace functions.
Package trace provides trace functions.
Package trace provides trace function.
Index ¶
- func StatusCodeAborted(msg string) trace.Status
- func StatusCodeAlreadyExists(msg string) trace.Status
- func StatusCodeCancelled(msg string) trace.Status
- func StatusCodeDataLoss(msg string) trace.Status
- func StatusCodeDeadlineExceeded(msg string) trace.Status
- func StatusCodeFailedPrecondition(msg string) trace.Status
- func StatusCodeInternal(msg string) trace.Status
- func StatusCodeInvalidArgument(msg string) trace.Status
- func StatusCodeNotFound(msg string) trace.Status
- func StatusCodeOK(msg string) trace.Status
- func StatusCodeOutOfRange(msg string) trace.Status
- func StatusCodePermissionDenied(msg string) trace.Status
- func StatusCodeResourceExhausted(msg string) trace.Status
- func StatusCodeUnauthenticated(msg string) trace.Status
- func StatusCodeUnavailable(msg string) trace.Status
- func StatusCodeUnimplemented(msg string) trace.Status
- func StatusCodeUnknown(msg string) trace.Status
- type Span
- type TraceOption
- type Tracer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StatusCodeAborted ¶
func StatusCodeAlreadyExists ¶
func StatusCodeCancelled ¶
func StatusCodeDataLoss ¶
func StatusCodeInternal ¶
func StatusCodeNotFound ¶
func StatusCodeOK ¶
func StatusCodeOutOfRange ¶
func StatusCodeUnavailable ¶
func StatusCodeUnimplemented ¶
func StatusCodeUnknown ¶
Types ¶
type TraceOption ¶
type TraceOption func(*tracer)
func WithSamplingRate ¶
func WithSamplingRate(rate float64) TraceOption
Click to show internal directories.
Click to hide internal directories.