Table of Contents

Method GetSpans

Namespace
LMKit.Agents.Observability
Assembly
LM-Kit.NET.dll

GetSpans()

Gets all completed spans.

public List<AgentSpan> GetSpans()

Returns

List<AgentSpan>

A copy of the spans list.

GetSpans(Func<AgentSpan, bool>)

Gets spans matching a filter.

public List<AgentSpan> GetSpans(Func<AgentSpan, bool> predicate)

Parameters

predicate Func<AgentSpan, bool>

The filter predicate.

Returns

List<AgentSpan>

Matching spans.