lokie2e

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2023 License: Apache-2.0 Imports: 7 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 ParseBatchSet

func ParseBatchSet(r io.Reader) (s BatchSet, _ error)

ParseBatchSet parses JSON batches from given reader.

Jump to

Keyboard shortcuts

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