switches to event-based description of FederatedMetric
adds eras of federated metricas
process query properly when it overlaps indexed and unindexed data