Skip to content

LangfusePublicationHealth

NexusLabs.Foundry.Langfuse

LangfusePublicationHealth Class

Collects thread-safe Langfuse publication-health counters.

public sealed class LangfusePublicationHealth

Inheritance System.Object 🡒 LangfusePublicationHealth

Constructors

LangfusePublicationHealth(bool) Constructor

Initializes publication-health tracking.

public LangfusePublicationHealth(bool isEnabled);

Parameters

isEnabled System.Boolean

Whether the associated Langfuse integration is enabled.

Methods

LangfusePublicationHealth.GetSnapshot() Method

Gets an immutable snapshot of all observed publication-health counters.

public NexusLabs.Foundry.Langfuse.LangfusePublicationHealthSnapshot GetSnapshot();

Returns

LangfusePublicationHealthSnapshot
The current publication-health snapshot.