Skip to content

Commit

Permalink
doc changes
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekMaggio committed Jun 25, 2024
1 parent 4490738 commit 5b8d813
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions performance-metrics/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ push-no-restart-ot3: sdist
push-ot3: push-no-restart-ot3
$(call restart-service,$(host),$(ssh_key),$(ssh_opts),"opentrons-robot-server")

.PHONY: update-robot-version
update-robot-version:
.PHONY: override-robot-version
override-robot-version:
$(eval update_dict := '{"opentrons_api_version": "$(version)", "update_server_version": "$(version)", "robot_server_version": "$(version)", "server_utils_version": "$(version)", "opentrons_hardware_version": "$(version)"}')
$(call sync-version-file,$(host),$(ssh_key),$(ssh_opts),'$(update_dict)')
$(call restart-service,$(host),$(ssh_key),$(ssh_opts),"opentrons-robot-server")
Expand Down
7 changes: 4 additions & 3 deletions performance-metrics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ make -C robot-server dev-ot2

### Testing against real OT-2

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)
To push development packages to OT-2 run the following commands from the root directory of this repo:

```bash
make -C performance-metrics push-no-restart host=<ot2-ip>
Expand Down Expand Up @@ -51,12 +51,13 @@ Go to your app -> Settings -> General and find your app version
Then run

```bash
make -C performance-metrics update-robot-version version=<app-version> host=<robot-ip>
make -C performance-metrics override-robot-version version=<app-version> host=<robot-ip>
```
this will make the app think that the robot is on the same version

### Enabling performance-metrics feature flag

Performance metrics usage is hidden behind a feature flag. To enable it run the following command (assumes you have the `host` environment variable set):
Performance metrics usage is hidden behind a feature flag. To enable it run the following command:

```bash
make set-performance-metrics-ff host=<ip>
Expand Down

0 comments on commit 5b8d813

Please sign in to comment.