lokie2e

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package lokie2e provides scripts for E2E testing Loki API implementation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchSet

type BatchSet struct {
	Batches []plog.Logs
	Labels  map[string][]logstorage.Label
	Records map[pcommon.Timestamp]plog.LogRecord

	Start otelstorage.Timestamp
	End   otelstorage.Timestamp
}

BatchSet is a set of batches.

func NewBatchSet added in v0.1.0

func NewBatchSet() *BatchSet

NewBatchSet creates and initializes a new BatchSet.

func (*BatchSet) Append added in v0.1.0

func (s *BatchSet) Append(raw plog.Logs) error

Append appends a batch to the set.

Jump to

Keyboard shortcuts

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