victorialogs

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package victorialogs provides a component for managing a VictoriaLogs server using containerd. VictoriaLogs is a log storage system that uses LogsQL for querying.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VictoriaLogsComponent

type VictoriaLogsComponent struct {
	Log *slog.Logger
	CC  *containerd.Client

	Namespace string
	DataPath  string
	// contains filtered or unexported fields
}

func NewVictoriaLogsComponent

func NewVictoriaLogsComponent(log *slog.Logger, cc *containerd.Client, namespace, dataPath string) *VictoriaLogsComponent

func (*VictoriaLogsComponent) HTTPEndpoint

func (c *VictoriaLogsComponent) HTTPEndpoint() string

func (*VictoriaLogsComponent) IsRunning

func (c *VictoriaLogsComponent) IsRunning() bool

func (*VictoriaLogsComponent) Start

func (*VictoriaLogsComponent) Stop

type VictoriaLogsConfig

type VictoriaLogsConfig struct {
	HTTPPort        int
	DataPath        string
	RetentionPeriod string
}

Jump to

Keyboard shortcuts

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