discovery

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const SourceTypeBering = "bering"

Variables

This section is empty.

Functions

func Build

func Build(spans []traces.Span, opts Options) (model.ResilienceModel, error)

func BuildServeSourceRef

func BuildServeSourceRef(listenAddr string) string

func BuildSourceRef

func BuildSourceRef(input string) string

Types

type Options

type Options struct {
	SourceRef        string
	DiscoveredAt     string
	ReplicasOverride map[string]int
	Overlays         []overlay.File
	Sources          []snapshot.SourceSummary
	RuntimeMode      bool
}

type Result

type Result struct {
	Model      model.ResilienceModel
	Discovery  snapshot.DiscoveryDetails
	Sources    []snapshot.SourceSummary
	Coverage   snapshot.CoverageSummary
	SpanCount  int
	TraceCount int
}

func Discover

func Discover(spans []traces.Span, opts Options) (Result, error)

func DiscoverTopology

func DiscoverTopology(doc topology.Document, opts Options) (Result, error)

Jump to

Keyboard shortcuts

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