logs

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Package logs provides logging facilities for Envoy.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogsCollector

type LogsCollector interface {
	// CollectAccessLogs collects access logs from the given path.
	CollectAccessLogs(ctx context.Context, path string) error

	// CollectTaps collects Envoy taps from the given path.
	CollectTaps(ctx context.Context, path string) error
}

func NewClickHouseLogsCollector

func NewClickHouseLogsCollector(
	chConn clickhouse.Conn,
	proxyUID uuid.UUID,
) LogsCollector

NewClickHouseLogsCollector creates a new LogsCollector that writes logs to ClickHouse.

Directories

Path Synopsis
Package logtail consumes log files and manages compaction using fallocate.
Package logtail consumes log files and manages compaction using fallocate.

Jump to

Keyboard shortcuts

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