Library to gather various performance metrics for the Opentrons Flex.
Currently being imported inside of opentrons.util.performance_helpers
which defines
helper function used inside other projects
It is assumed that you already have the other projects in the monorepo setup correctly.
make -C performance-metrics setup
make -C robot-server dev-ot2
To push development packages to OT-2 run the following command from the root directory of this repo (assumes you have the host
environment variable set)
make -C performance-metrics push-no-restart host=<ot2-ip>
make -C api push-no-restart host=<ot2-ip>
make -C robot-server push host=<ot2-ip>
make -C robot-server dev-flex
make -C performance-metrics push-no-restart-ot3 host=<flex-ip>
make -C api push-no-restart-ot3 host=<flex-ip>
make -C robot-server push-ot3 host=<flex-ip>
Once this is done you will need to hack getting your robot and app to think they are on the same version. Go to your app -> Settings -> General and find your app version
Then run
make -C performance-metrics update-robot-version version=<app-version> host=<robot-ip>
Performance metrics usage is hidden behind a feature flag. To enable it run the following command (assumes you have the host
environment variable set):
make set-performance-metrics-ff host=<ip>
To disable it run:
make unset-performance-metrics-ff host=<ip>