Enum CollectorType
- java.lang.Object
-
- java.lang.Enum<CollectorType>
-
- org.jenkinsci.plugins.prometheus.collectors.CollectorType
-
- All Implemented Interfaces:
Serializable
,Comparable<CollectorType>
public enum CollectorType extends Enum<CollectorType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
static CollectorType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CollectorType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JENKINS_UP_GAUGE
public static final CollectorType JENKINS_UP_GAUGE
-
JENKINS_UPTIME_GAUGE
public static final CollectorType JENKINS_UPTIME_GAUGE
-
JENKINS_VERSION_INFO_GAUGE
public static final CollectorType JENKINS_VERSION_INFO_GAUGE
-
NODES_ONLINE_GAUGE
public static final CollectorType NODES_ONLINE_GAUGE
-
BUILD_DURATION_GAUGE
public static final CollectorType BUILD_DURATION_GAUGE
-
BUILD_DURATION_SUMMARY
public static final CollectorType BUILD_DURATION_SUMMARY
-
BUILD_RESULT_GAUGE
public static final CollectorType BUILD_RESULT_GAUGE
-
BUILD_RESULT_ORDINAL_GAUGE
public static final CollectorType BUILD_RESULT_ORDINAL_GAUGE
-
BUILD_START_GAUGE
public static final CollectorType BUILD_START_GAUGE
-
BUILD_FAILED_COUNTER
public static final CollectorType BUILD_FAILED_COUNTER
-
BUILD_TOTAL_COUNTER
public static final CollectorType BUILD_TOTAL_COUNTER
-
BUILD_SUCCESSFUL_COUNTER
public static final CollectorType BUILD_SUCCESSFUL_COUNTER
-
BUILD_UNSTABLE_COUNTER
public static final CollectorType BUILD_UNSTABLE_COUNTER
-
BUILD_ABORTED_COUNTER
public static final CollectorType BUILD_ABORTED_COUNTER
-
BUILD_LIKELY_STUCK_GAUGE
public static final CollectorType BUILD_LIKELY_STUCK_GAUGE
-
FAILED_TESTS_GAUGE
public static final CollectorType FAILED_TESTS_GAUGE
-
SKIPPED_TESTS_GAUGE
public static final CollectorType SKIPPED_TESTS_GAUGE
-
STAGE_SUMMARY
public static final CollectorType STAGE_SUMMARY
-
TOTAL_TESTS_GAUGE
public static final CollectorType TOTAL_TESTS_GAUGE
-
HEALTH_SCORE_GAUGE
public static final CollectorType HEALTH_SCORE_GAUGE
-
NB_BUILDS_GAUGE
public static final CollectorType NB_BUILDS_GAUGE
-
BUILD_DISCARD_GAUGE
public static final CollectorType BUILD_DISCARD_GAUGE
-
CURRENT_RUN_DURATION_GAUGE
public static final CollectorType CURRENT_RUN_DURATION_GAUGE
-
EXECUTORS_AVAILABLE_GAUGE
public static final CollectorType EXECUTORS_AVAILABLE_GAUGE
-
EXECUTORS_BUSY_GAUGE
public static final CollectorType EXECUTORS_BUSY_GAUGE
-
EXECUTORS_CONNECTING_GAUGE
public static final CollectorType EXECUTORS_CONNECTING_GAUGE
-
EXECUTORS_DEFINED_GAUGE
public static final CollectorType EXECUTORS_DEFINED_GAUGE
-
EXECUTORS_IDLE_GAUGE
public static final CollectorType EXECUTORS_IDLE_GAUGE
-
EXECUTORS_ONLINE_GAUGE
public static final CollectorType EXECUTORS_ONLINE_GAUGE
-
EXECUTORS_QUEUE_LENGTH_GAUGE
public static final CollectorType EXECUTORS_QUEUE_LENGTH_GAUGE
-
DISK_USAGE_BYTES_GAUGE
public static final CollectorType DISK_USAGE_BYTES_GAUGE
-
DISK_USAGE_FILE_COUNT_GAUGE
public static final CollectorType DISK_USAGE_FILE_COUNT_GAUGE
-
FILE_STORE_AVAILABLE_GAUGE
public static final CollectorType FILE_STORE_AVAILABLE_GAUGE
-
FILE_STORE_CAPACITY_GAUGE
public static final CollectorType FILE_STORE_CAPACITY_GAUGE
-
JOB_USAGE_BYTES_GAUGE
public static final CollectorType JOB_USAGE_BYTES_GAUGE
-
BUILD_FAILED_TESTS
public static final CollectorType BUILD_FAILED_TESTS
-
COVERAGE_CLASS_COVERED
public static final CollectorType COVERAGE_CLASS_COVERED
-
COVERAGE_CLASS_MISSED
public static final CollectorType COVERAGE_CLASS_MISSED
-
COVERAGE_CLASS_TOTAL
public static final CollectorType COVERAGE_CLASS_TOTAL
-
COVERAGE_CLASS_PERCENT
public static final CollectorType COVERAGE_CLASS_PERCENT
-
COVERAGE_BRANCH_COVERED
public static final CollectorType COVERAGE_BRANCH_COVERED
-
COVERAGE_BRANCH_MISSED
public static final CollectorType COVERAGE_BRANCH_MISSED
-
COVERAGE_BRANCH_TOTAL
public static final CollectorType COVERAGE_BRANCH_TOTAL
-
COVERAGE_BRANCH_PERCENT
public static final CollectorType COVERAGE_BRANCH_PERCENT
-
COVERAGE_INSTRUCTION_COVERED
public static final CollectorType COVERAGE_INSTRUCTION_COVERED
-
COVERAGE_INSTRUCTION_MISSED
public static final CollectorType COVERAGE_INSTRUCTION_MISSED
-
COVERAGE_INSTRUCTION_TOTAL
public static final CollectorType COVERAGE_INSTRUCTION_TOTAL
-
COVERAGE_INSTRUCTION_PERCENT
public static final CollectorType COVERAGE_INSTRUCTION_PERCENT
-
COVERAGE_FILE_COVERED
public static final CollectorType COVERAGE_FILE_COVERED
-
COVERAGE_FILE_MISSED
public static final CollectorType COVERAGE_FILE_MISSED
-
COVERAGE_FILE_TOTAL
public static final CollectorType COVERAGE_FILE_TOTAL
-
COVERAGE_FILE_PERCENT
public static final CollectorType COVERAGE_FILE_PERCENT
-
COVERAGE_LINE_COVERED
public static final CollectorType COVERAGE_LINE_COVERED
-
COVERAGE_LINE_MISSED
public static final CollectorType COVERAGE_LINE_MISSED
-
COVERAGE_LINE_TOTAL
public static final CollectorType COVERAGE_LINE_TOTAL
-
COVERAGE_LINE_PERCENT
public static final CollectorType COVERAGE_LINE_PERCENT
-
JOB_LOG_UPDATED_GAUGE
public static final CollectorType JOB_LOG_UPDATED_GAUGE
-
-
Method Detail
-
values
public static CollectorType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CollectorType c : CollectorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CollectorType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getName
public String getName()
-
-