Class MetricDescriptor

java.lang.Object
io.quarkus.micrometer.runtime.binder.mpmetrics.MetricDescriptor

public class MetricDescriptor extends Object
  • Field Details

  • Constructor Details

    • MetricDescriptor

      MetricDescriptor(String name, io.micrometer.core.instrument.Tags tags)
    • MetricDescriptor

      MetricDescriptor(String name, String... tags)
    • MetricDescriptor

      public MetricDescriptor(org.eclipse.microprofile.metrics.annotation.Metric annotation)
    • MetricDescriptor

      public MetricDescriptor(AnnotatedGaugeAdapter adapter)
    • MetricDescriptor

      public MetricDescriptor(org.eclipse.microprofile.metrics.MetricID metricID)
  • Method Details

    • name

      public String name()
    • tags

      public io.micrometer.core.instrument.Tags tags()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • convertTags

      org.eclipse.microprofile.metrics.Tag[] convertTags()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toMetricID

      public org.eclipse.microprofile.metrics.MetricID toMetricID()
    • sanitizeMetricID

      public static MetricDescriptor.ExtendedMetricID sanitizeMetricID(org.eclipse.microprofile.metrics.MetricID metricID, MetricDescriptor metricDescriptor)