Class NodeMetricsClient
java.lang.Object
ai.vespa.metricsproxy.http.application.NodeMetricsClient
Retrieves metrics from a single Vespa node over http. To avoid unnecessary load on metrics
proxies, a cached snapshot per consumer is retained and served for a fixed TTL period.
Upon failure to retrieve metrics, an empty snapshot is cached.
This class assumes that the consumer id is a valid and existing one, which is already
ensured by the ApplicationMetricsHandler.
- Author:
- gjoranv
-
Method Summary