observability

package
v0.7.17 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package observability provides tools for monitoring and introspecting the Trellis engine.

It includes lifecycle hooks for auditing transitions, event streaming for real-time monitoring, and introspection support for capturing state snapshots during execution.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aggregator

type Aggregator struct {
	// contains filtered or unexported fields
}

Aggregator combines multiple watchers into a single view. It wraps introspection.AggregateWatchers to provide a simple wrapper.

func NewAggregator

func NewAggregator() *Aggregator

NewAggregator creates a new aggregator.

func (*Aggregator) AddWatcher

func (a *Aggregator) AddWatcher(w interface{})

AddWatcher registers a watcher (must implement Watch method).

func (*Aggregator) Watch

func (a *Aggregator) Watch(ctx context.Context) <-chan introspection.StateSnapshot

Watch returns the aggregated state channel.

Jump to

Keyboard shortcuts

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