Names
The meter names, as given to Micrometer. With the Prometheus naming convention a counter gains _total and a timer gains _seconds, which is how llm4s.requests becomes llm4s_requests_total.
Attributes
- Source
- MicrometerMetrics.scala
- Graph
-
- Supertypes
- Self type
-
Names.type
Members list
Value members
Concrete fields
ReliabilityMetrics.CircuitBreakerTransitions: counter of circuit-breaker transitions. Tags: provider, state (open, closed or half-open).
ReliabilityMetrics.CircuitBreakerTransitions: counter of circuit-breaker transitions. Tags: provider, state (open, closed or half-open).
Attributes
- Source
- MicrometerMetrics.scala
Counter of estimated cost in USD. Tags: provider, model.
Counter of failed requests, and of what a module adds through MetricsCollector.Errors (a failed image generation), as llm4s_errors_total in the Prometheus module. It is that metric's name. Tags: provider, error_type (see ErrorKind, in snake case). ReliableClient's own errors are not counted here; see ReliabilityErrors.
Counter of failed requests, and of what a module adds through MetricsCollector.Errors (a failed image generation), as llm4s_errors_total in the Prometheus module. It is that metric's name. Tags: provider, error_type (see ErrorKind, in snake case). ReliableClient's own errors are not counted here; see ReliabilityErrors.
Attributes
- Source
- MicrometerMetrics.scala
ReliabilityMetrics.Errors: errors ReliableClient reports outside a timed request - a call rejected by its local rate limit or its open circuit, a deadline exceeded, and the final failure once retries are exhausted. Kept apart from Errors, which already counts each failed attempt the provider client observed, so neither counts a failure twice. Tags: provider, error_type.
ReliabilityMetrics.Errors: errors ReliableClient reports outside a timed request - a call rejected by its local rate limit or its open circuit, a deadline exceeded, and the final failure once retries are exhausted. Kept apart from Errors, which already counts each failed attempt the provider client observed, so neither counts a failure twice. Tags: provider, error_type.
Attributes
- Source
- MicrometerMetrics.scala
Timer with the same buckets as llm4s_request_duration_seconds. Tags: provider, model.
Timer with the same buckets as llm4s_request_duration_seconds. Tags: provider, model.
Attributes
- Source
- MicrometerMetrics.scala
Counter. Tags: provider, model, status (success or error_<kind>).
Counter. Tags: provider, model, status (success or error_<kind>).
Attributes
- Source
- MicrometerMetrics.scala
ReliabilityMetrics.Retries: counter of retry attempts. Tags: provider.
ReliabilityMetrics.Retries: counter of retry attempts. Tags: provider.
Attributes
- Source
- MicrometerMetrics.scala
Counter of tokens. Tags: provider, model, type (input or output).
Counter of tokens. Tags: provider, model, type (input or output).
Attributes
- Source
- MicrometerMetrics.scala
