Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientRegister ¶
ClientRegister registers a new otel client to redis client.
func ClusterRegister ¶
ClusterRegister registers a new otel client on redis cluster client.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents a otel client for redis.
func NewClientWithConfigPath ¶
NewClientWithConfigPath returns a new otel client with options from config path.
func NewClientWithOptions ¶
NewClientWithOptions returns a new otel client with options.
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
Cluster represents a otel client for redis cluster client.
func NewCluster ¶
NewCluster returns otel client with default options.
func NewClusterWithConfigPath ¶
NewClusterWithConfigPath returns otel client with options from config path.
func NewClusterWithOptions ¶
NewClusterWithOptions returns otel client with options.
type Options ¶
type Options struct {
Enabled bool
}
Options represents otel for redis client options.
func NewOptions ¶
NewOptions returns options from config file or environment vars.
func NewOptionsWithPath ¶
NewOptionsWithPath unmarshals a given key path into options and returns it.