Class PrometheusEndpoint

    • Method Detail

      • isConfigurationValid

        public boolean isConfigurationValid​(List<LocalizableMessage> unacceptableReasons)
        Description copied from class: HttpEndpoint
        Check that the configuration of this HttpEndpoint is valid. This default implementation try to instantiate and start the underlying HttpApplication.
        Overrides:
        isConfigurationValid in class HttpEndpoint<PrometheusEndpointCfg>
        Parameters:
        unacceptableReasons - A list that can be used to hold messages about why the configuration is not acceptable.
        Returns:
        true if the configuration is valid.