Class FlowableSpringChatClientObservationContext
java.lang.Object
io.micrometer.observation.Observation.Context
com.flowable.agent.engine.impl.model.observation.FlowableSpringChatClientObservationContext
- All Implemented Interfaces:
io.micrometer.observation.Observation.ContextView
public class FlowableSpringChatClientObservationContext
extends io.micrometer.observation.Observation.Context
- Author:
- Filip Hrisafov
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AgentInvocationContextprotected org.springframework.ai.chat.client.ResponseEntity<org.springframework.ai.chat.model.ChatResponse, AgentInvocationResult> protected String -
Constructor Summary
ConstructorsConstructorDescriptionFlowableSpringChatClientObservationContext(AgentInvocationContext agentInvocationContext) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.ai.chat.client.ResponseEntity<org.springframework.ai.chat.model.ChatResponse, AgentInvocationResult> voidsetResponse(org.springframework.ai.chat.client.ResponseEntity<org.springframework.ai.chat.model.ChatResponse, AgentInvocationResult> response) voidsetTraceId(String traceId) voidstop(Instant endTime, FlowableSpringChatClientObservationContext.ObservationExchange observationExchange) Methods inherited from class io.micrometer.observation.Observation.Context
addHighCardinalityKeyValue, addHighCardinalityKeyValues, addLowCardinalityKeyValue, addLowCardinalityKeyValues, clear, computeIfAbsent, containsKey, get, getAllKeyValues, getContextualName, getError, getHighCardinalityKeyValue, getHighCardinalityKeyValues, getLowCardinalityKeyValue, getLowCardinalityKeyValues, getName, getOrDefault, getParentObservation, getRequired, put, remove, removeHighCardinalityKeyValue, removeHighCardinalityKeyValues, removeLowCardinalityKeyValue, removeLowCardinalityKeyValues, setContextualName, setError, setName, setParentObservation, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.micrometer.observation.Observation.ContextView
getOrDefault
-
Field Details
-
agentInvocationContext
-
traceId
-
observationExchange
-
response
protected org.springframework.ai.chat.client.ResponseEntity<org.springframework.ai.chat.model.ChatResponse,AgentInvocationResult> response
-
-
Constructor Details
-
FlowableSpringChatClientObservationContext
-
-
Method Details
-
getAgentInvocationContext
-
getTraceId
-
setTraceId
-
getObservationExchange
-
getResponse
public org.springframework.ai.chat.client.ResponseEntity<org.springframework.ai.chat.model.ChatResponse,AgentInvocationResult> getResponse() -
setResponse
public void setResponse(org.springframework.ai.chat.client.ResponseEntity<org.springframework.ai.chat.model.ChatResponse, AgentInvocationResult> response) -
stop
public void stop(Instant endTime, FlowableSpringChatClientObservationContext.ObservationExchange observationExchange)
-