Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(ctx context.Context) ([]grpc.DialOption, []grpc.CallOption)
Register registers a new datadog plugin for grpc client.
Types ¶
type Datadog ¶
type Datadog struct {
// contains filtered or unexported fields
}
Datadog represents datadog plugin for grpc client.
func NewDatadog ¶
NewDatadog returns a new datadog plugin with default options.
func NewDatadogWithConfigPath ¶
NewDatadogWithConfigPath returns a new datadog plugin with options from config path.
func NewDatadogWithOptions ¶
NewDatadogWithOptions returns a new datadog plugin with options.
func (*Datadog) Register ¶
func (i *Datadog) Register(ctx context.Context) ([]grpc.DialOption, []grpc.CallOption)
Register registers this datadog plugin for grpc client.
type Options ¶
type Options struct { Enabled bool // contains filtered or unexported fields }
Options datadog plugin for grpc client options.
func NewOptions ¶
NewOptions returns options from config file or environment vars.
Click to show internal directories.
Click to hide internal directories.