public class SinkMetrics extends Metrics
siddhiAppName, streamId| Constructor and Description |
|---|
SinkMetrics(String siddhiAppName,
String streamId) |
| Modifier and Type | Method and Description |
|---|---|
org.wso2.carbon.metrics.core.Counter |
getErrorCountPerStream(String streamId,
String topic,
int partition,
String errorString) |
org.wso2.carbon.metrics.core.Counter |
getErrorCountWithoutPartition(String topic,
String streamId,
String errorString) |
void |
getLastCommittedOffset(String topic,
int partition,
String streamId,
long offset) |
void |
getLastMessageAckLatency(String topic,
int partition,
String streamId,
long latency) |
void |
getLastMessagePublishedTime(String topic,
int partition,
String streamId,
long pushedTimestamp) |
void |
getLastMessageSize(String topic,
int partition,
String streamId,
double messageSize) |
org.wso2.carbon.metrics.core.Counter |
getTotalWrites() |
org.wso2.carbon.metrics.core.Counter |
getWriteCountPerStream(String streamId,
String topic,
int partition) |
public org.wso2.carbon.metrics.core.Counter getTotalWrites()
public org.wso2.carbon.metrics.core.Counter getWriteCountPerStream(String streamId, String topic, int partition)
public org.wso2.carbon.metrics.core.Counter getErrorCountWithoutPartition(String topic, String streamId, String errorString)
public org.wso2.carbon.metrics.core.Counter getErrorCountPerStream(String streamId, String topic, int partition, String errorString)
public void getLastMessageSize(String topic, int partition, String streamId, double messageSize)
public void getLastMessageAckLatency(String topic, int partition, String streamId, long latency)
public void getLastCommittedOffset(String topic, int partition, String streamId, long offset)
Copyright © 2021 WSO2. All rights reserved.