Package io.vertx.micrometer
Class MetricsNaming
- java.lang.Object
-
- io.vertx.micrometer.MetricsNaming
-
public class MetricsNaming extends Object
Options for naming all metrics- Author:
- Joel Takvorian
-
-
Constructor Summary
Constructors Constructor Description MetricsNaming()
Default constructorMetricsNaming(JsonObject json)
Create an instance from aJsonObject
MetricsNaming(MetricsNaming other)
Copy constructor
-
Method Summary
-
-
-
Constructor Detail
-
MetricsNaming
public MetricsNaming()
Default constructor
-
MetricsNaming
public MetricsNaming(MetricsNaming other)
Copy constructor- Parameters:
other
- The otherMetricsNaming
to copy when creating this
-
MetricsNaming
public MetricsNaming(JsonObject json)
Create an instance from aJsonObject
- Parameters:
json
- the JsonObject to create it from
-
-
Method Detail
-
toJson
public JsonObject toJson()
- Returns:
- a JSON representation of these options
-
v3Names
public static MetricsNaming v3Names()
-
v4Names
public static MetricsNaming v4Names()
-
getClientQueueTime
public String getClientQueueTime()
-
getClientQueuePending
public String getClientQueuePending()
-
getClientProcessingTime
public String getClientProcessingTime()
-
getClientProcessingPending
public String getClientProcessingPending()
-
getClientResetsCount
public String getClientResetsCount()
-
getDatagramBytesRead
public String getDatagramBytesRead()
-
getDatagramBytesWritten
public String getDatagramBytesWritten()
-
getDatagramErrorCount
public String getDatagramErrorCount()
-
getEbHandlers
public String getEbHandlers()
-
getEbPending
public String getEbPending()
-
getEbProcessed
public String getEbProcessed()
-
getEbPublished
public String getEbPublished()
-
getEbSent
public String getEbSent()
-
getEbReceived
public String getEbReceived()
-
getEbDelivered
public String getEbDelivered()
-
getEbDiscarded
public String getEbDiscarded()
-
getEbReplyFailures
public String getEbReplyFailures()
-
getEbBytesRead
public String getEbBytesRead()
-
getEbBytesWritten
public String getEbBytesWritten()
-
getHttpQueueTime
public String getHttpQueueTime()
-
getHttpQueuePending
public String getHttpQueuePending()
-
getHttpActiveRequests
public String getHttpActiveRequests()
-
getHttpRequestsCount
public String getHttpRequestsCount()
-
getHttpRequestBytes
public String getHttpRequestBytes()
-
getHttpResponseTime
public String getHttpResponseTime()
-
getHttpResponsesCount
public String getHttpResponsesCount()
-
getHttpResponseBytes
public String getHttpResponseBytes()
-
getHttpActiveWsConnections
public String getHttpActiveWsConnections()
-
getHttpRequestResetsCount
public String getHttpRequestResetsCount()
-
getNetActiveConnections
public String getNetActiveConnections()
-
getPoolUsage
public String getPoolUsage()
-
getPoolInUse
public String getPoolInUse()
-
getPoolUsageRatio
public String getPoolUsageRatio()
-
getPoolCompleted
public String getPoolCompleted()
-
setClientQueueTime
public MetricsNaming setClientQueueTime(String clientQueueTime)
-
setClientQueuePending
public MetricsNaming setClientQueuePending(String clientQueuePending)
-
setClientProcessingTime
public MetricsNaming setClientProcessingTime(String clientProcessingTime)
-
setClientProcessingPending
public MetricsNaming setClientProcessingPending(String clientProcessingPending)
-
setClientResetsCount
public MetricsNaming setClientResetsCount(String clientResetsCount)
-
setDatagramBytesRead
public MetricsNaming setDatagramBytesRead(String datagramBytesRead)
-
setDatagramBytesWritten
public MetricsNaming setDatagramBytesWritten(String datagramBytesWritten)
-
setDatagramErrorCount
public MetricsNaming setDatagramErrorCount(String datagramErrorCount)
-
setEbHandlers
public MetricsNaming setEbHandlers(String ebHandlers)
-
setEbPending
public MetricsNaming setEbPending(String ebPending)
-
setEbProcessed
public MetricsNaming setEbProcessed(String ebProcessed)
-
setEbPublished
public MetricsNaming setEbPublished(String ebPublished)
-
setEbSent
public MetricsNaming setEbSent(String ebSent)
-
setEbReceived
public MetricsNaming setEbReceived(String ebReceived)
-
setEbDelivered
public MetricsNaming setEbDelivered(String ebDelivered)
-
setEbDiscarded
public MetricsNaming setEbDiscarded(String ebDiscarded)
-
setEbReplyFailures
public MetricsNaming setEbReplyFailures(String ebReplyFailures)
-
setEbBytesRead
public MetricsNaming setEbBytesRead(String ebBytesRead)
-
setEbBytesWritten
public MetricsNaming setEbBytesWritten(String ebBytesWritten)
-
setHttpQueueTime
public MetricsNaming setHttpQueueTime(String httpQueueTime)
-
setHttpQueuePending
public MetricsNaming setHttpQueuePending(String httpQueuePending)
-
setHttpActiveRequests
public MetricsNaming setHttpActiveRequests(String httpActiveRequests)
-
setHttpRequestsCount
public MetricsNaming setHttpRequestsCount(String httpRequestsCount)
-
setHttpRequestBytes
public MetricsNaming setHttpRequestBytes(String httpRequestBytes)
-
setHttpResponseTime
public MetricsNaming setHttpResponseTime(String httpResponseTime)
-
setHttpResponsesCount
public MetricsNaming setHttpResponsesCount(String httpResponsesCount)
-
setHttpResponseBytes
public MetricsNaming setHttpResponseBytes(String httpResponseBytes)
-
setHttpActiveWsConnections
public MetricsNaming setHttpActiveWsConnections(String httpActiveWsConnections)
-
setHttpRequestResetsCount
public MetricsNaming setHttpRequestResetsCount(String httpRequestResetsCount)
-
setNetActiveConnections
public MetricsNaming setNetActiveConnections(String netActiveConnections)
-
setPoolUsage
public MetricsNaming setPoolUsage(String poolUsage)
-
setPoolInUse
public MetricsNaming setPoolInUse(String poolInUse)
-
setPoolUsageRatio
public MetricsNaming setPoolUsageRatio(String poolUsageRatio)
-
setPoolCompleted
public MetricsNaming setPoolCompleted(String poolCompleted)
-
getNetBytesRead
public String getNetBytesRead()
-
setNetBytesRead
public MetricsNaming setNetBytesRead(String netBytesRead)
-
getNetBytesWritten
public String getNetBytesWritten()
-
setNetBytesWritten
public MetricsNaming setNetBytesWritten(String netBytesWritten)
-
getNetErrorCount
public String getNetErrorCount()
-
setNetErrorCount
public MetricsNaming setNetErrorCount(String netErrorCount)
-
getPoolQueueTime
public String getPoolQueueTime()
-
setPoolQueueTime
public MetricsNaming setPoolQueueTime(String poolQueueTime)
-
getPoolQueuePending
public String getPoolQueuePending()
-
setPoolQueuePending
public MetricsNaming setPoolQueuePending(String poolQueuePending)
-
withBaseName
public MetricsNaming withBaseName(String baseName)
-
-