trait MetricsPersister extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MetricsPersister
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def loadAll: Future[Map[Instant, Map[SingleDsDescription, Map[SimpleMetricDescriptor, MetricValue]]]]

    Loads all metrics in the repository

    Loads all metrics in the repository

    returns

    Future of a map with timestamps to metrics

  2. abstract def save(timestamp: Instant, metrics: Map[SingleDsDescription, Map[SimpleMetricDescriptor, MetricValue]]): Future[Map[SingleDsDescription, Map[SimpleMetricDescriptor, MetricValue]]]

    Save the given metrics to some storage layer depending on implementation chosen

    Save the given metrics to some storage layer depending on implementation chosen

    timestamp

    - the timestamp to associate the metrics to

    metrics

    - a map with an entry for each dataset. An inner map for each type of metric for that dataset.

    returns

    returns a future of the passed metrics