Update to the latest y_format config syntax. Also disabled pre-loading of field mappings (until a better faster solution is found)

This commit is contained in:
Boaz Leskes 2013-12-13 20:32:59 +01:00
parent 4642409f55
commit 89848397b1
5 changed files with 29 additions and 23 deletions

View file

@ -94,7 +94,6 @@
"options": true,
"derivative": false,
"scale": 1,
"y_as_bytes": false,
"tooltip": {
"value_type": "cumulative",
"query_as_alias": true

View file

@ -36,7 +36,8 @@ dashboard.failover = false;
dashboard.index = {
'default': 'ADD_A_TIME_FILTER',
'pattern': '[.marvel-]YYYY.MM.DD',
'interval': 'day'
'interval': 'day',
'warm_fields': false
};
dashboard.refresh="5s";
@ -118,7 +119,8 @@ panel_defaults_by_type["histogram"] = {
legend_counts: false,
options: false,
legend: true,
resolution: 20
resolution: 20,
y_format: "short"
};
@ -133,7 +135,7 @@ var rows = [
{
"value_field": "total.store.size_in_bytes",
"title": "Index size",
"y_as_bytes": true
"y_format": "bytes"
},
{
"value_field": "primaries.docs.deleted",

View file

@ -36,7 +36,8 @@ dashboard.failover = false;
dashboard.index = {
'default': 'ADD_A_TIME_FILTER',
'pattern': '[.marvel-]YYYY.MM.DD',
'interval': 'day'
'interval': 'day',
'warm_fields': false
};
dashboard.refresh="5s";
@ -136,7 +137,8 @@ panel_defaults_by_type["histogram"] = {
options: false,
legend: true,
resolution: 20,
annotate: annotate_config
annotate: annotate_config,
y_format: "short"
};
@ -174,7 +176,7 @@ var rows = [
"time_field": "@timestamp",
"value_field": "os.swap.used_in_bytes",
"title": "Used Swap",
"y_as_bytes": true
"y_format": "bytes"
}
]
},
@ -185,7 +187,7 @@ var rows = [
"time_field": "@timestamp",
"value_field": "jvm.mem.heap_used_in_bytes",
"title": "Heap",
"y_as_bytes": true
"y_format": "bytes"
},
{
"value_field": "jvm.gc.collectors.ParNew.collection_time_in_millis",
@ -238,17 +240,17 @@ var rows = [
{
"value_field": "indices.fielddata.memory_size_in_bytes",
"title": "Field Data",
"y_as_bytes": true
"y_format": "bytes"
},
{
"value_field": "indices.filter_cache.memory_size_in_bytes",
"title": "Filter cache",
"y_as_bytes": true
"y_format": "bytes"
},
{
"value_field": "indices.id_cache.memory_size_in_bytes",
"title": "Id cache",
"y_as_bytes": true
"y_format": "bytes"
}
]
},
@ -258,7 +260,7 @@ var rows = [
{
"value_field": "indices.completion.size_in_bytes",
"title": "Completion size",
"y_as_bytes": true
"y_format": "bytes"
}
]
},
@ -271,14 +273,14 @@ var rows = [
"derivative": true,
"mode": "min",
"scaleSeconds": true,
"y_as_bytes": true
"y_format": "bytes"
},
{
"value_field": "fs.data.disk_write_size_in_bytes",
"title": "Disk writes per sec.",
"derivative": true,
"y_as_bytes": true,
"y_format": "bytes",
"mode": "min",
"scaleSeconds": true
},
@ -286,7 +288,7 @@ var rows = [
"value_field": "fs.data.available_in_bytes",
"title": "Disk Free space",
"mode": "min",
"y_as_bytes": true
"y_format": "bytes"
}
],
"notice": false
@ -319,7 +321,7 @@ var rows = [
{
"value_field": "indices.merges.current_size_in_bytes",
"title": "Merges size",
"y_as_bytes": true
"y_format": "bytes"
},
{
"value_field": "indices.refresh.total_time_in_millis",
@ -370,7 +372,7 @@ var rows = [
{
"value_field": "indices.store.size_in_bytes",
"title": "Size",
"y_as_bytes": true
"y_format": "bytes"
}
]
},

View file

@ -108,6 +108,7 @@
"legend_counts": false,
"x-axis": true,
"y-axis": true,
"y_format": "short",
"percentage": false,
"zerofill": true,
"interactive": true,
@ -310,7 +311,8 @@
"index": {
"interval": "day",
"pattern": "[.marvel-]YYYY.MM.DD",
"default": "_all"
"default": "_all",
"warm_fields": false
},
"style": "dark",
"panel_hints": true,

View file

@ -130,7 +130,7 @@
]
},
"pointradius": 5,
"y_as_bytes": false
"y_format": "short"
},
{
"span": 4,
@ -205,7 +205,7 @@
]
},
"pointradius": 5,
"y_as_bytes": false
"y_format": "short"
},
{
"span": 4,
@ -280,7 +280,7 @@
]
},
"pointradius": 5,
"y_as_bytes": false
"y_format": "short"
}
],
"notice": false
@ -1016,7 +1016,7 @@
"options": true,
"derivative": false,
"scale": 1,
"y_as_bytes": false,
"y_format": "short",
"tooltip": {
"value_type": "cumulative",
"query_as_alias": true
@ -1231,7 +1231,8 @@
"index": {
"interval": "day",
"pattern": "[.marvel-]YYYY.MM.DD",
"default": "_all"
"default": "_all",
"warm_fields": false
},
"style": "dark",
"panel_hints": true,