Class TimeseriesPersister

  • All Implemented Interfaces:
    CollectionSetVisitor, Persister

    public class TimeseriesPersister
    extends AbstractPersister
    TimeseriesPersister persistence strategy. Both string and numeric attributes are persisted via TimeseriesPersistOperationBuilder. String attributes: We collect all attributes within a resource and commit them when we finished the collection. We cannot commit earlier since we need to collect the resource level string attributes. They can be part of any group within the resource but need to be applied to all metrics in the resource. Therefore, we need to collect all attributes under the resource Structure: - resource + group + resource level string attribute + numeric attributes