Class PrometheusEndpointCfgDefn

    • Method Detail

      • getInstance

        public static PrometheusEndpointCfgDefn getInstance()
        Get the Prometheus HTTP Endpoint configuration definition singleton.
        Returns:
        Returns the Prometheus HTTP Endpoint configuration definition singleton.
      • getBasePathPropertyDefinition

        public StringPropertyDefinition getBasePathPropertyDefinition()
        Get the "base-path" property definition.

        All HTTP requests matching the base path or subordinate to it will be routed to the HTTP endpoint unless a more specific HTTP endpoint is found.

        Returns:
        Returns the "base-path" property definition.
      • getEnabledPropertyDefinition

        public BooleanPropertyDefinition getEnabledPropertyDefinition()
        Get the "enabled" property definition.

        Indicates whether the Prometheus HTTP Endpoint is enabled.

        Returns:
        Returns the "enabled" property definition.
      • getExcludedMetricPatternPropertyDefinition

        public StringPropertyDefinition getExcludedMetricPatternPropertyDefinition()
        Get the "excluded-metric-pattern" property definition.

        Zero or more regular expressions identifying metrics that should not be published. The metric name prefix must not be included in the filter. Exclusion patterns take precedence over inclusion patterns.

        Returns:
        Returns the "excluded-metric-pattern" property definition.
      • getIncludedMetricPatternPropertyDefinition

        public StringPropertyDefinition getIncludedMetricPatternPropertyDefinition()
        Get the "included-metric-pattern" property definition.

        Zero or more regular expressions identifying metrics that should be published. The metric name prefix must not be included in the filter. Exclusion patterns take precedence over inclusion patterns.

        Returns:
        Returns the "included-metric-pattern" property definition.
      • getJavaClassPropertyDefinition

        public ClassPropertyDefinition getJavaClassPropertyDefinition()
        Get the "java-class" property definition.

        Specifies the fully-qualified name of the Java class that provides the Prometheus HTTP Endpoint implementation.

        Returns:
        Returns the "java-class" property definition.