Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

VolkovLabs/volkovlabs-abc-datasource

Repository files navigation

Template to create a new Grafana data source plugin

Datasource

Grafana 10 CI E2E codecov CodeQL

Introduction

The Abc Data Source is a template we created to streamline our development process and gladly share with the Grafana community.

To make the creation process efficient, starting with a well-constructed template is always easier.

Generate a template with https://github.com/VolkovLabs/volkovlabs-abc-datasource/generate.

Requirements

  • Version 3.X requires Grafana 9 or Grafana 10.
  • Version 2.X requires Grafana 8.5 or Grafana 9.
  • Version 1.X requires Grafana 8.

Getting Started

  1. Install packages
npm install
  1. Build the plugin
npm run build
  1. Sign the plugins if required
export GRAFANA_ACCESS_POLICY_TOKEN=token==
npm run sign
  1. Start the Docker container
npm run start

Highlights

  • Use docker-compose to start the development environment with provisioned data source and dashboard.
  • Provides unit and E2E test configuration.
  • Based on the latest version of Grafana and Grafana Tools.
  • Includes GitHub Actions for CI, E2E, and Release.

Support

License

Apache License Version 2.0, see LICENSE.