Skip to content

Commit

Permalink
Merge branch 'master' into centreon
Browse files Browse the repository at this point in the history
  • Loading branch information
leoncx committed Jun 4, 2020
2 parents b1f5d0a + 3d1fc8c commit 808a210
Show file tree
Hide file tree
Showing 21 changed files with 1,160 additions and 101,509 deletions.
1 change: 1 addition & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module.exports = (grunt) => {

grunt.loadNpmTasks('grunt-execute');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-sass');

grunt.initConfig({
Expand Down
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,22 @@ This is a Grafana panel plugin that provides a way to create flow-charts, sequen

**Note - Special characters in an alias are replace with an underscore. See character replacement below

## Development

For easy development, use the `docker-compose.yml`.

In a terminal -
`docker-compose up -d`
Grafana will start on port 3000 with user/pass = `admin`
The plugin project will be mounted inside the docker container so changes are reflected immediately.
Add a new dashboard with the diagram plugin to test changes.

`npm run watch`
The diagram plugin will watch for changes in the project, and rebuild.

Open the plugin files in your favorite editor and make changes.
Refresh your browser to see the diagram plugin changes.

## Character Replacement

The following characters in metric names are automatically replaced with an underscore.
Expand Down
16 changes: 16 additions & 0 deletions dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,22 @@ This is a Grafana panel plugin that provides a way to create flow-charts, sequen

**Note - Special characters in an alias are replace with an underscore. See character replacement below

## Development

For easy development, use the `docker-compose.yml`.

In a terminal -
`docker-compose up -d`
Grafana will start on port 3000 with user/pass = `admin`
The plugin project will be mounted inside the docker container so changes are reflected immediately.
Add a new dashboard with the diagram plugin to test changes.

`npm run watch`
The diagram plugin will watch for changes in the project, and rebuild.

Open the plugin files in your favorite editor and make changes.
Refresh your browser to see the diagram plugin changes.

## Character Replacement

The following characters in metric names are automatically replaced with an underscore.
Expand Down
3 changes: 0 additions & 3 deletions dist/css/diagram.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/diagram.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 808a210

Please sign in to comment.