observability

package
v1.10.4 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package observability used to hold Cortex's metrics plugin.

Deprecated: the engine records its own metrics now, labelled by state, stop reason, tool kind, publication source and the rest. Pass engine.WithMetrics, or let the Forge extension pass app.Metrics() for you, and drop this plugin. It implements no hooks and records nothing. The dotted counters it used to declare (cortex.agent.run.started and the other fourteen) are gone, and so are the struct fields that exposed them.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricsExtension deprecated

type MetricsExtension struct{}

MetricsExtension is a plugin that implements no hooks.

Deprecated: use engine.WithMetrics. The Forge extension wires app.Metrics() into the engine without it.

func NewMetricsExtension deprecated

func NewMetricsExtension() *MetricsExtension

NewMetricsExtension returns a plugin that records nothing.

Deprecated: use engine.WithMetrics.

func NewMetricsExtensionWithFactory deprecated

func NewMetricsExtensionWithFactory(_ gu.MetricFactory) *MetricsExtension

NewMetricsExtensionWithFactory returns a plugin that records nothing. The factory is ignored.

Deprecated: use engine.WithMetrics with the same metrics.

func (*MetricsExtension) Name

func (m *MetricsExtension) Name() string

Name implements plugin.Extension.

Jump to

Keyboard shortcuts

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