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

60 lines
1.5 KiB

13 years ago
var dashboards =
{
title: "Infinite Monkey Dashboard",
rows: [
{
height: "300px",
panels: [
{
title : "Monkey Shakespeare Lines",
13 years ago
type : "histogram",
span : 6,
show : ['lines','stack'],
fill : 1,
query : [
{ label : "US", query : "country:US", color: '#86B32D' },
{ label : "CN", query : "country:CN", color: '#BF3030' },
{ label : "IN", query : "country:IN", color: '#1D7373' }
],
13 years ago
color : "#7BA4AF"
},
{
title : "World Monkeys",
type : "map",
map : 'world',
field : "country",
span : 6,
size : 500,
13 years ago
query : "*"
}
]
13 years ago
},
{
height: "300px",
panels: [
{
title : "Hamlet vs Macbeth",
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 : [
{ label : "Hamlet", query : "play_name:Hamlet", color: '#86B32D' },
{ label : "Macbeth", query : "play_name:macbeth", color: '#BF3030' },
]
13 years ago
},
{
title : "Newest Lines",
type : "table",
span : 8,
13 years ago
query : "*",
fields : ['@timestamp','speaker','text_entry']
13 years ago
}
]
13 years ago
}
]
13 years ago
};