Class PrometheusMetricsVersion

Object
PrometheusMetricsVersion

@StableApi public final class PrometheusMetricsVersion extends Object
Provides the version of the Prometheus Java Metrics Library.
  • Method Details

    • getVersion

      public static String getVersion()
      Returns the Maven version of the prometheus-metrics-core artifact containing this class.
      Returns:
      the artifact version, including any suffix such as -SNAPSHOT