Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ getMetricsViewAsync() [1/2]

std::future< std::tuple< MetricsView, std::int64_t > > IceMX::MetricsAdminPrx::getMetricsViewAsync ( std::string_view view,
const Ice::Context & context = Ice::noExplicitContext ) const
nodiscard

Gets the metrics objects for the given metrics view.

Parameters
viewThe name of the metrics view.
contextThe request context.
Returns
A future that becomes available when the invocation completes. This future holds:
  • returnValue The metrics view data, a dictionary of metric maps for each metrics class configured with the view. The timestamp allows the client to compute averages which are not dependent of the invocation latency for this operation.
  • timestamp The local time of the process when the metrics objects were retrieved.