Java Code Examples for com.netflix.servo.annotations.DataSourceType#GAUGE

The following examples show how to use com.netflix.servo.annotations.DataSourceType#GAUGE . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: JvmStatsMonitor.java    From Raigad with Apache License 2.0 4 votes vote down vote up
@Monitor(name = "non_heap_used_in_bytes", type = DataSourceType.GAUGE)
public long getNonHeapUsedInBytes() {
    return jvmStatsBean.get().nonHeapUsedInBytes;
}
 
Example 2
Source File: JvmStatsMonitor.java    From Raigad with Apache License 2.0 4 votes vote down vote up
@Monitor(name = "old_last_gc_after_used_in_bytes", type = DataSourceType.GAUGE)
public long getOldLastGcAfterUsedInBytes() {
    return jvmStatsBean.get().oldLastGcAfterUsedInBytes;
}
 
Example 3
Source File: TransportStatsMonitor.java    From Raigad with Apache License 2.0 4 votes vote down vote up
@Monitor(name = "server_open", type = DataSourceType.GAUGE)
public long getServerOpen() {
    return transportStatsBean.get().serverOpen;
}
 
Example 4
Source File: ServerStats.java    From ribbon with Apache License 2.0 4 votes vote down vote up
/**
 * Gets the average total amount of time to handle a request
 * in the recent time-slice, in milliseconds.
 */
@Monitor(name = "ResponseTimeMillisAvg", type = DataSourceType.GAUGE,
         description = "Average total time for a request in the recent time slice, in milliseconds")
public double getResponseTimeAvgRecent() {
    return dataDist.getMean();
}
 
Example 5
Source File: ConnectionPool.java    From suro with Apache License 2.0 4 votes vote down vote up
/**
 * @return number of connections in the pool
 */
@Monitor(name = "PoolSize", type = DataSourceType.GAUGE)
public int getPoolSize() {
    return connectionList.size();
}
 
Example 6
Source File: NodeIndicesStatsMonitor.java    From Raigad with Apache License 2.0 4 votes vote down vote up
@Monitor(name = "merges_current", type = DataSourceType.GAUGE)
public long getMergesCurrent() {
    return nodeIndicesStatsBean.get().mergesCurrent;
}
 
Example 7
Source File: AllCircuitBreakerStatsMonitor.java    From Raigad with Apache License 2.0 4 votes vote down vote up
@Monitor(name = "field_data_estimated_size_in_bytes", type = DataSourceType.GAUGE)
public long getFieldDataEstimatedSizeInBytes() {
    return allCircuitBreakerStatsBean.get().fieldDataEstimatedSizeInBytes;
}
 
Example 8
Source File: JvmStatsMonitor.java    From Raigad with Apache License 2.0 4 votes vote down vote up
@Monitor(name = "old_max_in_bytes", type = DataSourceType.GAUGE)
public long getOldMaxInBytes() {
    return jvmStatsBean.get().oldMaxInBytes;
}
 
Example 9
Source File: OsStatsMonitor.java    From Raigad with Apache License 2.0 4 votes vote down vote up
@Monitor(name = "actual_used_in_bytes", type = DataSourceType.GAUGE)
public long geActualUsedInBytes() {
    return osStatsBean.get().actualUsedInBytes;
}
 
Example 10
Source File: NodeIndicesStatsMonitor.java    From Raigad with Apache License 2.0 4 votes vote down vote up
@Monitor(name = "latencySearchFetch99", type = DataSourceType.GAUGE)
public double getLatencySearchFetch99() {
    return nodeIndicesStatsBean.get().latencySearchFetch99;
}
 
Example 11
Source File: OsStatsMonitor.java    From Raigad with Apache License 2.0 4 votes vote down vote up
@Monitor(name = "used_percent", type = DataSourceType.GAUGE)
public short getUsedPercent() {
    return osStatsBean.get().usedPercent;
}
 
Example 12
Source File: JvmStatsMonitor.java    From Raigad with Apache License 2.0 4 votes vote down vote up
@Monitor(name = "old_used_in_bytes", type = DataSourceType.GAUGE)
public long getOldUsedInBytes() {
    return jvmStatsBean.get().oldUsedInBytes;
}
 
Example 13
Source File: JvmStatsMonitor.java    From Raigad with Apache License 2.0 4 votes vote down vote up
@Monitor(name = "old_last_gc_end_time", type = DataSourceType.GAUGE)
public long getOldLastGcEndTime() {
    return jvmStatsBean.get().oldLastGcEndTime;
}
 
Example 14
Source File: NodeIndicesStatsMonitor.java    From Raigad with Apache License 2.0 4 votes vote down vote up
@Monitor(name = "latencyGetMissing99", type = DataSourceType.GAUGE)
public double getLatencyGetMissing99() {
    return nodeIndicesStatsBean.get().latencyGetMissing99;
}
 
Example 15
Source File: ServerStats.java    From ribbon with Apache License 2.0 4 votes vote down vote up
/**
 * Gets the 99-th percentile in the total amount of time spent handling a request, in milliseconds.
 */
@Monitor(name = "ResponseTimeMillis99Percentile", type = DataSourceType.GAUGE,
         description = "99th percentile in total time to handle a request, in milliseconds")
public double getResponseTime99thPercentile() {
    return getResponseTimePercentile(Percent.NINETY_NINE);
}
 
Example 16
Source File: ThreadPoolStatsMonitor.java    From Raigad with Apache License 2.0 4 votes vote down vote up
@Monitor(name = "getThreads", type = DataSourceType.GAUGE)
public long getGetThreads() {
    return threadPoolBean.get().getThreads;
}
 
Example 17
Source File: DynoCPMonitor.java    From dyno with Apache License 2.0 4 votes vote down vote up
@Monitor(name = "HostUpCount", type = DataSourceType.GAUGE)
@Override
public long getHostUpCount() {
    return super.getHostUpCount();
}
 
Example 18
Source File: NodeIndicesStatsMonitor.java    From Raigad with Apache License 2.0 4 votes vote down vote up
@Monitor(name = "exists_avg_time_in_millis_per_request", type = DataSourceType.GAUGE)
public double getExistsAvgTimeInMillisPerRequest() {
    return nodeIndicesStatsBean.get().getExistsAvgTimeInMillisPerRequest;
}
 
Example 19
Source File: ThreadPoolStatsMonitor.java    From Raigad with Apache License 2.0 4 votes vote down vote up
@Monitor(name = "indexLargest", type = DataSourceType.GAUGE)
public long getIndexLargest() {
    return threadPoolBean.get().indexLargest;
}
 
Example 20
Source File: NodeIndicesStatsMonitor.java    From Raigad with Apache License 2.0 4 votes vote down vote up
@Monitor(name = "docs_deleted", type = DataSourceType.GAUGE)
public long getDocsDeleted() {
    return nodeIndicesStatsBean.get().docsDeleted;
}