# Uses of Class
com.google.adk.models.springai.observability.SpringAIObservabilityHandler.RequestContext

Packages that use SpringAIObservabilityHandler.RequestContext
Package
Description
com.google.adk.models.springai.observability

- ## Uses of SpringAIObservabilityHandler.RequestContext in com.google.adk.models.springai.observability

  Methods in com.google.adk.models.springai.observability that return SpringAIObservabilityHandler.RequestContext
  Modifier and Type
  Method
  Description
  `SpringAIObservabilityHandler.RequestContext`
  SpringAIObservabilityHandler.`startRequest(String modelName, String requestType)`
  Records the start of a request.
  Methods in com.google.adk.models.springai.observability with parameters of type SpringAIObservabilityHandler.RequestContext
  Modifier and Type
  Method
  Description
  `void`
  SpringAIObservabilityHandler.`recordError(SpringAIObservabilityHandler.RequestContext context, Throwable error)`
  Records a failed request.
  `void`
  SpringAIObservabilityHandler.`recordSuccess(SpringAIObservabilityHandler.RequestContext context, int tokenCount, int inputTokens, int outputTokens)`
  Records the completion of a successful request.