package
0.0.0-20241108122401-0eb90874fe81
Repository: https://github.com/replicate/go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

No description provided by the author
Meter fetches a meter, applying a standard naming convention for use across services.
No description provided by the author
No description provided by the author
TraceContextFromContext returns the tracecontext present in the passed context, if any.
TraceOptionsFromContext extracts any custom trace options from the trace state carried in the passed context.
Tracer fetches a tracer, applying a standard naming convention for use across services.
WithFullTrace returns a new context with full tracing mode enabled.
WithTraceContext adds the tracecontext from the provided carrier to a returned Context.
WithTraceOptions returns a copy of the provided context with the passed TraceOptions set.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

We serve metrics for Prometheus over HTTP.
No description provided by the author
No description provided by the author

# Structs

DroppedDataProcessor logs warnings when spans are dropping data due to attribute/event/link count limits.
No description provided by the author
No description provided by the author
TraceOptionsProcessor handles any custom span handling related to our own TraceOptions.
No description provided by the author

# Type aliases

Attributes is a wrapper around a slice of attribute.KeyValue values which serializes to and from a simple JSON dictionary, handling type validation and ensuring that JSON numbers are upcast to the appropriate types in the attributes (int64 if possible, float64 otherwise).
Don't forget to rerun `go generate ./...` if you add or remove values from the DetailLevel or SampleMode enums.
No description provided by the author