Interface MetricClient<T>

All Superinterfaces:
Pageable<T>, PageablePost<T>
All Known Implementing Classes:
MetricClientImpl

public interface MetricClient<T> extends PageablePost<T>

MetricClient interface. Internal client for the Fabric Metrics search API (POST /fabric/v4/metrics/search).

Author:
ianjones
  • Method Details

    • search

      Searches metrics matching the supplied filter and sort criteria.

    • getMetricsByName

      List<Metric> getMetricsByName(String name, String value)
      Retrieves metrics by wildcard metric name (GET /fabric/v4/metrics). Only the wildcard metro metric types are supported by this endpoint (for example equinix.fabric.metro.*.latency). This endpoint does not support time-range filtering.
      Parameters:
      name - the wildcard metric name (required)
      value - which value to retrieve (for example last; required)
      Returns:
      the matching metrics