Class ExporterPushgatewayProperties

java.lang.Object
io.prometheus.metrics.config.ExporterPushgatewayProperties

public class ExporterPushgatewayProperties extends Object
  • Method Details

    • getAddress

      @Nullable public String getAddress()
      Address of the Pushgateway in the form host:port. Default is localhost:9091
    • getJob

      @Nullable public String getJob()
      job label for metrics being pushed. Default is the name of the JAR file that is running.
    • getScheme

      @Nullable public String getScheme()
      Scheme to be used when pushing metrics to the pushgateway. Must be "http" or "https". Default is "http".
    • getEscapingScheme

      @Nullable public EscapingScheme getEscapingScheme()
      Escaping scheme to be used when pushing metric data to the pushgateway.
    • builder

      public static ExporterPushgatewayProperties.Builder builder()