Package ai.vespa.metricsproxy.service
Class DummyMetricsFetcher
java.lang.Object
ai.vespa.metricsproxy.service.HttpMetricFetcher
ai.vespa.metricsproxy.service.RemoteMetricsFetcher
ai.vespa.metricsproxy.service.DummyMetricsFetcher
Dummy class used for getting health status for a vespa service that has no HTTP service
for getting metrics
- Author:
- hmusum
-
Field Summary
Fields inherited from class ai.vespa.metricsproxy.service.HttpMetricFetcher
CONNECTION_TIMEOUT, service, STATE_PATH -
Method Summary
Modifier and TypeMethodDescriptionvoidgetMetrics(MetricsParser.Collector consumer, int fetchCount) Connect to remote service over http and fetch metricsMethods inherited from class ai.vespa.metricsproxy.service.HttpMetricFetcher
toString
-
Method Details
-
getMetrics
Connect to remote service over http and fetch metrics- Overrides:
getMetricsin classRemoteMetricsFetcher
-