You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
rozetko 64aa8b8f8b a lot of refactoring && it works 1 year ago
.config copy panel from the panel repo 1 year ago
cypress/integration grafana app boilerplate 1 year ago
src a lot of refactoring && it works 1 year ago
.eslintrc grafana app boilerplate 1 year ago
.gitignore config page (#1) 1 year ago
.nvmrc grafana app boilerplate 1 year ago
.prettierrc.js grafana app boilerplate 1 year ago
CHANGELOG.md grafana app boilerplate 1 year ago
LICENSE grafana app boilerplate 1 year ago
README.md grafana app boilerplate 1 year ago
docker-compose.yaml grafana app boilerplate 1 year ago
jest.config.js grafana app boilerplate 1 year ago
package.json a lot of refactoring && it works 1 year ago
tsconfig.json grafana app boilerplate 1 year ago
webpack.config.ts config page (#1) 1 year ago
yarn.lock a lot of refactoring && it works 1 year ago

README.md

Grafana app plugin template

This template is a starting point for building an app plugin for Grafana.

What are Grafana app plugins?

App plugins can let you create a custom out-of-the-box monitoring experience by custom pages, nested datasources and panel plugins.

Getting started

Frontend

  1. Install dependencies

    yarn install
    
  2. Build plugin in development mode or run in watch mode

    yarn dev
    
    # or
    
    yarn watch
    
  3. Build plugin in production mode

    yarn build
    
  4. Run the tests (using Jest)

    # Runs the tests and watches for changes
    yarn test
    
    # Exists after running all the tests
    yarn lint:ci
    
  5. Spin up a Grafana instance and run the plugin inside it (using Docker)

    yarn server
    
  6. Run the E2E tests (using Cypress)

    # Spin up a Grafana instance first that we tests against 
    yarn server
    
    # Start the tests
    yarn e2e
    
  7. Run the linter

    yarn lint
    
    # or
    
    yarn lint:fix
    

Learn more

Below you can find source code for existing app plugins and other related documentation.