victorialogstore

package
v0.0.0-...-58e7928 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2025 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildPromLabels

func BuildPromLabels(meta *model.Meta) map[string]string

func BuildPromQL

func BuildPromQL(metric string, filters map[string]string) string

BuildPromQL constructs a Prometheus Query Language (PromQL) query string

Types

type VictoriaLogStore

type VictoriaLogStore struct {
	// contains filtered or unexported fields
}

func NewVictoriaLogStore

func NewVictoriaLogStore(url string, dir string, logCache cache.LogCache) (*VictoriaLogStore, error)

NewVictoriaLogStore

func (*VictoriaLogStore) Close

func (v *VictoriaLogStore) Close() error

func (*VictoriaLogStore) GetLogByID

func (v *VictoriaLogStore) GetLogByID(logID string) (*model.LogEntry, error)

func (*VictoriaLogStore) GetLogs

func (v *VictoriaLogStore) GetLogs(filter model.LogFilter) ([]model.LogEntry, error)

func (*VictoriaLogStore) Name

func (v *VictoriaLogStore) Name() string

func (*VictoriaLogStore) Write

func (v *VictoriaLogStore) Write(batch []model.LogPayload) error

Jump to

Keyboard shortcuts

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