Responds to HTTP requests with current metrics in any of the Prometheus exposition formats.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetMetrics(Context ctx, GetMetricsRequest request, Observer<HttpBody> observer) Exports metrics in Prometheus text formatMethods inherited from class org.yamcs.prometheus.api.AbstractPrometheusApi
callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototype
-
Constructor Details
-
PrometheusApi
-
-
Method Details
-
getMetrics
Description copied from class:AbstractPrometheusApiExports metrics in Prometheus text format
- Specified by:
getMetricsin classAbstractPrometheusApi<Context>
-