The openlayer metrics command allows you to push, pull, and run your custom metrics through Openlayer CLI.

Usage

openlayer metrics [command]

Where [command] is one of:

  • pull: Pull your custom metrics from the Openlayer platform to your workind directory.
  • push: Push your custom metrics to the Openlayer platform.
  • run: Run your custom metrics locally.

For the commands above, you can pass the flag -d (or --directory) to point to the directory containing the custom metrics. You can point to a single metric or a directory of metrics. (default "metrics")

For example, to push the directory metric_name to the platform:

openlayer metrics push -d metric_name