Versions in this module Expand all Collapse all v0 v0.1.2 Apr 23, 2021 Changes in this version + func Shutdown(c *Config) + func Start(c *Config) error + type Config struct + AccessKeyID string + AccessKeySecret string + AttributesEnvKeys string + InstanceID string + MetricExporterEndpoint string + MetricExporterEndpointInsecure bool + MetricReportingPeriod string + Project string + Resource *resource.Resource + ServiceName string + ServiceVersion string + TraceExporterEndpoint string + TraceExporterEndpointInsecure bool + func NewConfig(opts ...Option) (*Config, error) + func (c *Config) IsValid() error + type Option func(*Config) + func WithErrorHandler(handler otel.ErrorHandler) Option + func WithMetricExporterEndpoint(url string) Option + func WithMetricExporterInsecure(insecure bool) Option + func WithMetricReportingPeriod(p time.Duration) Option + func WithResource(resource *resource.Resource) Option + func WithResourceAttributes(attributes map[string]string) Option + func WithSLSConfig(project, instanceID, accessKeyID, accessKeySecret string) Option + func WithServiceName(name string) Option + func WithServiceVersion(version string) Option + func WithTraceExporterEndpoint(url string) Option + func WithTraceExporterInsecure(insecure bool) Option