Versions in this module Expand all Collapse all v1 v1.0.0 Oct 10, 2026 Changes in this version + func IsSensitiveKey(key string) bool + func NewMetricReader(ctx context.Context, cfg Config) (sdkmetric.Reader, error) + func NewTraceExporter(ctx context.Context, cfg Config) (sdktrace.SpanExporter, error) + func RedactFields(fields logrus.Fields) map[string]interface + func RedactString(value string) string + func RedactValue(value interface{}) interface + type Config struct + DSN string + Endpoint string + ProjectID string + PublicKey string + Timeout time.Duration + func FromDSN(dsn string) (Config, bool, error) + func FromEnv() (Config, bool, error) + func ParseDSN(raw string) (Config, error) + func (c Config) Headers() map[string]string + func (c Config) OTLPSignalURL(signal string) string + func (c Config) SignalURL(signal string) string + type LogHook struct + func InstallLogHook(cfg Config) *LogHook + func NewLogHook(cfg Config) *LogHook + func (h *LogHook) Fire(entry *logrus.Entry) error + func (h *LogHook) Levels() []logrus.Level + func (h *LogHook) Shutdown(ctx context.Context) error