Interface RegistrySettings

    • Method Detail

      • create

        static RegistrySettings create()
        Creates a new default RegistrySettings instance.
        Returns:
        new default instance
      • create

        static RegistrySettings create​(Config registrySettings)
        Creates a new RegistrySettings instance using the provided config.
        Parameters:
        registrySettings - the config node for the registry's settings
        Returns:
        updated builder
      • builder

        static RegistrySettings.Builder builder()
        Creates a new defaulted builder for RegistrySettings.
        Returns:
        new builder with default values
      • isEnabled

        boolean isEnabled()
        Returns whether metrics of this type are enabled.
        Returns:
        true if metrics of this type are enabled as a whole; false otherwise
      • isMetricEnabled

        boolean isMetricEnabled​(String dottedName)
        Returns whether the specified metric name is enabled or not, factoring in the enabled setting for this type as a whole with the regex pattern.
        Parameters:
        dottedName - name of the metric to check
        Returns:
        true if the specified metric should be full-featured; false otherwise
      • isStrictExemplars

        boolean isStrictExemplars()
        Returns whether strict exemplar behavior is enabled.
        Returns:
        true/false