Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct{}
func (Client) GRPCOptions ¶
func (Client) GRPCOptions(options ...grpc.DialOption) func(*config.Client)
GRPCOptions provide []grpc.DialOption to the client.
type Platform ¶
type Platform struct{}
func (Platform) ClientOptions ¶
ClientOptions sets global settings for new clients that can be overwritten by local settings for each client.
func (Platform) OpenTelemetry ¶
func (Platform) OpenTelemetry(serviceName string, sampleRate float64, exporters ...trace.SpanExporter) func(*config.Platform)
OpenTelemetry configures OpenTelemetry settings for clients and servers.
type Server ¶
type Server struct{}
func (Server) Attributes ¶
func (Server) Attributes(attributes *attributes.Attributes) func(*config.Server)
Attributes are server settings that are accessible via the API.
func (Server) GRPCOptions ¶
func (Server) GRPCOptions(options ...grpc.ServerOption) func(*config.Server)
GRPCOptions provide []grpc.ServerOption to the server.
Click to show internal directories.
Click to hide internal directories.