Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Telemetry)
func WithDatadogExporter ¶
func WithLogger ¶
func WithLogger(log hclog.Logger) Option
WithLogger sets the logger for use with the server.
func WithOpenCensusExporter ¶
func WithOpenCensusExporter(exporterOptions []ocagent.ExporterOption) Option
func WithZpages ¶
WithZpages enables a zpages server. Addr will default to 127.0.0.1:9999 unless otherwise specified.
type Telemetry ¶
type Telemetry struct {
// contains filtered or unexported fields
}
func NewTelemetry ¶
NewTelemetry initializes the telemetry components.
Click to show internal directories.
Click to hide internal directories.