Documentation ¶
Index ¶
- func DiscoverLogLocation(ctx context.Context, servers []*state.Server, ...)
- func GetSystemState(server *state.Server, logger *util.Logger) (system state.SystemState)
- func SetupLogTailForServer(ctx context.Context, wg *sync.WaitGroup, ...) error
- func SetupLogTails(ctx context.Context, wg *sync.WaitGroup, ...)
- func SetupOtelHandlerForServer(ctx context.Context, wg *sync.WaitGroup, ...) error
- type SelfHostedLogStreamItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiscoverLogLocation ¶
func DiscoverLogLocation(ctx context.Context, servers []*state.Server, globalCollectionOpts state.CollectionOpts, logger *util.Logger)
DiscoverLogLocation - Tries to find the log location for a currently running Postgres process and outputs the presumed location using the logger
func GetSystemState ¶
GetSystemState - Gets system information about a self-hosted (physical/virtual) system
func SetupLogTailForServer ¶ added in v0.42.1
func SetupLogTails ¶
func SetupLogTails(ctx context.Context, wg *sync.WaitGroup, globalCollectionOpts state.CollectionOpts, logger *util.Logger, servers []*state.Server, parsedLogStream chan state.ParsedLogStreamItem)
SetupLogTails - Sets up continuously running log tails for all servers with a local log directory or file specified
func SetupOtelHandlerForServer ¶ added in v0.57.0
Types ¶
Click to show internal directories.
Click to hide internal directories.