Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grafana UI improvements #83

Merged
merged 1 commit into from
Aug 4, 2022
Merged
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
162 changes: 132 additions & 30 deletions build/charts/theia/provisioning/dashboards/flow_records_dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 1,
"iteration": 1652994218341,
"id": 4,
"iteration": 1659392847247,
"links": [],
"liveNow": false,
"panels": [
Expand Down Expand Up @@ -74,21 +74,21 @@
"pluginVersion": "8.3.3",
"targets": [
{
"refId": "A",
"datasource": {
"uid": "PDEE91DDB90597936",
"type": "grafana-clickhouse-datasource"
"type": "grafana-clickhouse-datasource",
"uid": "PDEE91DDB90597936"
},
"queryType": "sql",
"rawSql": "SELECT count(*) as count\nFROM flows\nWHERE $__timeFilter(flowEndSeconds)",
"format": 2,
"meta": {
"builderOptions": {
"mode": "list",
"fields": [],
"limit": 100
"limit": 100,
"mode": "list"
}
},
"format": 2
"queryType": "sql",
"rawSql": "SELECT count(*) as count\nFROM flows\nWHERE $__timeFilter(flowEndSeconds)",
"refId": "A"
}
],
"title": "Flow Records Count",
Expand Down Expand Up @@ -174,21 +174,21 @@
"pluginVersion": "8.3.3",
"targets": [
{
"refId": "A",
"datasource": {
"uid": "PDEE91DDB90597936",
"type": "grafana-clickhouse-datasource"
"type": "grafana-clickhouse-datasource",
"uid": "PDEE91DDB90597936"
},
"queryType": "sql",
"rawSql": "SELECT count() as count, $__timeInterval(flowEndSeconds) as time\nFROM flows\nWHERE $__timeFilter(flowEndSeconds)\nGROUP BY time\nORDER BY time",
"format": 2,
"meta": {
"builderOptions": {
"mode": "list",
"fields": [],
"limit": 100
"limit": 100,
"mode": "list"
}
},
"format": 2
"queryType": "sql",
"rawSql": "SELECT count() as count, $__timeInterval(flowEndSeconds) as time\nFROM flows\nWHERE $__timeFilter(flowEndSeconds)\nGROUP BY time\nORDER BY time",
"refId": "A"
}
],
"title": "Flow Records Count",
Expand Down Expand Up @@ -560,6 +560,10 @@
{
"id": "custom.width",
"value": 230
},
{
"id": "displayName",
"value": "throughput reported by source"
}
]
},
Expand All @@ -571,7 +575,11 @@
"properties": [
{
"id": "custom.width",
"value": 251
"value": 260
},
{
"id": "displayName",
"value": "throughput reported by destination"
}
]
},
Expand All @@ -583,7 +591,11 @@
"properties": [
{
"id": "custom.width",
"value": 273
"value": 280
},
{
"id": "displayName",
"value": "reverse throughput reported by source"
}
]
},
Expand All @@ -595,7 +607,11 @@
"properties": [
{
"id": "custom.width",
"value": 299
"value": 310
},
{
"id": "displayName",
"value": "reverse throughput reported by destination"
}
]
},
Expand Down Expand Up @@ -655,7 +671,11 @@
"properties": [
{
"id": "custom.width",
"value": 283
"value": 290
},
{
"id": "displayName",
"value": "end time of flow reported by destination"
}
]
},
Expand All @@ -667,7 +687,11 @@
"properties": [
{
"id": "custom.width",
"value": 255
"value": 260
},
{
"id": "displayName",
"value": "end time of flow reported by source"
}
]
},
Expand Down Expand Up @@ -792,6 +816,10 @@
{
"id": "custom.width",
"value": 185
},
{
"id": "displayName",
"value": "end time of flow"
}
]
},
Expand All @@ -803,7 +831,11 @@
"properties": [
{
"id": "custom.width",
"value": 184
"value": 185
},
{
"id": "displayName",
"value": "start time of flow"
}
]
},
Expand All @@ -815,7 +847,77 @@
"properties": [
{
"id": "custom.width",
"value": 181
"value": 187
},
{
"id": "displayName",
"value": "insert time of flow"
}
]
},
{
"matcher": {
"id": "byName",
"options": "flowEndReason"
},
"properties": [
{
"id": "mappings",
"value": [
{
"options": {
"1": {
"index": 0,
"text": "Idle Timeout"
},
"2": {
"index": 1,
"text": "Active Timeout"
},
"3": {
"index": 2,
"text": "End Of Flow"
}
},
"type": "value"
}
]
},
{
"id": "custom.width",
"value": 142
}
]
},
{
"matcher": {
"id": "byName",
"options": "octetDeltaCount"
},
"properties": [
{
"id": "displayName",
"value": "delta bytes from the last record"
},
{
"id": "custom.width",
"value": 235
}
]
},
{
"matcher": {
"id": "byName",
"options": "packetDeltaCount"
},
"properties": [
{
"id": "custom.width",
"value": 250
},
{
"id": "displayName",
"value": "delta packets from the last record"
}
]
}
Expand All @@ -842,14 +944,14 @@
"pluginVersion": "8.3.3",
"targets": [
{
"refId": "A",
"datasource": {
"uid": "PDEE91DDB90597936",
"type": "grafana-clickhouse-datasource"
"type": "grafana-clickhouse-datasource",
"uid": "PDEE91DDB90597936"
},
"format": 1,
"queryType": "sql",
"rawSql": "SELECT * \nFROM flows\nWHERE $__timeFilter(flowEndSeconds)\nORDER BY flowEndSeconds DESC\nLIMIT 10000",
"format": 1
"refId": "A"
}
],
"title": "Flow Records Table",
Expand Down Expand Up @@ -899,4 +1001,4 @@
"uid": "t1UGX7t7k",
"version": 2,
"weekStart": ""
}
}
Loading