Class AbstractMetricEntry<T>

java.lang.Object
io.kestra.core.models.executions.AbstractMetricEntry<T>
Direct Known Subclasses:
Counter, Timer

@Introspected public abstract class AbstractMetricEntry<T> extends Object
  • Field Details

  • Constructor Details

    • AbstractMetricEntry

      protected AbstractMetricEntry(@NotNull @NotNull String name, String[] tags)
  • Method Details

    • getType

      public abstract String getType()
    • tagsAsArray

      protected String[] tagsAsArray(Map<String,String> others)
    • metricName

      protected String metricName(String prefix)
    • getValue

      public abstract T getValue()
    • register

      public abstract void register(MetricRegistry meterRegistry, String prefix, Map<String,String> tags)
    • increment

      public abstract void increment(T value)