replay

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package replay reads OpenTelemetry spans. User text stays out unless asked.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Save

func Save(path string, view View) error

Types

type Step

type Step struct {
	Name  string            `json:"name"`
	Attrs map[string]string `json:"attrs,omitempty"`
}

type View

type View struct {
	Steps []Step `json:"steps"`
}

func FromSpans

func FromSpans(spans []telemetry.Span, redact bool) View

When redact is set, only the allowlisted attributes are kept.

func Load

func Load(path string) (View, error)

func (View) String

func (v View) String() string

Jump to

Keyboard shortcuts

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