Class PinotVersion


  • public class PinotVersion
    extends Object
    Reads the pinot-version.properties file to extract the project version that this code was compiled against.
    • Field Detail

      • VERSION

        public static final String VERSION
        The compile version of Pinot (e.g. 0.12.0). Note that this relies on Maven Filtering to properly work, which means that if you access this in a local, non-maven build this will resolve to UNKNOWN.
      • VERSION_METRIC_NAME

        public static final String VERSION_METRIC_NAME
        A sanitized version string with all dots replaced with underscores, which is necessary for Prometheus to be able to properly handle the version.