Table of Contents

Class GatewayMetrics

Namespace
FoundationaLLM.Gateway.Services
Assembly
FoundationaLLM.Gateway.dll
public class GatewayMetrics
Inheritance
GatewayMetrics
Inherited Members
Extension Methods

Constructors

GatewayMetrics(IMeterFactory)

public GatewayMetrics(IMeterFactory meterFactory)

Parameters

meterFactory IMeterFactory

Methods

IncrementTextChunkMeters(long, long)

public void IncrementTextChunkMeters(long embeddingsCount, long completionsCount)

Parameters

embeddingsCount long
completionsCount long

IncrementTextChunksSizeTokens(long, long)

public void IncrementTextChunksSizeTokens(long embeddingsSize, long completionsSize)

Parameters

embeddingsSize long
completionsSize long