Class ChatClientCompletionObservationHandler

java.lang.Object
org.springframework.ai.chat.client.observation.ChatClientCompletionObservationHandler
All Implemented Interfaces:
io.micrometer.observation.ObservationHandler<ChatClientObservationContext>

public class ChatClientCompletionObservationHandler extends Object implements io.micrometer.observation.ObservationHandler<ChatClientObservationContext>
Handler for emitting the chat client completion content to logs.
Since:
1.1.0
Author:
Jonatan Ivanov
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.micrometer.observation.ObservationHandler

    io.micrometer.observation.ObservationHandler.AllMatchingCompositeObservationHandler, io.micrometer.observation.ObservationHandler.CompositeObservationHandler, io.micrometer.observation.ObservationHandler.FirstMatchingCompositeObservationHandler
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    boolean
    supportsContext(io.micrometer.observation.Observation.Context context)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.micrometer.observation.ObservationHandler

    onError, onEvent, onScopeClosed, onScopeOpened, onScopeReset, onStart
  • Constructor Details

    • ChatClientCompletionObservationHandler

      public ChatClientCompletionObservationHandler()
  • Method Details