Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
137 lines (137 sloc) 3.69 KB
{
"metadata": {
"@context": ["http://www.w3.org/ns/csvw", {
"atsd": "http://www.axibase.com/schemas/2017/07/atsd.jsonld"
}],
"dc:created": {
"@value": "2017-07-04T17:11:12.293Z",
"@type": "xsd:date"
},
"dc:publisher": {
"schema:name": "Axibase Time Series Database",
"schema:url": {
"@id": "https://atsd.axibase.com"
}
},
"dc:title": "SQL Query",
"rdfs:comment": "SELECT entity, avg(value) AS \"Average\", median(value), max(value), count(*), percentile(50, value), percentile(75, value), percentile(90, value), percentile(99, value) FROM \"mpstat.cpu_busy\" WHERE time BETWEEN previous_day and current_day GROUP BY entity ORDER BY avg(value) DESC",
"@type": "Table",
"url": "sql.csv",
"tableSchema": {
"columns": [{
"columnIndex": 1,
"name": "entity",
"titles": "entity",
"datatype": "string",
"table": "mpstat.cpu_busy",
"propertyUrl": "atsd:entity"
}, {
"columnIndex": 2,
"name": "avg(value)",
"titles": "Average",
"datatype": "double",
"table": "mpstat.cpu_busy",
"propertyUrl": "atsd:avg"
}, {
"columnIndex": 3,
"name": "median(value)",
"titles": "median(value)",
"datatype": "double",
"table": "mpstat.cpu_busy",
"propertyUrl": "atsd_median"
}, {
"columnIndex": 4,
"name": "max(value)",
"titles": "max(value)",
"datatype": "double",
"table": "mpstat.cpu_busy",
"propertyUrl": "atsd:max"
}, {
"columnIndex": 5,
"name": "count(*)",
"titles": "count(*)",
"datatype": "long",
"propertyUrl": "atsd:count"
}, {
"columnIndex": 6,
"name": "percentile(50, value)",
"titles": "percentile(50, value)",
"datatype": "double",
"table": "mpstat.cpu_busy",
"propertyUrl": "atsd:percentile_50"
}, {
"columnIndex": 7,
"name": "percentile(75, value)",
"titles": "percentile(75, value)",
"datatype": "double",
"table": "mpstat.cpu_busy",
"propertyUrl": "atsd:percentile_75"
}, {
"columnIndex": 8,
"name": "percentile(90, value)",
"titles": "percentile(90, value)",
"datatype": "double",
"table": "mpstat.cpu_busy",
"propertyUrl": "atsd:percentile_90"
}, {
"columnIndex": 9,
"name": "percentile(99, value)",
"titles": "percentile(99, value)",
"datatype": "double",
"table": "mpstat.cpu_busy",
"propertyUrl": "atsd:percentile_99"
}]
}
},
"data": [{
"entity": "nurswgvml007",
"Average": 12.066748933011693,
"median(value)": 6.0,
"max(value)": 100.0,
"count(*)": 5389,
"percentile(50, value)": 6.0,
"percentile(75, value)": 11.11,
"percentile(90, value)": 26.0,
"percentile(99, value)": 98.02
}, {
"entity": "nurswgvml006",
"Average": 11.033629271916839,
"median(value)": 3.03,
"max(value)": 100.0,
"count(*)": 5384,
"percentile(50, value)": 3.03,
"percentile(75, value)": 6.0,
"percentile(90, value)": 29.25,
"percentile(99, value)": 100.0
}, {
"entity": "nurswgvml010",
"Average": 5.6942409057163985,
"median(value)": 0.5,
"max(value)": 100.0,
"count(*)": 5388,
"percentile(50, value)": 0.5,
"percentile(75, value)": 1.25,
"percentile(90, value)": 25.25,
"percentile(99, value)": 60.517599999999945
}, {
"entity": "nurswgvml502",
"Average": 3.062935609575052,
"median(value)": 1.49,
"max(value)": 100.0,
"count(*)": 5389,
"percentile(50, value)": 1.49,
"percentile(75, value)": 3.0,
"percentile(90, value)": 5.03,
"percentile(99, value)": 51.265000000000015
}, {
"entity": "nurswgvml301",
"Average": 0.7327426312005774,
"median(value)": 0.0,
"max(value)": 100.0,
"count(*)": 2782,
"percentile(50, value)": 0.0,
"percentile(75, value)": 1.01,
"percentile(90, value)": 2.0,
"percentile(99, value)": 4.0
}]
}
You can’t perform that action at this time.