Class CassandraObservationContext
java.lang.Object
io.micrometer.observation.Observation.Context
io.micrometer.observation.transport.SenderContext<Object>
org.springframework.data.cassandra.observability.CassandraObservationContext
- All Implemented Interfaces:
io.micrometer.observation.Observation.ContextView
public class CassandraObservationContext
extends io.micrometer.observation.transport.SenderContext<Object>
A
Observation.Context
for CqlSession
.- Since:
- 4.0
- Author:
- Greg Turnquist, Mark Paluch
-
Constructor Summary
ConstructorDescriptionCassandraObservationContext
(com.datastax.oss.driver.api.core.cql.Statement<?> statement, String remoteServiceName, boolean prepare, String methodName, String sessionName, String keyspaceName) -
Method Summary
Methods inherited from class io.micrometer.observation.transport.SenderContext
getCarrier, getKind, getRemoteServiceAddress, getRemoteServiceName, getSetter, setCarrier, setRemoteServiceAddress, setRemoteServiceName
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, toString
-
Constructor Details
-
CassandraObservationContext
-
-
Method Details
-
getStatement
public com.datastax.oss.driver.api.core.cql.Statement<?> getStatement() -
isPrepare
public boolean isPrepare() -
getMethodName
-
getSessionName
-
getKeyspaceName
-
setNode
public void setNode(com.datastax.oss.driver.api.core.metadata.Node node) -
getNode
-