Documentation
¶
Index ¶
- Constants
- type BatchItemResult
- type Config
- type Duck
- type DuckBugBeforeSendFunc
- type DuckBugHTTPTransport
- type DuckBugHTTPTransportConfig
- type DuckBugPrivacyOptions
- type DuckBugProvider
- type DuckBugProviderConfig
- type DuckBugProviderOption
- func WithAsync(enabled bool) DuckBugProviderOption
- func WithBatchSize(size int) DuckBugProviderOption
- func WithBeforeSend(fn DuckBugBeforeSendFunc) DuckBugProviderOption
- func WithConnectionTimeout(timeout time.Duration) DuckBugProviderOption
- func WithFlushInterval(interval time.Duration) DuckBugProviderOption
- func WithMaxRetries(maxRetries int) DuckBugProviderOption
- func WithPrivacy(options DuckBugPrivacyOptions) DuckBugProviderOption
- func WithQueueSize(size int) DuckBugProviderOption
- func WithRetryDelay(delay time.Duration) DuckBugProviderOption
- func WithTimeout(timeout time.Duration) DuckBugProviderOption
- func WithTransport(transport DuckBugTransport) DuckBugProviderOption
- func WithTransportFailureHandler(fn func(FailureInfo)) DuckBugProviderOption
- type DuckBugTransport
- type Event
- type EventType
- type FailureInfo
- type FlushableProvider
- type Level
- type Option
- func WithEnvironment(environment string) Option
- func WithPond(p *pond.Pond) Option
- func WithProviderOptions(options ...DuckBugProviderOption) Option
- func WithRelease(release string) Option
- func WithSensitiveFields(fields ...string) Option
- func WithServerName(serverName string) Option
- func WithService(service string) Option
- type Provider
- type Span
- type Transaction
- type TransportResult
Constants ¶
View Source
const ( EventTypeError = corepkg.EventTypeError EventTypeLog = corepkg.EventTypeLog EventTypeTransaction = corepkg.EventTypeTransaction LevelDebug = corepkg.LevelDebug LevelInfo = corepkg.LevelInfo LevelWarn = corepkg.LevelWarn LevelError = corepkg.LevelError LevelFatal = corepkg.LevelFatal )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchItemResult ¶
type BatchItemResult = corepkg.BatchItemResult
type Duck ¶
type DuckBugBeforeSendFunc ¶
type DuckBugBeforeSendFunc = duckbugprovider.BeforeSendFunc
type DuckBugHTTPTransport ¶
type DuckBugHTTPTransport = duckbugprovider.HTTPTransport
func NewDuckBugHTTPTransport ¶
func NewDuckBugHTTPTransport(config DuckBugHTTPTransportConfig) *DuckBugHTTPTransport
type DuckBugHTTPTransportConfig ¶
type DuckBugHTTPTransportConfig = duckbugprovider.HTTPTransportConfig
type DuckBugPrivacyOptions ¶
type DuckBugPrivacyOptions = duckbugprovider.PrivacyOptions
func DefaultDuckBugPrivacyOptions ¶
func DefaultDuckBugPrivacyOptions() DuckBugPrivacyOptions
type DuckBugProvider ¶
type DuckBugProvider = duckbugprovider.Provider
func NewDuckBugProvider ¶
func NewDuckBugProvider(dsn string, options ...DuckBugProviderOption) *DuckBugProvider
func NewDuckBugProviderWithConfig ¶
func NewDuckBugProviderWithConfig(config DuckBugProviderConfig) *DuckBugProvider
type DuckBugProviderConfig ¶
type DuckBugProviderConfig = duckbugprovider.Config
type DuckBugProviderOption ¶
type DuckBugProviderOption = duckbugprovider.Option
func WithAsync ¶ added in v0.2.2
func WithAsync(enabled bool) DuckBugProviderOption
func WithBatchSize ¶ added in v0.2.2
func WithBatchSize(size int) DuckBugProviderOption
func WithBeforeSend ¶ added in v0.2.2
func WithBeforeSend(fn DuckBugBeforeSendFunc) DuckBugProviderOption
func WithConnectionTimeout ¶ added in v0.2.2
func WithConnectionTimeout(timeout time.Duration) DuckBugProviderOption
func WithFlushInterval ¶ added in v0.2.2
func WithFlushInterval(interval time.Duration) DuckBugProviderOption
func WithMaxRetries ¶ added in v0.2.2
func WithMaxRetries(maxRetries int) DuckBugProviderOption
func WithPrivacy ¶ added in v0.2.2
func WithPrivacy(options DuckBugPrivacyOptions) DuckBugProviderOption
func WithQueueSize ¶ added in v0.2.2
func WithQueueSize(size int) DuckBugProviderOption
func WithRetryDelay ¶ added in v0.2.2
func WithRetryDelay(delay time.Duration) DuckBugProviderOption
func WithTimeout ¶ added in v0.2.2
func WithTimeout(timeout time.Duration) DuckBugProviderOption
func WithTransport ¶ added in v0.2.2
func WithTransport(transport DuckBugTransport) DuckBugProviderOption
func WithTransportFailureHandler ¶ added in v0.2.2
func WithTransportFailureHandler(fn func(FailureInfo)) DuckBugProviderOption
type DuckBugTransport ¶
type DuckBugTransport = duckbugprovider.Transport
type FailureInfo ¶
type FailureInfo = corepkg.FailureInfo
type FlushableProvider ¶
type FlushableProvider = corepkg.FlushableProvider
type Option ¶ added in v0.2.2
type Option func(*runtimeConfig)
func WithEnvironment ¶ added in v0.2.2
func WithProviderOptions ¶ added in v0.2.2
func WithProviderOptions(options ...DuckBugProviderOption) Option
func WithRelease ¶ added in v0.2.2
func WithSensitiveFields ¶ added in v0.2.2
func WithServerName ¶ added in v0.2.2
func WithService ¶ added in v0.2.2
type Transaction ¶
type Transaction = corepkg.Transaction
type TransportResult ¶
type TransportResult = corepkg.TransportResult
Click to show internal directories.
Click to hide internal directories.