Package com.linkedin.venice.router.stats
Class SecurityStats
java.lang.Object
com.linkedin.venice.stats.AbstractVeniceStats
com.linkedin.venice.router.stats.SecurityStats
-
Field Summary
Fields inherited from class com.linkedin.venice.stats.AbstractVeniceStats
DELIMITER
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
recordLiveConnectionCount
(int connectionCount) This function will be triggered inConnectionControlHandler
orConnectionLimitHandler
depending on the connection handle mode.void
Record all HTTP requests received in routers.void
recordRejectedConnectionCount
(int rejectedConnectionCount) void
void
void
registerSslHandshakeSensors
(SslInitializer sslInitializer) void
Calling this function doesn't mean the active connection counter is updated; this function will only update the metric with the connection counter maintained aboveactiveConnectionCount
Since new connections or inactive connections events might not happen in each one-minute time window, a more active path like data request path will be leveraged to record avg/max connections in each time window.Methods inherited from class com.linkedin.venice.stats.AbstractVeniceStats
avgAndMax, avgAndTotal, getMetricFullName, getMetricsRepository, getName, getSensorFullName, getSensorFullName, isTotalStats, minAndMax, registerOnlyTotalRate, registerOnlyTotalSensor, registerPerStoreAndTotalSensor, registerSensor, registerSensor, registerSensor, registerSensor, registerSensorAttributeGauge, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorWithAggregate, registerSensorWithAggregate, unregisterAllSensors
-
Constructor Details
-
SecurityStats
-
-
Method Details
-
recordSslError
public void recordSslError() -
recordSslSuccess
public void recordSslSuccess() -
recordNonSslRequest
public void recordNonSslRequest()Record all HTTP requests received in routers. -
recordLiveConnectionCount
public void recordLiveConnectionCount(int connectionCount) This function will be triggered inConnectionControlHandler
orConnectionLimitHandler
depending on the connection handle mode. -
recordRejectedConnectionCount
public void recordRejectedConnectionCount(int rejectedConnectionCount) -
updateConnectionCountInCurrentMetricTimeWindow
public void updateConnectionCountInCurrentMetricTimeWindow()Calling this function doesn't mean the active connection counter is updated; this function will only update the metric with the connection counter maintained aboveactiveConnectionCount
Since new connections or inactive connections events might not happen in each one-minute time window, a more active path like data request path will be leveraged to record avg/max connections in each time window. -
registerSslHandshakeSensors
-