org.llm4s.metrics.MetricsCollector
See theMetricsCollector companion trait
Attributes
-
Companion
-
trait
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Self type
-
Members list
Combine multiple collectors into one that fans out every call to all of them.
Combine multiple collectors into one that fans out every call to all of them.
Useful for running a CostTracker alongside PrometheusMetrics:
val combined = MetricsCollector.compose(prometheusMetrics, costTracker)
val client = LLMConnect.getClient(config, combined)
Attributes
No-op implementation that does nothing.
No-op implementation that does nothing.
Use as the default collector when metrics are disabled.
Attributes