Documentation
¶
Overview ¶
+kubebuilder:validation:Optional
Index ¶
Constants ¶
View Source
const (
// SentryFlushWait is the duration to wait for the sentry client to flush its queue.
SentryFlushWait = "5000ms"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SentryConfig ¶
type SentryConfig struct {
// If DSN is not set, the client is effectively disabled
// You can set test project's dsn to send log events.
// oss-aperture project dsn is set as default.
Dsn string `json:"dsn" default:"https://6223f112b0ac4344aa67e94d1631eb85@o574197.ingest.sentry.io/6605877"`
// Environment
Environment string `json:"environment" default:"production"`
// Sample rate for sampling traces i.e. 0.0 to 1.0
TracesSampleRate float64 `json:"traces_sample_rate" default:"0.2"`
// Sample rate for event submission i.e. 0.0 to 1.0
SampleRate float64 `json:"sample_rate" default:"1.0"`
// Debug enables printing of Sentry SDK debug messages
Debug bool `json:"debug" default:"true"`
// Configure to generate and attach stacktraces to capturing message calls
AttachStacktrace bool `json:"attach_stack_trace" default:"true"`
// Sentry crash report disabled
Disabled bool `json:"disabled" default:"false"`
}
SentryConfig holds configuration for Sentry. swagger:model +kubebuilder:object:generate=true
func (*SentryConfig) DeepCopy ¶
func (in *SentryConfig) DeepCopy() *SentryConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SentryConfig.
func (*SentryConfig) DeepCopyInto ¶
func (in *SentryConfig) DeepCopyInto(out *SentryConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Click to show internal directories.
Click to hide internal directories.