12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- package org.dbsyncer.biz.enums;
- public enum StatisticEnum {
- /**
- * The sum of the amounts recorded.
- */
- TOTAL("total"),
- /**
- * The sum of the times recorded. Reported in the monitoring system's base unit of time
- */
- TOTAL_TIME("total"),
- /**
- * Rate per second for calls.
- */
- COUNT("count"),
- /**
- * The maximum amount recorded. When this represents a time, it is reported in the monitoring system's base unit of time.
- */
- MAX("max"),
- /**
- * Instantaneous value, such as those reported by gauges.
- */
- VALUE("value"),
- /**
- * Undetermined.
- */
- UNKNOWN("unknown"),
- /**
- * Number of currently active tasks for a long task timer.
- */
- ACTIVE_TASKS("active"),
- /**
- * Duration of a running task in a long task timer. Always reported in the monitoring system's base unit of time.
- */
- DURATION("duration");
- private final String tagValueRepresentation;
- StatisticEnum(String tagValueRepresentation) {
- this.tagValueRepresentation = tagValueRepresentation;
- }
- public String getTagValueRepresentation() {
- return tagValueRepresentation;
- }
- }
|