Package org.yamcs.prometheus.api
Class PrometheusApiClient
- java.lang.Object
-
- org.yamcs.prometheus.api.AbstractPrometheusApi<Void>
-
- org.yamcs.prometheus.api.PrometheusApiClient
-
- All Implemented Interfaces:
org.yamcs.api.Api<Void>
public class PrometheusApiClient extends AbstractPrometheusApi<Void>
-
-
Constructor Summary
Constructors Constructor Description PrometheusApiClient(org.yamcs.api.MethodHandler handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgetMetrics(Void ctx, GetMetricsRequest request, org.yamcs.api.Observer<org.yamcs.api.HttpBody> observer)Exports metrics in Prometheus text format-
Methods inherited from class org.yamcs.prometheus.api.AbstractPrometheusApi
callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototype
-
-
-
-
Method Detail
-
getMetrics
public final void getMetrics(Void ctx, GetMetricsRequest request, org.yamcs.api.Observer<org.yamcs.api.HttpBody> observer)
Exports metrics in Prometheus text format
- Specified by:
getMetricsin classAbstractPrometheusApi<Void>
-
-