Class DefaultPrometheusMetrics
java.lang.Object
org.jenkinsci.plugins.prometheus.service.DefaultPrometheusMetrics
- All Implemented Interfaces:
PrometheusMetrics
-
Method Summary
-
Method Details
-
get
-
registerCollectors
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @Initializer(after=JOB_LOADED, before=JOB_CONFIG_ADAPTED) public static void registerCollectors() -
getMetrics
- Specified by:
getMetrics
in interfacePrometheusMetrics
-
collectMetrics
public void collectMetrics()- Specified by:
collectMetrics
in interfacePrometheusMetrics
-