Skip to content

Instantly share code, notes, and snippets.

@mrdavidlaing
Last active December 28, 2015 02:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrdavidlaing/7429613 to your computer and use it in GitHub Desktop.
Save mrdavidlaing/7429613 to your computer and use it in GitHub Desktop.
Price Latency Kibana dashboard
{
"title": "Price Latency",
"services": {
"query": {
"idQueue": [],
"list": {
"0": {
"query": "*",
"alias": "All",
"color": "#DEDAF7",
"id": 0,
"pin": false,
"type": "lucene"
},
"1": {
"id": 1,
"color": "#508642",
"query": "duration:[0 TO 0.1}",
"alias": "[0 TO 0.1}",
"pin": true,
"type": "lucene"
},
"2": {
"id": 2,
"color": "#9AC48A",
"query": "duration:[0.1 TO 0.2}",
"alias": "[0.1 TO 0.2}",
"pin": true,
"type": "lucene"
},
"3": {
"id": 3,
"color": "#EAB839",
"query": "duration:[0.2 TO 0.3}",
"alias": "[0.2 TO 0.3}",
"pin": true,
"type": "lucene"
},
"4": {
"id": 4,
"color": "#E0752D",
"query": "duration:[0.3 TO 0.4}",
"alias": "[0.3 TO 0.4}",
"pin": true,
"type": "lucene"
},
"5": {
"id": 5,
"color": "#EA6460",
"query": "duration:[0.4 TO 0.5}",
"alias": "[0.4 TO 0.5}",
"pin": true,
"type": "lucene"
},
"6": {
"id": 6,
"color": "#E24D42",
"query": "duration:[0.5 TO 0.6}",
"alias": "[0.5 TO 0.6}",
"pin": true,
"type": "lucene"
},
"7": {
"id": 7,
"color": "#BF1B00",
"query": "duration:[0.6 TO 0.7}",
"alias": "[0.6 TO 0.7}",
"pin": true,
"type": "lucene"
},
"8": {
"id": 8,
"color": "#BF1B00",
"query": "duration:[0.7 TO 0.8}",
"alias": "[0.7 TO 0.8}",
"pin": true,
"type": "lucene"
},
"9": {
"id": 9,
"color": "#BF1B00",
"query": "duration:[0.8 TO 0.9}",
"alias": "[0.8 TO 0.9}",
"pin": true,
"type": "lucene"
},
"10": {
"id": 10,
"color": "#BF1B00",
"query": "duration:[0.9 TO 1.0}",
"alias": "[0.9 TO 1.0}",
"pin": true,
"type": "lucene"
},
"11": {
"id": 11,
"color": "#BF1B00",
"query": "duration:>=1.0",
"alias": ">=1.0",
"pin": true,
"type": "lucene"
}
},
"ids": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11
]
},
"filter": {
"idQueue": [
1,
2,
4,
6
],
"list": {
"0": {
"type": "time",
"field": "@timestamp",
"from": "now-2d",
"to": "now",
"mandate": "must",
"active": true,
"alias": "",
"id": 0
},
"3": {
"type": "field",
"field": "@type",
"query": "\"ci_appmetrics\"",
"mandate": "must",
"active": true,
"alias": "",
"id": 3
},
"5": {
"type": "field",
"field": "name",
"query": "\"Latency CIAPI.PriceStream\"",
"mandate": "must",
"active": true,
"alias": "",
"id": 5
}
},
"ids": [
3,
5,
0
]
}
},
"rows": [
{
"title": "Graph",
"height": "150px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"span": 9,
"editable": true,
"type": "histogram",
"loadingEditor": false,
"mode": "count",
"time_field": "@timestamp",
"queries": {
"mode": "pinned",
"ids": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11
]
},
"value_field": null,
"auto_int": true,
"resolution": 100,
"interval": "30m",
"intervals": [
"auto",
"1s",
"1m",
"5m",
"10m",
"30m",
"1h",
"3h",
"12h",
"1d",
"1w",
"1M",
"1y"
],
"fill": 1,
"linewidth": 1,
"timezone": "browser",
"spyable": true,
"zoomlinks": true,
"bars": true,
"stack": true,
"points": false,
"lines": false,
"legend": true,
"x-axis": true,
"y-axis": true,
"percentage": true,
"interactive": true,
"options": true,
"tooltip": {
"value_type": "cumulative",
"query_as_alias": false
},
"title": "Percentage of measurements in range"
},
{
"span": 3,
"editable": true,
"type": "hits",
"loadingEditor": false,
"queries": {
"mode": "pinned",
"ids": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11
]
},
"style": {
"font-size": "10pt"
},
"arrangement": "vertical",
"chart": "bar",
"counter_pos": "none",
"donut": false,
"tilt": false,
"labels": true,
"spyable": true,
"title": "Distribution"
}
],
"notice": false
},
{
"title": "Types",
"height": "150px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"span": 12,
"editable": true,
"type": "histogram",
"loadingEditor": false,
"mode": "max",
"time_field": "@timestamp",
"queries": {
"mode": "selected",
"ids": [
0
]
},
"value_field": "duration",
"auto_int": true,
"resolution": 100,
"interval": "30m",
"intervals": [
"auto",
"1s",
"1m",
"5m",
"10m",
"30m",
"1h",
"3h",
"12h",
"1d",
"1w",
"1M",
"1y"
],
"fill": 0,
"linewidth": 1,
"timezone": "browser",
"spyable": true,
"zoomlinks": true,
"bars": false,
"stack": false,
"points": true,
"lines": false,
"legend": true,
"x-axis": true,
"y-axis": true,
"percentage": false,
"interactive": true,
"options": true,
"tooltip": {
"value_type": "cumulative",
"query_as_alias": true
},
"title": "Price Latency (Max)"
}
],
"notice": false
},
{
"title": "Events",
"height": "350px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"loading": false,
"error": false,
"span": 12,
"editable": true,
"group": [
"default"
],
"type": "table",
"status": "Stable",
"query": "*",
"size": 100,
"pages": 5,
"offset": 0,
"sort": [
"duration",
"desc"
],
"style": {
"font-size": "9pt"
},
"overflow": "min-height",
"fields": [
"@timestamp",
"name",
"duration"
],
"highlight": [],
"sortable": true,
"header": true,
"paging": true,
"spyable": true,
"queries": {
"mode": "all",
"ids": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11
]
},
"field_list": false,
"trimFactor": 300,
"all_fields": false,
"normTimes": true
}
],
"notice": false
}
],
"editable": true,
"index": {
"interval": "day",
"pattern": "[logstash-]YYYY.MM.DD",
"default": "logstash-*"
},
"style": "dark",
"failover": false,
"panel_hints": true,
"pulldowns": [
{
"type": "query",
"collapse": false,
"notice": false,
"enable": true,
"query": "*",
"pinned": true,
"history": [
"duration:>=1.0",
"duration:[0.9 TO 1.0}",
"duration:[0.8 TO 0.9}",
"duration:[0.7 TO 0.8}",
"duration:[0.6 TO 0.7}",
"duration:[0.5 TO 0.6}",
"duration:[0.4 TO 0.5}",
"duration:[0.3 TO 0.4}",
"duration:[0.2 TO 0.3}",
"duration:[0.1 TO 0.2}"
],
"remember": 10
},
{
"type": "filtering",
"collapse": true,
"notice": true,
"enable": true
}
],
"nav": [
{
"type": "timepicker",
"collapse": false,
"notice": false,
"enable": true,
"status": "Stable",
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
],
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"timefield": "@timestamp",
"now": true,
"filter_id": 0
}
],
"loader": {
"save_gist": false,
"save_elasticsearch": true,
"save_local": true,
"save_default": true,
"save_temp": true,
"save_temp_ttl_enable": true,
"save_temp_ttl": "30d",
"load_gist": false,
"load_elasticsearch": true,
"load_elasticsearch_size": 20,
"load_local": false,
"hide": false
},
"refresh": "5m"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment