Documentation ¶
Overview ¶
Package reporter holds reporters contain official reporter implementations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGRPCReporter ¶
func NewGRPCReporter(serverAddr string, opts ...GRPCReporterOption) (go2sky.Reporter, error)
NewGRPCReporter create a new reporter to send data to gRPC oap server. Only one backend address is allowed.
func NewLogReporter ¶
Types ¶
type GRPCReporterOption ¶
type GRPCReporterOption func(r *gRPCReporter)
GRPCReporterOption allows for functional options to adjust behaviour of a gRPC reporter to be created by NewGRPCReporter
func WithLogger ¶
func WithLogger(logger *log.Logger) GRPCReporterOption
WithLogger setup logger for gRPC reporter
func WithPingInterval ¶
func WithPingInterval(interval time.Duration) GRPCReporterOption
WithPingInterval setup ping interval
Directories ¶
Path | Synopsis |
---|---|
grpc
|
|
language-agent-v2/mock_trace
Package mock_language_agent_v2 is a generated GoMock package.
|
Package mock_language_agent_v2 is a generated GoMock package. |
register/mock_register
Package mock_register is a generated GoMock package.
|
Package mock_register is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.