Documentation
¶
Index ¶
- func SetVerboseLevel(level int)
- func VerboseLevel() int
- type Config
- type Option
- func WithExportTimeout(t time.Duration) Option
- func WithExporterEndpoint(url string) Option
- func WithExporterInsecure(insecure bool) Option
- func WithHeaders(headers map[string]string) Option
- func WithLogger(logger log.Logger) Option
- func WithMetricReportingPeriod(p time.Duration) Option
- func WithPropagators(propagators ...string) Option
- func WithResourceAttributes(attributes map[string]string) Option
- type Telemetry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetVerboseLevel ¶
func SetVerboseLevel(level int)
func VerboseLevel ¶
func VerboseLevel() int
Types ¶
type Option ¶
type Option func(*Config)
func WithExportTimeout ¶
WithExportTimeout configures the timeout used for Export().
func WithExporterEndpoint ¶ added in v0.2.0
WithExporterEndpoint configures the endpoint for sending metrics via OTLP
func WithExporterInsecure ¶ added in v0.2.0
WithExporterInsecure permits connecting to the trace endpoint without a certificate
func WithHeaders ¶
func WithLogger ¶
func WithMetricReportingPeriod ¶
WithMetricReportingPeriod configures the metric reporting period, how often the controller collects and exports metric data.
func WithPropagators ¶
WithPropagators configures propagators
func WithResourceAttributes ¶
WithResourceAttributes configures attributes on the resource
Click to show internal directories.
Click to hide internal directories.