Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
205 changes: 205 additions & 0 deletions samples/speedystore/README.md

Large diffs are not rendered by default.

2,449 changes: 2,449 additions & 0 deletions samples/speedystore/dashboards/clusterview.json

Large diffs are not rendered by default.

2,483 changes: 2,483 additions & 0 deletions samples/speedystore/dashboards/detailedclusterviewbynode.json

Large diffs are not rendered by default.

1,254 changes: 1,254 additions & 0 deletions samples/speedystore/dashboards/diskusage.json

Large diffs are not rendered by default.

1,715 changes: 1,715 additions & 0 deletions samples/speedystore/dashboards/historicalworkloadmonitoring.json

Large diffs are not rendered by default.

810 changes: 810 additions & 0 deletions samples/speedystore/dashboards/memoryusage.json

Large diffs are not rendered by default.

1,508 changes: 1,508 additions & 0 deletions samples/speedystore/dashboards/pipelineperformance.json

Large diffs are not rendered by default.

619 changes: 619 additions & 0 deletions samples/speedystore/dashboards/pipelinesummary.json

Large diffs are not rendered by default.

394 changes: 394 additions & 0 deletions samples/speedystore/dashboards/queryhistory.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,394 @@
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 1,
"id": 268,
"links": [
{
"asDropdown": true,
"icon": "external link",
"includeVars": true,
"keepTime": true,
"tags": [],
"targetBlank": true,
"title": "Dashboards",
"tooltip": "",
"type": "dashboards",
"url": ""
}
],
"panels": [
{
"datasource": {
"type": "mysql",
"uid": "s2monitoring"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"filterable": false,
"inspect": false
},
"mappings": [
{
"options": {
"total_time": {
"index": 0,
"text": "Total Elapsed Time"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 50
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "activity_name"
},
"properties": [
{
"id": "custom.inspect",
"value": true
},
{
"id": "custom.filterable",
"value": true
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/duration/"
},
"properties": [
{
"id": "unit",
"value": "ms"
},
{
"id": "custom.cellOptions",
"value": {
"type": "gauge"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "query_text"
},
"properties": [
{
"id": "custom.width",
"value": 538
},
{
"id": "custom.inspect",
"value": true
},
{
"id": "custom.filterable",
"value": true
},
{
"id": "custom.cellOptions",
"value": {
"type": "color-text"
}
},
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Query_plan_id"
},
"properties": [
{
"id": "custom.width",
"value": 158
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/error/"
},
"properties": [
{
"id": "custom.filterable",
"value": true
},
{
"id": "custom.inspect",
"value": true
}
]
},
{
"matcher": {
"id": "byName",
"options": "duration_ms"
},
"properties": [
{
"id": "custom.width",
"value": 172
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/name/"
},
"properties": [
{
"id": "custom.inspect",
"value": true
},
{
"id": "custom.filterable",
"value": true
}
]
},
{
"matcher": {
"id": "byName",
"options": "resource_pool_name"
},
"properties": [
{
"id": "custom.width",
"value": 176
}
]
},
{
"matcher": {
"id": "byName",
"options": "success"
},
"properties": [
{
"id": "custom.width",
"value": 78
}
]
},
{
"matcher": {
"id": "byName",
"options": "start_time"
},
"properties": [
{
"id": "custom.width",
"value": 158
}
]
}
]
},
"gridPos": {
"h": 21,
"w": 24,
"x": 0,
"y": 0
},
"id": 4,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"enablePagination": true,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "start_time"
}
]
},
"pluginVersion": "12.1.0",
"targets": [
{
"datasource": {
"uid": "s2monitoring"
},
"editorMode": "code",
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select start_time,\n activity_name, \n query_text,\n duration_ms,\n database_name,\n user_name,\n resource_pool_name,\n success,\n error_code,\n error_message\nfrom query_event_history\nwhere $__timeFilter(start_time) AND \n cluster = '$cluster'",
"refId": "A",
"select": [
[
{
"params": [
"value"
],
"type": "column"
}
]
],
"sql": {
"columns": [
{
"parameters": [],
"type": "function"
}
],
"groupBy": [
{
"property": {
"type": "string"
},
"type": "groupBy"
}
],
"limit": 50
},
"timeColumn": "time",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"title": "Query History",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {
"Avg. CPU Time": 7,
"Avg. Disk Bytes": 9,
"Avg. Disk Read Bytes (logical)": 10,
"Avg. Disk Write Bytes (logical)": 11,
"Avg. Elapsed Time": 5,
"Avg. Memory Bytes": 8,
"Avg. Network Bytes": 12,
"Avg. Network Received Bytes (logical)": 13,
"Avg. Network Send Bytes (logical)": 14,
"Execution Count": 3,
"Failure Count": 15,
"Failure Rate": 16,
"Total CPU Time": 6,
"Total Elapsed Time": 4,
"db": 0,
"query_plan": 2,
"uniq_act": 1
},
"renameByName": {
"uniq_act": "Query_plan_id"
}
}
}
],
"type": "table"
}
],
"preload": false,
"refresh": "",
"schemaVersion": 41,
"tags": ["singlestore","sas-speedystore"],
"templating": {
"list": [
{
"current": {
"text": "memsql_cluster",
"value": "memsql_cluster"
},
"datasource": {
"type": "mysql",
"uid": "s2monitoring"
},
"definition": "select distinct(cluster) from `query_event_history` where $__timeFilter(ts)",
"includeAll": false,
"name": "cluster",
"options": [],
"query": "select distinct(cluster) from `query_event_history` where $__timeFilter(ts)",
"refresh": 2,
"regex": "",
"type": "query"
}
]
},
"time": {
"from": "now-30m",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "SingleStore: Query History",
"uid": "efacc80e-2e33-4bfb-99fe-223b45e4197a",
"version": 1
}
Loading