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
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Names.type
Members list
Value members
Concrete fields
Counter of circuit-breaker transitions (not in the Prometheus module). Tags: provider, state (open, closed, half-open or other).
Counter of circuit-breaker transitions (not in the Prometheus module). Tags: provider, state (open, closed, half-open or other).
Attributes
Counter of estimated cost in USD. Tags: provider, model.
Counter of estimated cost in USD. Tags: provider, model.
Attributes
Counter of failed requests and failed image generations, as llm4s_errors_total in the Prometheus module. Tags: provider, error_type (see ErrorKind, in snake case). recordError calls are not counted here; see ReliabilityErrors.
Counter of failed requests and failed image generations, as llm4s_errors_total in the Prometheus module. Tags: provider, error_type (see ErrorKind, in snake case). recordError calls are not counted here; see ReliabilityErrors.
Attributes
Counter of estimated image generation cost in USD. Tags: provider, model.
Counter of estimated image generation cost in USD. Tags: provider, model.
Attributes
Timer. Tags: provider, model, operation.
Timer. Tags: provider, model, operation.
Attributes
Counter. Tags: provider, model, operation, error_type.
Counter. Tags: provider, model, operation, error_type.
Attributes
Counter. Tags: provider, model, operation (generate, edit or other), status.
Counter. Tags: provider, model, operation (generate, edit or other), status.
Attributes
Counter of generated images. Tags: provider, model.
Counter of generated images. Tags: provider, model.
Attributes
Counter of recordError calls (not in the Prometheus module): errors reported outside a timed request. In llm4s the caller is ReliableClient, which reports 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.
Counter of recordError calls (not in the Prometheus module): errors reported outside a timed request. In llm4s the caller is ReliableClient, which reports 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
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
Counter. Tags: provider, model, status (success or error_<kind>).
Counter. Tags: provider, model, status (success or error_<kind>).
Attributes
Counter of retry attempts (not in the Prometheus module). Tags: provider.
Counter of retry attempts (not in the Prometheus module). Tags: provider.
Attributes
Counter of tokens. Tags: provider, model, type (input or output).
Counter of tokens. Tags: provider, model, type (input or output).