Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

480 B
Raw Blame
package auditorserver

import "time"

type Config struct {
	// BufferSize is the maximum number of events that can be buffered.
	// When full, new events are dropped (fail-open).
	BufferSize int

	// BatchSize is the maximum number of events per export batch.
	BatchSize int

	// FlushInterval is the maximum time between flushes.
	// A flush is triggered when either BatchSize events accumulate or
	// FlushInterval elapses, whichever comes first.
	FlushInterval time.Duration
}