package
0.15.0
Repository: https://github.com/go-faster/oteldb.git
Documentation: pkg.go.dev

# Functions

LabelerFromContext retrieves the Labeler from the provided context, if present.
NewArrayValueAnyValue returns new AnyValue from ArrayValue.
NewBoolValueAnyValue returns new AnyValue from BoolValue.
NewBytesValueAnyValue returns new AnyValue from BytesValue.
NewClient initializes new Client defined by OAS.
NewDoubleValueAnyValue returns new AnyValue from DoubleValue.
NewIntValueAnyValue returns new AnyValue from IntValue.
NewKvlistValueAnyValue returns new AnyValue from KvlistValue.
NewOptDuration returns new OptDuration with value set to v.
NewOptInt returns new OptInt with value set to v.
NewOptString returns new OptString with value set to v.
NewOptTagScope returns new OptTagScope with value set to v.
NewOptTempoSpanSet returns new OptTempoSpanSet with value set to v.
NewOptUnixSeconds returns new OptUnixSeconds with value set to v.
NewServer creates new Server.
NewStringValueAnyValue returns new AnyValue from StringValue.
WithClient specifies http client to use.
WithErrorHandler specifies error handler to use.
WithMaxMultipartMemory specifies limit of memory for storing file parts.
WithMeterProvider specifies a meter provider to use for creating a meter.
WithMethodNotAllowed specifies Method Not Allowed handler to use.
WithMiddleware specifies middlewares to use.
WithNotFound specifies Not Found handler to use.
WithPathPrefix specifies server path prefix.
WithServerURL sets context key to override server URL.
WithTracerProvider specifies a tracer provider to use for creating a tracer.

# Constants

Possible values for AnyValueType.
Possible values for AnyValueType.
Possible values for AnyValueType.
Possible values for AnyValueType.
Possible values for AnyValueType.
Possible values for AnyValueType.
Possible values for AnyValueType.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Ref: #/components/schemas/AnyValue AnyValue represents sum type.
Ref: #/components/schemas/ArrayValue.
Ref: #/components/schemas/BoolValue.
Ref: #/components/schemas/BytesValue.
Client implements OAS client.
Ref: #/components/schemas/DoubleValue.
No description provided by the author
ErrorStatusCode wraps Error with StatusCode.
Ref: #/components/schemas/IntValue.
Ref: #/components/schemas/KeyValue.
Ref: #/components/schemas/KvlistValue.
Labeler is used to allow adding custom attributes to the server request metrics.
OptDuration is optional time.Duration.
OptInt is optional int.
OptString is optional string.
OptTagScope is optional TagScope.
OptTempoSpanSet is optional TempoSpanSet.
OptUnixSeconds is optional time.Time.
Ref: #/components/schemas/PrometheusVersion.
Route is route object.
Ref: #/components/schemas/ScopeTags.
SearchParams is parameters of search operation.
SearchTagsParams is parameters of searchTags operation.
SearchTagsV2Params is parameters of searchTagsV2 operation.
SearchTagValuesParams is parameters of searchTagValues operation.
SearchTagValuesV2Params is parameters of searchTagValuesV2 operation.
Server implements http server based on OpenAPI v3 specification and calls Handler to handle requests.
Ref: #/components/schemas/StringValue.
Ref: #/components/schemas/TagNames.
Ref: #/components/schemas/TagNamesV2.
Ref: #/components/schemas/TagValue.
Ref: #/components/schemas/TagValues.
Ref: #/components/schemas/TagValuesV2.
Ref: #/components/schemas/TempoSpan.
Ref: #/components/schemas/TempoSpanSet.
No description provided by the author
Ref: #/components/responses/TraceByIDNotFound.
TraceByIDParams is parameters of traceByID operation.
Ref: #/components/schemas/Traces.
Ref: #/components/schemas/TraceSearchMetadata.
UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.

# Interfaces

ClientOption is client config option.
Handler handles operations described by OpenAPI v3 specification.
Invoker invokes operations described by OpenAPI v3 specification.
Option is config option.
ServerOption is server config option.
No description provided by the author

# Type aliases

AnyValueType is oneOf type of AnyValue.
No description provided by the author
No description provided by the author
ErrorHandler is error handler.
Middleware is middleware type.
Ref: #/components/schemas/TagScope.