importer

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Format

type Format string
const (
	FormatAuto   Format = "auto"
	FormatOTLP   Format = "otlp"
	FormatJaeger Format = "jaeger"
)

type Result

type Result struct {
	Session    *storage.Session `json:"session"`
	SpanCount  int              `json:"span_count"`
	TraceCount int              `json:"trace_count"`
}

func Import

func Import(store *storage.DB, label string, format Format, data []byte) (*Result, error)

Import creates a new imported (baseline) session and inserts spans from data.

Jump to

Keyboard shortcuts

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