Uses of Class
org.jboss.as.test.shared.observability.signals.PrometheusMetric
Packages that use PrometheusMetric
-
Uses of PrometheusMetric in org.jboss.as.test.shared.observability.containers
Methods in org.jboss.as.test.shared.observability.containers that return types with arguments of type PrometheusMetricModifier and TypeMethodDescriptionOpenTelemetryCollectorContainer.assertMetrics(Consumer<List<PrometheusMetric>> assertionConsumer) Continually evaluates assertions provided in a consumer until the state obtained from the Prometheus endpoint matches the expected state or until a timeout elapses.OpenTelemetryCollectorContainer.assertMetrics(Consumer<List<PrometheusMetric>> assertionConsumer, Duration timeout) Variant ofOpenTelemetryCollectorContainer.assertMetrics(Consumer)that can be configured with a timeout duration.OpenTelemetryCollectorContainer.fetchMetrics()Fetches a current snapshot of the metrics from the Prometheus endpoint.OpenTelemetryCollectorContainer.fetchMetrics(String nameToMonitor) Deprecated.OpenTelemetryCollectorContainer.getMetricsByName(List<PrometheusMetric> metrics, String key) Given a list ofPrometheusMetricinstances, return a sublist whose key matcheskey.Method parameters in org.jboss.as.test.shared.observability.containers with type arguments of type PrometheusMetricModifier and TypeMethodDescriptionOpenTelemetryCollectorContainer.assertMetrics(Consumer<List<PrometheusMetric>> assertionConsumer) Continually evaluates assertions provided in a consumer until the state obtained from the Prometheus endpoint matches the expected state or until a timeout elapses.OpenTelemetryCollectorContainer.assertMetrics(Consumer<List<PrometheusMetric>> assertionConsumer, Duration timeout) Variant ofOpenTelemetryCollectorContainer.assertMetrics(Consumer)that can be configured with a timeout duration.OpenTelemetryCollectorContainer.getMetricsByName(List<PrometheusMetric> metrics, String key) Given a list ofPrometheusMetricinstances, return a sublist whose key matcheskey.
OpenTelemetryCollectorContainer.assertMetrics(Consumer)instead.