package
0.55.1
Repository: https://github.com/ovh/cds.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
ContextToSpanContext instanciates a span context from a context.Context.
No description provided by the author
No description provided by the author
Current return the current span.
DumpContext is an helper function.
End may close a tracing span.
FindAndRegisterViewLast begins collecting data for the given views.
FindAndRegisterViewLastFloat64 begins collecting data for the given views.
Init the opencensus exporter.
LinkTo a traceID.
No description provided by the author
No description provided by the author
New may start a tracing span.
NewViewCount creates a new view via aggregation Count().
NewViewLast creates a new view via aggregation LastValue().
NewViewLastFloat64 creates a new view via aggregation LastValue().
Start may start a tracing span.
ParseSampled parses the value of the X-B3-Sampled header.
ParseSpanID parses the value of the X-B3-SpanId or X-B3-ParentSpanId headers.
ParseTraceID parses the value of the X-B3-TraceId header.
Record an int64 measure.
RecordFloat64 a float64 measure.
RegisterView begins collecting data for the given views.
Span start a new span from the parent context.
SpanContextToContext merge a span context in a context.
No description provided by the author
No description provided by the author
Tag is helper function to instantiate trace.Attribute.
No description provided by the author

# Constants

B3 headers that OpenCensus understands.
B3 headers that OpenCensus understands.
B3 headers that OpenCensus understands.
B3 headers that OpenCensus understands.
No description provided by the author
No description provided by the author
Attributes recorded on the span for the requests.
No description provided by the author
Attributes recorded on the span for the requests.
No description provided by the author
Attributes recorded on the span for the requests.
No description provided by the author
B3 headers that OpenCensus understands.
B3 headers that OpenCensus understands.
No description provided by the author
Tags contants.
Tags contants.
Tags contants.
Tags contants.
Tags contants.
Tags contants.
Tags contants.
Tags contants.
Tags contants.
Tags contants.
Tags contants.
Tags contants.
Tags contants.
Tags contants.
Tags contants.
Tags contants.
Tags contants.
Tags contants.
Tags contants.
Tags contants.
Tags contants.
Tags contants.
Tags contants.
Tags contants.
Tags contants.
Tags contants.
Tags contants.
Tags contants.
Tags contants.
B3 headers that OpenCensus understands.
Attributes recorded on the span for the requests.

# Variables

DefaultFormat used by observability as: observability.DefaultFormat.SpanContextToRequest.
DefaultLatencyDistribution 100ms, ...
DefaultSizeDistribution 25k, 100k, 250, 500, 1M, 1.5M, 5M, 10M,.

# Structs

Configuration is the global tracing configuration.
No description provided by the author
No description provided by the author
No description provided by the author
Options is the options struct for a new tracing span.

# Interfaces

No description provided by the author