Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
this is a hello world test for grafana scripted dashboards, please refer to this video for more information:
'use strict';
var dashboard;
dashboard = {
title: 'this is just a test',
rows : [],
dashboard.time = {
from: "now-6h",
to: "now"
title: 'Chart',
panels: [
title: 'el titol',
type: 'graph',
span: 12,
fill: 1,
linewidth: 2,
targets: [
'target': "randomWalk('prova')"
'target': "randomWalk('random walk2')"
return dashboard;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment