Uses of Enum Class
io.prometheus.metrics.model.registry.MetricType
Packages that use MetricType
-
Uses of MetricType in io.prometheus.metrics.core.metrics
Methods in io.prometheus.metrics.core.metrics that return MetricTypeModifier and TypeMethodDescriptionCounter.getMetricType()CounterWithCallback.getMetricType()Gauge.getMetricType()GaugeWithCallback.getMetricType()Histogram.getMetricType()Info.getMetricType()StateSet.getMetricType()Summary.getMetricType()SummaryWithCallback.getMetricType() -
Uses of MetricType in io.prometheus.metrics.model.registry
Fields in io.prometheus.metrics.model.registry declared as MetricTypeModifier and TypeFieldDescriptionprivate final MetricTypePrometheusRegistry.RegistrationInfo.typeMethods in io.prometheus.metrics.model.registry that return MetricTypeModifier and TypeMethodDescriptiondefault MetricTypeCollector.getMetricType()Returns the metric type for registration-time validation.default MetricTypeMultiCollector.getMetricType(String prometheusName) Returns the metric type for the given Prometheus name.(package private) MetricTypePrometheusRegistry.RegistrationInfo.getType()static MetricTypeReturns the enum constant of this class with the specified name.static MetricType[]MetricType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.prometheus.metrics.model.registry with parameters of type MetricTypeModifier and TypeMethodDescription(package private) static PrometheusRegistry.RegistrationInfoPrometheusRegistry.RegistrationInfo.of(MetricType type, Set<String> labelNames, String help, Unit unit) private voidPrometheusRegistry.validateRegistration(String prometheusName, MetricType metricType, Set<String> normalizedLabels, String help, Unit unit) Validates the registration of a metric with the given parameters.Constructors in io.prometheus.metrics.model.registry with parameters of type MetricTypeModifierConstructorDescriptionprivateRegistrationInfo(MetricType type, Set<Set<String>> labelSchemas, String help, Unit unit)