contrib.go.opencensus.io/integrations/ocsql.ocConn.options (field)
42 uses
contrib.go.opencensus.io/integrations/ocsql (current package)
driver.go#L122: options TraceOptions
driver.go#L128: if c.options.Ping && (c.options.AllowRoot || trace.FromContext(ctx) != nil) {
driver.go#L131: if len(c.options.DefaultAttributes) > 0 {
driver.go#L132: span.AddAttributes(c.options.DefaultAttributes...)
driver.go#L157: if !c.options.AllowRoot {
driver.go#L162: attrs := make([]trace.Attribute, 0, len(c.options.DefaultAttributes)+2)
driver.go#L163: attrs = append(attrs, c.options.DefaultAttributes...)
driver.go#L171: if c.options.Query {
driver.go#L173: if c.options.QueryParams {
driver.go#L188: return ocResult{parent: res, ctx: ctx, options: c.options}, nil
driver.go#L199: if !c.options.AllowRoot && parentSpan == nil {
driver.go#L209: attrs := append([]trace.Attribute(nil), c.options.DefaultAttributes...)
driver.go#L210: if c.options.Query {
driver.go#L212: if c.options.QueryParams {
driver.go#L227: return ocResult{parent: res, ctx: ctx, options: c.options}, nil
driver.go#L237: if !c.options.AllowRoot {
driver.go#L242: attrs := make([]trace.Attribute, 0, len(c.options.DefaultAttributes)+2)
driver.go#L243: attrs = append(attrs, c.options.DefaultAttributes...)
driver.go#L251: if c.options.Query {
driver.go#L253: if c.options.QueryParams {
driver.go#L269: return wrapRows(ctx, rows, c.options), nil
driver.go#L280: if !c.options.AllowRoot && parentSpan == nil {
driver.go#L290: attrs := append([]trace.Attribute(nil), c.options.DefaultAttributes...)
driver.go#L291: if c.options.Query {
driver.go#L293: if c.options.QueryParams {
driver.go#L309: return wrapRows(ctx, rows, c.options), nil
driver.go#L318: if c.options.AllowRoot {
driver.go#L320: attrs := make([]trace.Attribute, 0, len(c.options.DefaultAttributes)+1)
driver.go#L321: attrs = append(attrs, c.options.DefaultAttributes...)
driver.go#L323: if c.options.Query {
driver.go#L339: stmt = wrapStmt(stmt, query, c.options)
driver.go#L355: attrs := append([]trace.Attribute(nil), c.options.DefaultAttributes...)
driver.go#L356: if c.options.AllowRoot || trace.FromContext(ctx) != nil {
driver.go#L358: if c.options.Query {
driver.go#L380: stmt = wrapStmt(stmt, query, c.options)
driver.go#L387: if !c.options.AllowRoot && trace.FromContext(ctx) == nil {
driver.go#L395: attrs := append([]trace.Attribute(nil), c.options.DefaultAttributes...)
driver.go#L417: return ocTx{parent: tx, ctx: ctx, options: c.options}, nil
driver.go#L432: return ocTx{parent: tx, ctx: ctx, options: c.options}, nil
driver_go1.10.go#L53: c := &ocConn{parent: parent, options: options}
driver_go1.10.go#L202: return &ocConn{parent: c, options: d.options}, nil
 |
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. |