Documentation ¶
Index ¶
- func ApplyDefaultsToKASConfigurationFile(cfg *kascfg.ConfigurationFile)
- func ErrReporterWithoutAgentInfos(hub SentryHub) errz.ErrReporter
- func LoadConfigurationFile(ctx context.Context, configFile string) (*kascfg.ConfigurationFile, error)
- func NewCommand() *cobra.Command
- func StartStacktraceCollector(log *slog.Logger, hub *sentry.Hub, interval time.Duration)
- type App
- type ConfiguredApp
- type SentryHub
- type TraceDualWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyDefaultsToKASConfigurationFile ¶
func ApplyDefaultsToKASConfigurationFile(cfg *kascfg.ConfigurationFile)
func ErrReporterWithoutAgentInfos ¶
func ErrReporterWithoutAgentInfos(hub SentryHub) errz.ErrReporter
func LoadConfigurationFile ¶
func LoadConfigurationFile(ctx context.Context, configFile string) (*kascfg.ConfigurationFile, error)
LoadConfigurationFile loads the configuration file. This function does not run any validation logic.
func NewCommand ¶
Types ¶
type ConfiguredApp ¶
type TraceDualWriter ¶
type TraceDualWriter struct {
// contains filtered or unexported fields
}
func (*TraceDualWriter) ExportSpans ¶
func (tdw *TraceDualWriter) ExportSpans(ctx context.Context, spans []tracesdk.ReadOnlySpan) error
Click to show internal directories.
Click to hide internal directories.