How to use the grafana-dash-gen.publish function in grafana-dash-gen

To help you get started, we’ve selected a few grafana-dash-gen examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github uber-node / ringpop-common / tools / grafana-dash / gen-dashboard.js View on Github external
new grafana.Target(getTarget('dissemination.max-piggyback'))
                .maxSeries().alias('total')
            /* eslint-enable max-len */
        ]
    }));

    return row;
}

dashboard.addRow(createSystemRow());
dashboard.addRow(createBootstrapRow());
dashboard.addRow(createGossipRow());
dashboard.addRow(createMembershipRow());
dashboard.addRow(createDisseminationRow());

grafana.publish(dashboard);

grafana-dash-gen

A grafana dashboard generator

MIT
Latest version published 1 year ago

Package Health Score

58 / 100
Full package analysis