config

package
v2.23.3-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

+kubebuilder:validation:Optional

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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
	TracesSampleRate float64 `json:"traces_sample_rate" default:"0.2" validate:"gte=0,lte=1"`
	// Sample rate for event submission
	SampleRate float64 `json:"sample_rate" default:"1.0" validate:"gte=0,lte=1"`
	// Debug enables printing of Sentry SDK debug messages
	Debug bool `json:"debug" default:"true"`
	// Configure to generate and attach stack traces 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL