A Grafana datasource plugin for querying metrics from Axiom.
-
Install dependencies
npm install
-
Build plugin in development mode and run in watch mode
npm run dev
-
Build plugin in production mode
npm run build
-
Run the tests (using Jest)
# Runs the tests and watches for changes npm run test # Exits after running all the tests npm run test:ci
-
Spin up a Grafana instance and run the plugin inside it (using Docker)
npm run server
-
Run the E2E tests (using Playwright)
npm run e2e
-
Run the linter
npm run lint # or npm run lint:fix
To trigger a release, push a version tag:
- Run
npm version <major|minor|patch> - Run
git push origin main --follow-tags
The release workflow will build, sign, and publish a GitHub release automatically.
Apache-2.0