Enum Class HistogramFlavor

java.lang.Object
java.lang.Enum<HistogramFlavor>
io.micrometer.prometheus.HistogramFlavor
All Implemented Interfaces:
Serializable, Comparable<HistogramFlavor>, Constable

@Deprecated public enum HistogramFlavor extends Enum<HistogramFlavor>
Deprecated.
since 1.13.0, unfortunately there is no replacement right now since the new Prometheus client does not support custom histogram bucket names.
Histogram flavors.
Since:
1.4.0
  • Enum Constant Details

    • Prometheus

      public static final HistogramFlavor Prometheus
      Deprecated.
    • VictoriaMetrics

      public static final HistogramFlavor VictoriaMetrics
      Deprecated.
  • Method Details

    • values

      public static HistogramFlavor[] values()
      Deprecated.
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static HistogramFlavor valueOf(String name)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null