Class PrometheusConfiguration

java.lang.Object
hudson.model.Descriptor<GlobalConfiguration>
jenkins.model.GlobalConfiguration
org.jenkinsci.plugins.prometheus.config.PrometheusConfiguration
All Implemented Interfaces:
ExtensionPoint, Describable<GlobalConfiguration>, Saveable, OnMaster

@Extension(dynamicLoadable=NO)
public class PrometheusConfiguration
extends GlobalConfiguration
Author:
Robin Müller
  • Constructor Details

    • PrometheusConfiguration

      public PrometheusConfiguration()
  • Method Details

    • get

      public static PrometheusConfiguration get()
    • configure

      public boolean configure​(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws Descriptor.FormException
      Overrides:
      configure in class GlobalConfiguration
      Throws:
      Descriptor.FormException
    • getPath

      public String getPath()
    • setPath

      public void setPath​(String path)
    • getJobAttributeName

      public String getJobAttributeName()
    • setJobAttributeName

      public void setJobAttributeName​(String jobAttributeName)
    • getDefaultNamespace

      public String getDefaultNamespace()
    • setDefaultNamespace

      public void setDefaultNamespace​(String path)
    • setCollectDiskUsage

      public void setCollectDiskUsage​(Boolean collectDiskUsage)
    • getCollectDiskUsage

      public boolean getCollectDiskUsage()
    • getDefaultCollectDiskUsage

      public boolean getDefaultCollectDiskUsage()
    • getCollectingMetricsPeriodInSeconds

      public long getCollectingMetricsPeriodInSeconds()
    • setCollectingMetricsPeriodInSeconds

      public void setCollectingMetricsPeriodInSeconds​(Long collectingMetricsPeriodInSeconds)
    • isUseAuthenticatedEndpoint

      public boolean isUseAuthenticatedEndpoint()
    • setUseAuthenticatedEndpoint

      public void setUseAuthenticatedEndpoint​(boolean useAuthenticatedEndpoint)
    • isCountSuccessfulBuilds

      public boolean isCountSuccessfulBuilds()
    • setCountSuccessfulBuilds

      public void setCountSuccessfulBuilds​(boolean countSuccessfulBuilds)
    • isCountUnstableBuilds

      public boolean isCountUnstableBuilds()
    • setCountUnstableBuilds

      public void setCountUnstableBuilds​(boolean countUnstableBuilds)
    • isCountFailedBuilds

      public boolean isCountFailedBuilds()
    • setCountFailedBuilds

      public void setCountFailedBuilds​(boolean countFailedBuilds)
    • isCountNotBuiltBuilds

      public boolean isCountNotBuiltBuilds()
    • setCountNotBuiltBuilds

      public void setCountNotBuiltBuilds​(boolean countNotBuiltBuilds)
    • isCountAbortedBuilds

      public boolean isCountAbortedBuilds()
    • setCountAbortedBuilds

      public void setCountAbortedBuilds​(boolean countAbortedBuilds)
    • isFetchTestResults

      public boolean isFetchTestResults()
    • setFetchTestResults

      public void setFetchTestResults​(boolean fetchTestResults)
    • isProcessingDisabledBuilds

      public boolean isProcessingDisabledBuilds()
    • setProcessingDisabledBuilds

      public void setProcessingDisabledBuilds​(boolean processingDisabledBuilds)
    • isAppendParamLabel

      public boolean isAppendParamLabel()
    • setAppendParamLabel

      public void setAppendParamLabel​(boolean appendParamLabel)
    • isAppendStatusLabel

      public boolean isAppendStatusLabel()
    • setAppendStatusLabel

      public void setAppendStatusLabel​(boolean appendStatusLabel)
    • getUrlName

      public String getUrlName()
    • getAdditionalPath

      public String getAdditionalPath()
    • getLabeledBuildParameterNames

      public String getLabeledBuildParameterNames()
    • setLabeledBuildParameterNames

      public void setLabeledBuildParameterNames​(String labeledBuildParameterNames)
    • getLabeledBuildParameterNamesAsArray

      public String[] getLabeledBuildParameterNamesAsArray()
    • doCheckPath

      public FormValidation doCheckPath​(@QueryParameter String value)