Please add feedback to the issues folder, and we will follow up shortly. Be sure to include version information for both Grafana and the installed plugin.
The production plugins can be downloaded from the TwinMaker app plugin page.
For an overview of the plugin see src/README.md.
Pull down the git repo locally.
Installation requirements:
yarn install --frozen-lockfile
yarn dev
— will build the frontend changes,yarn watch
will build in watch modemage build:backend
— will build the backend changes- Troubleshooting: If you see
Plugin unavailable
when clicking “Save & test” for the TwinMaker datasource then run:mage -v buildAll
. This builds the backend plugin for all platforms.
- Troubleshooting: If you see
- The compiled plugin should be in dist/ directory.
- Run Grafana in development mode, or configure Grafana to load the unsigned plugin.
For more information, please consult the build a plugin docs page.
You need to have commit rights to the GitHub repository to publish a release.
- Update the version number in the
package.json
file. - Update the
CHANGELOG.md
by copy and pasting the relevant PRs from Github's Release drafter interface or by runningnpm run generate-release-notes
. - PR the changes.
- Let the AWS TwinMaker team know that you are planning a release so they can test it first. You can do this by tagging them in the release PR.
- Once merged, follow the Drone release process that you can find here
You can install by following the install Grafana plugins docs page.
- Install the AWS CLI
- Run
aws configure
and enter your IAM user credentials - Run the following docker command:
docker compose up -d
a. This container will mount the volume ~/.aws:/usr/share/grafana/.aws
with the credentials you configured on your machine so you can use the “AWS SDK Default” authentication provider for the TwinMaker datasource
- Access from http://localhost:3000 on your browser. First time login will be username:
admin
password:admin
.
By default, the webpack mode is set to production
to work with the released Grafana production build.
To build the plugin with development
mode, change the mode in webpack.config.js file to be development
, and start the development mode local Grafana server following Grafana Developer Guide