Filtering performance batches to a list of metrics

When you schedule a batch for a collector, all aliases that are present for the devices being monitored are extracted. If you want to add a new alias to an existing batch at a later date, you will only get future data when the scheduled batches are run. To collect past data, you need to create a filtered list of metrics to collect the past data. The following workflow should be used when adding a new alias to an existing scheduled batch:
  1. Add the new alias in ZODB. See Adding aliases.
  2. Extract one batch normally, or wait for the next scheduled performance extraction to complete. This ensures that the future batches will contain the new metric and that Analytics has registered the new metric.
  3. Create a new manual batch to collect past data for the new metric by inserting the metric names into the meta_batch_metric_assoc table.