type go.opencensus.io/trace.Span
48 uses
go.opencensus.io/trace (current package)
spanstore.go#L188: active map[*Span]struct{}
spanstore.go#L197: active: make(map[*Span]struct{}),
spanstore.go#L274: func (s *spanStore) add(span *Span) {
spanstore.go#L282: func (s *spanStore) finished(span *Span, sd *SpanData) {
trace.go#L36: type Span struct {
trace.go#L69: func (s *Span) IsRecordingEvents() bool {
trace.go#L112: func FromContext(ctx context.Context) *Span {
trace.go#L113: s, _ := ctx.Value(contextKey{}).(*Span)
trace.go#L118: func NewContext(parent context.Context, s *Span) context.Context {
trace.go#L169: func StartSpan(ctx context.Context, name string, o ...StartOption) (context.Context, *Span) {
trace.go#L193: func StartSpanWithRemoteParent(ctx context.Context, name string, parent SpanContext, o ...StartOption) (context.Context, *Span) {
trace.go#L204: func startSpanInternal(name string, hasParent bool, parent SpanContext, remoteParent bool, o StartOptions) *Span {
trace.go#L205: span := &Span{}
trace.go#L265: func (s *Span) End() {
trace.go#L295: func (s *Span) makeSpanData() *SpanData {
trace.go#L320: func (s *Span) SpanContext() SpanContext {
trace.go#L328: func (s *Span) SetName(name string) {
trace.go#L338: func (s *Span) SetStatus(status Status) {
trace.go#L347: func (s *Span) interfaceArrayToLinksArray() []Link {
trace.go#L355: func (s *Span) interfaceArrayToMessageEventArray() []MessageEvent {
trace.go#L363: func (s *Span) interfaceArrayToAnnotationArray() []Annotation {
trace.go#L371: func (s *Span) lruAttributesToAttributeMap() map[string]interface{} {
trace.go#L383: func (s *Span) copyToCappedAttributes(attributes []Attribute) {
trace.go#L389: func (s *Span) addChild() {
trace.go#L401: func (s *Span) AddAttributes(attributes ...Attribute) {
trace.go#L417: func (s *Span) lazyPrintfInternal(attributes []Attribute, format string, a ...interface{}) {
trace.go#L434: func (s *Span) printStringInternal(attributes []Attribute, str string) {
trace.go#L452: func (s *Span) Annotate(attributes []Attribute, str string) {
trace.go#L460: func (s *Span) Annotatef(attributes []Attribute, format string, a ...interface{}) {
trace.go#L473: func (s *Span) AddMessageSendEvent(messageID, uncompressedByteSize, compressedByteSize int64) {
trace.go#L495: func (s *Span) AddMessageReceiveEvent(messageID, uncompressedByteSize, compressedByteSize int64) {
trace.go#L512: func (s *Span) AddLink(l Link) {
trace.go#L521: func (s *Span) String() string {
go.opencensus.io/plugin/ochttp
client.go#L62: NewClientTrace func(*http.Request, *trace.Span) *httptrace.ClientTrace
server.go#L112: var span *trace.Span
span_annotating_client_trace.go#L27: sp *trace.Span
span_annotating_client_trace.go#L35: func NewSpanAnnotator(r *http.Request, s *trace.Span) *httptrace.ClientTrace {
span_annotating_client_trace.go#L41: func NewSpanAnnotatingClientTrace(_ *http.Request, s *trace.Span) *httptrace.ClientTrace {
trace.go#L47: newClientTrace func(*http.Request, *trace.Span) *httptrace.ClientTrace
trace.go#L107: span *trace.Span
contrib.go.opencensus.io/integrations/ocsql
driver.go#L129: var span *trace.Span
driver.go#L203: var span *trace.Span
driver.go#L284: var span *trace.Span
driver.go#L354: var span *trace.Span
driver.go#L394: var span *trace.Span
driver.go#L575: var span *trace.Span
driver.go#L614: var span *trace.Span
driver.go#L881: func setSpanStatus(span *trace.Span, err error) {
 |
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. |