Create Plugin Contents

For this tutorial the meter plugin will generate a random number between 0 and 99.

The contents of the meter plugin have already been pre-defined and can be cloned from GitHub.

Cloning the Meter Plugin Contents

  1. Clone the GitHub repository with the meter plugin contents:

    $ git clone https://github.com/boundary/meter-plugin-tutorial.git

  2. Change directory to the newly cloned repository:

    $ cd meter-plugin-tutorial

Meter Plugin Contents

For this tutorial we walk through each of the meter plugins in the following order:

  1. Define Metrics
  2. Create Manifest
  3. Write Script
  4. Add Configuration
  5. Add Icon
  6. Create README

Click on each of the steps for details of the meter file components.