diff options
-rw-r--r-- | metrics/src/main/java/ai/vespa/metrics/GridLogMetrics.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/metrics/src/main/java/ai/vespa/metrics/GridLogMetrics.java b/metrics/src/main/java/ai/vespa/metrics/GridLogMetrics.java index 1286261d094..ff1bb05c579 100644 --- a/metrics/src/main/java/ai/vespa/metrics/GridLogMetrics.java +++ b/metrics/src/main/java/ai/vespa/metrics/GridLogMetrics.java @@ -13,7 +13,13 @@ public enum GridLogMetrics implements VespaMetrics { SIZE("gridlog.size", Unit.BYTE, "Size of sent entries"), PAYLOAD_TIME("gridlog.payload_time", Unit.SECOND, "Time spent building payload"), BUILD_TIME("gridlog.build_time", Unit.SECOND, "Time spent building entries"), - SEND_TIME("gridlog.send_time", Unit.SECOND, "Total time spend in worker thread"); + SEND_TIME("gridlog.send_time", Unit.SECOND, "Total time spend in worker thread"), + + KINESIS_LOGGER_RECEIVED("kinesislogger.received", Unit.ITEM, "Kinesis entries requested to send (after writing to disk)"), + KINESIS_LOGGER_SENT("kinesislogger.sent", Unit.ITEM, "Kinesis entries successfully sent"), + KINESIS_LOGGER_NOT_SENT("kinesislogger.not_sent", Unit.ITEM, "Kinesis entries not sent, due to some error"), + KINESIS_LOGGER_REJECTED("kinesislogger.rejected", Unit.ITEM, "Kinesis entries not sent, unable to write to disk"), + KINESIS_LOGGER_SEND_TIME("kinesislogger.send_time", Unit.SECOND, "Total time spent in kinesis worker thread"); private final String name; private final Unit unit; |