Interface ChatModelObservationConvention

All Superinterfaces:
io.micrometer.observation.KeyValuesConvention, io.micrometer.observation.ObservationConvention<ChatModelObservationContext>
All Known Implementing Classes:
DefaultChatModelObservationConvention

public interface ChatModelObservationConvention extends io.micrometer.observation.ObservationConvention<ChatModelObservationContext>
Interface for an ObservationConvention for chat model exchanges.
Since:
1.0.0
Author:
Thomas Vitale
  • Field Summary

    Fields inherited from interface io.micrometer.observation.ObservationConvention

    EMPTY
  • Method Summary

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

    Methods inherited from interface io.micrometer.observation.ObservationConvention

    getContextualName, getHighCardinalityKeyValues, getLowCardinalityKeyValues, getName
  • Method Details

    • supportsContext

      default boolean supportsContext(io.micrometer.observation.Observation.Context context)
      Specified by:
      supportsContext in interface io.micrometer.observation.ObservationConvention<ChatModelObservationContext>