type go.opencensus.io/trace.SpanContext
39 uses
go.opencensus.io/trace (current package)
export.go#L75: SpanContext
sampling.go#L28: ParentContext SpanContext
trace.go#L44: spanContext SpanContext
trace.go#L80: func (sc SpanContext) IsSampled() bool {
trace.go#L85: func (sc *SpanContext) setIsSampled(sampled bool) {
trace.go#L102: type SpanContext struct {
trace.go#L171: var parent SpanContext
trace.go#L179: span := startSpanInternal(name, parent != SpanContext{}, parent, false, opts)
trace.go#L193: func StartSpanWithRemoteParent(ctx context.Context, name string, parent SpanContext, o ...StartOption) (context.Context, *Span) {
trace.go#L198: span := startSpanInternal(name, parent != SpanContext{}, parent, true, opts)
trace.go#L204: func startSpanInternal(name string, hasParent bool, parent SpanContext, remoteParent bool, o StartOptions) *Span {
trace.go#L320: func (s *Span) SpanContext() SpanContext {
trace.go#L322: return SpanContext{}
go.opencensus.io/trace/propagation
propagation.go#L57: func Binary(sc trace.SpanContext) []byte {
propagation.go#L58: if sc == (trace.SpanContext{}) {
propagation.go#L74: func FromBinary(b []byte) (sc trace.SpanContext, ok bool) {
propagation.go#L76: return trace.SpanContext{}, false
propagation.go#L83: return trace.SpanContext{}, false
propagation.go#L104: SpanContextFromRequest(req *http.Request) (sc trace.SpanContext, ok bool)
propagation.go#L105: SpanContextToRequest(sc trace.SpanContext, req *http.Request)
go.opencensus.io/plugin/ocgrpc
trace_common.go#L58: parent trace.SpanContext
go.opencensus.io/plugin/ochttp
server.go#L142: func (h *Handler) extractSpanContext(r *http.Request) (trace.SpanContext, bool) {
go.opencensus.io/plugin/ochttp/propagation/b3
b3.go#L48: func (f *HTTPFormat) SpanContextFromRequest(req *http.Request) (sc trace.SpanContext, ok bool) {
b3.go#L51: return trace.SpanContext{}, false
b3.go#L55: return trace.SpanContext{}, false
b3.go#L58: return trace.SpanContext{
b3.go#L112: func (f *HTTPFormat) SpanContextToRequest(sc trace.SpanContext, req *http.Request) {
go.opencensus.io/zpages
templates.go#L110: if sc == (trace.SpanContext{}) {
tracez.go#L182: trace.SpanContext
tracez.go#L381: if sc := r.SpanContext; sc != (trace.SpanContext{}) {
contrib.go.opencensus.io/exporter/stackdriver
metrics.go#L493: if spanCtx, succ := v.(trace.SpanContext); succ {
metrics.go#L512: func toPbSpanCtxAttachment(spanCtx trace.SpanContext, projectID string) *any.Any {
google.golang.org/api/transport/http/internal/propagation
http.go#L35: func (f *HTTPFormat) SpanContextFromRequest(req *http.Request) (sc trace.SpanContext, ok bool) {
http.go#L41: return trace.SpanContext{}, false
http.go#L47: return trace.SpanContext{}, false
http.go#L53: return trace.SpanContext{}, false
http.go#L65: return trace.SpanContext{}, false
http.go#L75: return trace.SpanContext{}, false
http.go#L82: func (f *HTTPFormat) SpanContextToRequest(sc trace.SpanContext, req *http.Request) {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |