diff options
Diffstat (limited to 'container-core/src/main/java/com/yahoo/metrics/LogdMetrics.java')
-rw-r--r-- | container-core/src/main/java/com/yahoo/metrics/LogdMetrics.java | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/container-core/src/main/java/com/yahoo/metrics/LogdMetrics.java b/container-core/src/main/java/com/yahoo/metrics/LogdMetrics.java new file mode 100644 index 00000000000..3dae4283b9f --- /dev/null +++ b/container-core/src/main/java/com/yahoo/metrics/LogdMetrics.java @@ -0,0 +1,33 @@ +package com.yahoo.metrics; + +/** + * @author yngveaasheim + */ +public enum LogdMetrics implements VespaMetrics { + + LOGD_PROCESSED_LINES("logd.processed.lines", Unit.ITEM, "Number of log lines processed"); + + private final String name; + private final Unit unit; + private final String description; + + LogdMetrics(String name, Unit unit, String description) { + this.name = name; + this.unit = unit; + this.description = description; + } + + public String baseName() { + return name; + } + + public Unit unit() { + return unit; + } + + public String description() { + return description; + } + +} + |