The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
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.
grafana/dashboards.js

100 lines
2.3 KiB

13 years ago
var dashboards =
{
title: "Infinite Monkey Dashboard",
rows: [
{
title: "Query Control",
height: "30px",
panels: [
{
type : "stringquery",
span : 12,
group : "main",
query : "wine"
}
]
},
{
title: "Options",
collapse: true,
height: "30px",
panels: [
{
type : "timepicker",
span : 5,
mode : 'relative',
refresh : {
enable : false,
interval: 30,
min : 10
},
timespan: '1h',
group : "main"
},
{
type : "sort",
span : 4,
group : "main"
}
]
},
{
title: "Monkey Monitoring",
collapse: false,
height: "300px",
panels: [
{
title : "Monkey Shakespeare Lines",
13 years ago
type : "histogram",
span : 6,
show : ['lines','points'],
fill : 0,
query : [
{ label : "Query", query : "*", color: '#86B32D' },
{ label : "Hamlet", query : "play_name:Hamlet" },
{ label : "Macbeth", query : "play_name:macbeth" },
],
group : "main"
13 years ago
},
{
title : "Monkey Typists Worldwide",
type : "map",
map : 'world',
field : "country",
span : 6,
size : 500,
query : "*",
group : "main"
13 years ago
}
]
13 years ago
},
{
title: "Lines of Plays",
height: "250px",
panels: [
{
title : "Plays",
type : "pie",
span : 4,
size : 8,
13 years ago
donut : true,
colors : ['#BF3030','#1D7373','#86B32D','#A60000','#006363','#679B00'],
field : 'country',
//query : { query: "*", field: "country"}
query : { field : "play_name", query : "*" },
group : "main"
13 years ago
},
{
title : "Newest Lines",
type : "table",
span : 8,
13 years ago
query : "*",
fields : ['@timestamp','play_name','speaker','text_entry'],
group : "main"
13 years ago
}
]
13 years ago
}
]
13 years ago
};