Java Code Examples for org.apache.hadoop.metrics2.lib.MutableQuantiles#add()
The following examples show how to use
org.apache.hadoop.metrics2.lib.MutableQuantiles#add() .
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: UserGroupInformation.java From big-c with Apache License 2.0 | 5 votes |
void addGetGroups(long latency) { getGroups.add(latency); if (getGroupsQuantiles != null) { for (MutableQuantiles q : getGroupsQuantiles) { q.add(latency); } } }
Example 2
Source File: IPCLoggerChannelMetrics.java From hadoop with Apache License 2.0 | 5 votes |
public void addWriteEndToEndLatency(long micros) { if (writeEndToEndLatencyQuantiles != null) { for (MutableQuantiles q : writeEndToEndLatencyQuantiles) { q.add(micros); } } }
Example 3
Source File: RpcMetrics.java From hadoop with Apache License 2.0 | 5 votes |
/** * Add an RPC processing time sample * @param processingTime the processing time */ //@Override public void addRpcProcessingTime(int processingTime) { rpcProcessingTime.add(processingTime); if (rpcQuantileEnable) { for (MutableQuantiles q : rpcProcessingTimeMillisQuantiles) { q.add(processingTime); } } }
Example 4
Source File: IPCLoggerChannelMetrics.java From big-c with Apache License 2.0 | 5 votes |
public void addWriteRpcLatency(long micros) { if (writeRpcLatencyQuantiles != null) { for (MutableQuantiles q : writeRpcLatencyQuantiles) { q.add(micros); } } }
Example 5
Source File: ContainerMetrics.java From hadoop-ozone with Apache License 2.0 | 5 votes |
public void incContainerOpsLatencies(ContainerProtos.Type type, long latencyNanos) { opsLatency[type.ordinal()].add(latencyNanos); for (MutableQuantiles q: opsLatQuantiles[type.ordinal()]) { q.add(latencyNanos); } }
Example 6
Source File: NameNodeMetrics.java From hadoop with Apache License 2.0 | 4 votes |
public void addCacheBlockReport(long latency) { cacheReport.add(latency); for (MutableQuantiles q : cacheReportQuantiles) { q.add(latency); } }
Example 7
Source File: QueryMetrics.java From kylin with Apache License 2.0 | 4 votes |
public void addResultRowCount(long count) { resultRowCount.add(count); for (MutableQuantiles m : resultRowCountQuantiles) { m.add(count); } }
Example 8
Source File: DataNodeMetrics.java From hadoop with Apache License 2.0 | 4 votes |
public void addRamDiskBlocksLazyPersistWindowMs(long latencyMs) { ramDiskBlocksLazyPersistWindowMs.add(latencyMs); for (MutableQuantiles q : ramDiskBlocksLazyPersistWindowMsQuantiles) { q.add(latencyMs); } }
Example 9
Source File: QueryMetrics.java From kylin with Apache License 2.0 | 4 votes |
public void addCacheHitCount(long count) { cacheHitCount.incr(count); for (MutableQuantiles m : cacheHitCountQuantiles) { m.add(count); } }
Example 10
Source File: DataNodeMetrics.java From hadoop with Apache License 2.0 | 4 votes |
public void addSendDataPacketTransferNanos(long latencyNanos) { sendDataPacketTransferNanos.add(latencyNanos); for (MutableQuantiles q : sendDataPacketTransferNanosQuantiles) { q.add(latencyNanos); } }
Example 11
Source File: DataNodeMetrics.java From hadoop with Apache License 2.0 | 4 votes |
public void addSendDataPacketBlockedOnNetworkNanos(long latencyNanos) { sendDataPacketBlockedOnNetworkNanos.add(latencyNanos); for (MutableQuantiles q : sendDataPacketBlockedOnNetworkNanosQuantiles) { q.add(latencyNanos); } }
Example 12
Source File: DataNodeMetrics.java From hadoop with Apache License 2.0 | 4 votes |
public void addFsyncNanos(long latencyNanos) { fsyncNanos.add(latencyNanos); for (MutableQuantiles q : fsyncNanosQuantiles) { q.add(latencyNanos); } }
Example 13
Source File: DataNodeMetrics.java From big-c with Apache License 2.0 | 4 votes |
public void addFlushNanos(long latencyNanos) { flushNanos.add(latencyNanos); for (MutableQuantiles q : flushNanosQuantiles) { q.add(latencyNanos); } }
Example 14
Source File: DataNodeMetrics.java From hadoop with Apache License 2.0 | 4 votes |
public void addPacketAckRoundTripTimeNanos(long latencyNanos) { packetAckRoundTripTimeNanos.add(latencyNanos); for (MutableQuantiles q : packetAckRoundTripTimeNanosQuantiles) { q.add(latencyNanos); } }
Example 15
Source File: NameNodeMetrics.java From hadoop with Apache License 2.0 | 4 votes |
public void addBlockReport(long latency) { blockReport.add(latency); for (MutableQuantiles q : blockReportQuantiles) { q.add(latency); } }
Example 16
Source File: Nfs3Metrics.java From big-c with Apache License 2.0 | 4 votes |
public void addWrite(long latencyNanos) { write.add(latencyNanos); for (MutableQuantiles q : writeNanosQuantiles) { q.add(latencyNanos); } }
Example 17
Source File: DataNodeMetrics.java From big-c with Apache License 2.0 | 4 votes |
public void addSendDataPacketTransferNanos(long latencyNanos) { sendDataPacketTransferNanos.add(latencyNanos); for (MutableQuantiles q : sendDataPacketTransferNanosQuantiles) { q.add(latencyNanos); } }
Example 18
Source File: QueryMetrics.java From kylin with Apache License 2.0 | 4 votes |
public void addScanRowCount(long count) { scanRowCount.add(count); for (MutableQuantiles m : scanRowCountQuantiles) { m.add(count); } }
Example 19
Source File: DataNodeMetrics.java From big-c with Apache License 2.0 | 4 votes |
public void addRamDiskBlocksEvictionWindowMs(long latencyMs) { ramDiskBlocksEvictionWindowMs.add(latencyMs); for (MutableQuantiles q : ramDiskBlocksEvictionWindowMsQuantiles) { q.add(latencyMs); } }
Example 20
Source File: QueryMetrics.java From kylin-on-parquet-v2 with Apache License 2.0 | 4 votes |
public void addQueryLatency(long latency) { queryLatency.add(latency); for (MutableQuantiles m : queryLatencyTimeMillisQuantiles) { m.add(latency); } }