Metrics Platform/How to/Decommission your instrument

From Wikitech

Decommissioning an instrument

As important as creating and operating your instrument is ensuring that you have a complete lifecycle plan for your instrument. Instruments should not, by default, be long lived.

Set a date

When creating a new instrument the responsible team and, specifically, the Product Owner must set a start and end date for operation of the instrument.

Schemas

Unlike past iteration the Metrics Platform(MP) has deliberately made schema creation more expensive. Before creating a new schema fragment teams need to think through what new data they need and why the information is not already captured by existing schemas. Creating a new schema should be an exception not an expectation.

We will publish a guide to data collection and schema design - for now you can consult directly with Data Products through our intake process.

At present, there is no need to remove schemas from the existing system in order to decommission an instrument. If you have a concern about an existing schema please don't hesitate to contact Data Products directly.

Remove Stream Configuration

The most straightforward path, at present, is to remove the newly added stream configuration code that you added under the Creating a Stream Configuration step. This will completely disable the instrument.

In future iterations of the Metrics Platform, we are planning to provide a Configuration and Experimentation Management application that will allow Product Owners to control their experiments without code deploys and this interface will support configuring instrument life spans.