logsql

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2026 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueryInfo

type QueryInfo struct {
	Kind   QueryKind
	LogsQL string
}

func TranslateLogQLToLogsQL

func TranslateLogQLToLogsQL(query string) (*QueryInfo, error)

type QueryKind

type QueryKind string
const (
	QueryKindLogs  QueryKind = "logs"
	QueryKindStats QueryKind = "stats"
)

type TranslationError

type TranslationError struct {
	Code    int
	Message string
	Err     error
}

func (*TranslationError) Error

func (e *TranslationError) Error() string

func (*TranslationError) Unwrap

func (e *TranslationError) Unwrap() error

Jump to

Keyboard shortcuts

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