Some checks failed
Deploy analytics worker / Deploy analytics worker to ${{ (github.ref == 'refs/heads/production' && 'production') || (github.ref == 'refs/heads/main' && 'staging') || 'preview' }} (push) Failing after 1s
i18n upload strings / Upload latest strings (push) Failing after 1s
Deploy bemo / Deploy bemo to ${{ (github.ref == 'refs/heads/bemo-production' && 'production') || (github.ref == 'refs/heads/main' && 'staging') || 'preview' }} (push) Failing after 1s
Deploy grafana resources / ${{ github.event_name == 'push' && 'Deploy grafana resources' || 'Validate grafana resources (dry run)' }} (push) Failing after 0s
End to end tests (dotcom) / Check for relevant changes (push) Failing after 0s
End to end tests (examples) / Check for relevant changes (push) Failing after 0s
End to end tests (mermaid readability) / Check for relevant changes (push) Failing after 1s
End to end tests (perf) / Check for relevant changes (push) Failing after 0s
Publish editor extensions / Publish editor extensions (push) Failing after 1s
Publish SDK packages / Remove the publish-packages label (push) Has been skipped
Checks / Tests & checks (push) Has been cancelled
Checks / Build all projects (push) Has been cancelled
Deploy templates / Deploy templates (push) Has been cancelled
End to end tests (dotcom) / End to end tests (dotcom) (push) Has been cancelled
End to end tests (mermaid readability) / End to end tests (mermaid readability) (push) Has been cancelled
End to end tests (perf) / End to end tests (perf) (push) Has been cancelled
Deploy .com / Deploy dotcom to ${{ (github.ref == 'refs/heads/production' && 'production') || (github.ref == 'refs/heads/main' && 'staging') || 'preview' }} (push) Has been cancelled
End to end tests (examples) / End to end tests (examples) (push) Has been cancelled
Publish SDK packages / Publish SDK packages (push) Has been cancelled
Publish SDK packages / Tell user released version (push) Has been cancelled
Publish SDK packages / Publishes code templates to separate repositories (push) Has been cancelled
Publish SDK packages / Deploys the template demos with the new SDK version (push) Has been cancelled
376 lines
12 KiB
YAML
376 lines
12 KiB
YAML
apiVersion: dashboard.grafana.app/v0alpha1
|
|
kind: Dashboard
|
|
metadata:
|
|
annotations:
|
|
grafana.app/folder: dotcom
|
|
labels: {}
|
|
name: edrigjn435v5sf
|
|
namespace: stacks-890472
|
|
spec:
|
|
annotations:
|
|
list:
|
|
- builtIn: 1
|
|
datasource:
|
|
type: grafana
|
|
uid: -- Grafana --
|
|
enable: true
|
|
hide: true
|
|
iconColor: rgba(0, 211, 255, 1)
|
|
name: Annotations & Alerts
|
|
type: dashboard
|
|
editable: true
|
|
fiscalYearStartMonth: 0
|
|
graphTooltip: 0
|
|
links: []
|
|
panels:
|
|
- datasource:
|
|
type: vertamedia-clickhouse-datasource
|
|
uid: bdgu7tk03irr4e
|
|
fieldConfig:
|
|
defaults:
|
|
color:
|
|
mode: thresholds
|
|
mappings: []
|
|
thresholds:
|
|
mode: absolute
|
|
steps:
|
|
- color: green
|
|
value: null
|
|
- color: red
|
|
value: 80
|
|
overrides: []
|
|
gridPos:
|
|
h: 8
|
|
w: 12
|
|
x: 0
|
|
y: 0
|
|
id: 3
|
|
options:
|
|
minVizHeight: 75
|
|
minVizWidth: 75
|
|
orientation: auto
|
|
reduceOptions:
|
|
calcs:
|
|
- sum
|
|
fields: ''
|
|
values: false
|
|
showThresholdLabels: false
|
|
showThresholdMarkers: true
|
|
sizing: auto
|
|
pluginVersion: 11.3.0-77222
|
|
targets:
|
|
- datasource:
|
|
type: vertamedia-clickhouse-datasource
|
|
uid: bdgu7tk03irr4e
|
|
dateTimeType: DATETIME
|
|
editorMode: builder
|
|
extrapolate: true
|
|
format: time_series
|
|
formatAs: time_series
|
|
formattedQuery: "SELECT count(*)\n\tFROM 'BEMO_ANALYICS'\n WHERE blob1 =\
|
|
\ 'connect'\n\tAND timestamp >= toDateTime($from) AND timestamp <= toDateTime($to)\n\
|
|
\tGROUP BY date\n\tORDER BY date ASC"
|
|
intervalFactor: 1
|
|
query: "SELECT toStartOfInterval(timestamp, INTERVAL '$interval' MINUTE) as\
|
|
\ date, count() as numConnects\n\tFROM 'BEMO_ANALYTICS'\n WHERE blob1 =\
|
|
\ 'connect'\n\tAND timestamp >= toDateTime($from) AND timestamp <= toDateTime($to)\n\
|
|
\tGROUP BY date\n\tORDER BY date ASC"
|
|
rawQuery: "SELECT toStartOfInterval(timestamp, INTERVAL '1800' MINUTE) as date,\
|
|
\ count() as numConnects\n\tFROM 'BEMO_ANALYTICS'\n WHERE blob1 = 'connect'\n\
|
|
\tAND timestamp >= toDateTime(1722620600) AND timestamp <= toDateTime(1725212600)\n\
|
|
\tGROUP BY date\n\tORDER BY date ASC"
|
|
refId: A
|
|
round: 0s
|
|
showFormattedSQL: false
|
|
showHelp: false
|
|
skip_comments: true
|
|
step: ''
|
|
title: Num Connects
|
|
type: gauge
|
|
- datasource:
|
|
type: vertamedia-clickhouse-datasource
|
|
uid: bdgu7tk03irr4e
|
|
fieldConfig:
|
|
defaults:
|
|
color:
|
|
mode: palette-classic
|
|
custom:
|
|
axisBorderShow: false
|
|
axisCenteredZero: false
|
|
axisColorMode: text
|
|
axisLabel: ''
|
|
axisPlacement: auto
|
|
barAlignment: 0
|
|
barWidthFactor: 0.6
|
|
drawStyle: line
|
|
fillOpacity: 0
|
|
gradientMode: none
|
|
hideFrom:
|
|
legend: false
|
|
tooltip: false
|
|
viz: false
|
|
insertNulls: false
|
|
lineInterpolation: linear
|
|
lineWidth: 1
|
|
pointSize: 5
|
|
scaleDistribution:
|
|
type: linear
|
|
showPoints: auto
|
|
spanNulls: false
|
|
stacking:
|
|
group: A
|
|
mode: none
|
|
thresholdsStyle:
|
|
mode: 'off'
|
|
mappings: []
|
|
thresholds:
|
|
mode: absolute
|
|
steps:
|
|
- color: green
|
|
value: null
|
|
- color: red
|
|
value: 80
|
|
overrides: []
|
|
gridPos:
|
|
h: 8
|
|
w: 12
|
|
x: 12
|
|
y: 0
|
|
id: 1
|
|
options:
|
|
legend:
|
|
calcs: []
|
|
displayMode: list
|
|
placement: bottom
|
|
showLegend: true
|
|
tooltip:
|
|
mode: single
|
|
sort: none
|
|
pluginVersion: 11.3.0-77222
|
|
targets:
|
|
- datasource:
|
|
type: vertamedia-clickhouse-datasource
|
|
uid: bdgu7tk03irr4e
|
|
dateTimeType: DATETIME
|
|
editorMode: builder
|
|
extrapolate: true
|
|
format: time_series
|
|
formatAs: time_series
|
|
formattedQuery: "SELECT count(*)\n\tFROM 'BEMO_ANALYICS'\n WHERE blob1 =\
|
|
\ 'connect'\n\tAND timestamp >= toDateTime($from) AND timestamp <= toDateTime($to)\n\
|
|
\tGROUP BY date\n\tORDER BY date ASC"
|
|
intervalFactor: 1
|
|
query: "SELECT toStartOfInterval(timestamp, INTERVAL '$interval' MINUTE) as\
|
|
\ date, count() as numConnects\n\tFROM 'BEMO_ANALYTICS'\n WHERE blob1 =\
|
|
\ 'connect'\n\tAND timestamp >= toDateTime($from) AND timestamp <= toDateTime($to)\n\
|
|
\tGROUP BY date\n\tORDER BY date ASC"
|
|
rawQuery: "SELECT toStartOfInterval(timestamp, INTERVAL '3600' MINUTE) as date,\
|
|
\ count() as numConnects\n\tFROM 'BEMO_ANALYTICS'\n WHERE blob1 = 'connect'\n\
|
|
\tAND timestamp >= toDateTime(1720773373) AND timestamp <= toDateTime(1726292377)\n\
|
|
\tGROUP BY date\n\tORDER BY date ASC"
|
|
refId: A
|
|
round: 0s
|
|
showFormattedSQL: false
|
|
showHelp: false
|
|
skip_comments: true
|
|
step: ''
|
|
title: Num Connects
|
|
type: timeseries
|
|
- datasource:
|
|
uid: bdgu7tk03irr4e
|
|
fieldConfig:
|
|
defaults:
|
|
color:
|
|
mode: palette-classic
|
|
custom:
|
|
axisBorderShow: false
|
|
axisCenteredZero: false
|
|
axisColorMode: text
|
|
axisLabel: ''
|
|
axisPlacement: auto
|
|
barAlignment: 0
|
|
barWidthFactor: 0.6
|
|
drawStyle: line
|
|
fillOpacity: 0
|
|
gradientMode: none
|
|
hideFrom:
|
|
legend: false
|
|
tooltip: false
|
|
viz: false
|
|
insertNulls: false
|
|
lineInterpolation: linear
|
|
lineWidth: 1
|
|
pointSize: 5
|
|
scaleDistribution:
|
|
type: linear
|
|
showPoints: auto
|
|
spanNulls: false
|
|
stacking:
|
|
group: A
|
|
mode: none
|
|
thresholdsStyle:
|
|
mode: 'off'
|
|
mappings: []
|
|
thresholds:
|
|
mode: absolute
|
|
steps:
|
|
- color: green
|
|
value: null
|
|
- color: red
|
|
value: 80
|
|
overrides: []
|
|
gridPos:
|
|
h: 8
|
|
w: 12
|
|
x: 0
|
|
y: 8
|
|
id: 5
|
|
options:
|
|
legend:
|
|
calcs: []
|
|
displayMode: list
|
|
placement: bottom
|
|
showLegend: true
|
|
tooltip:
|
|
mode: single
|
|
sort: none
|
|
pluginVersion: 11.3.0-77222
|
|
targets:
|
|
- dateTimeType: DATETIME
|
|
editorMode: builder
|
|
extrapolate: true
|
|
format: time_series
|
|
formattedQuery: SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter
|
|
GROUP BY t ORDER BY t
|
|
intervalFactor: 1
|
|
query: "SELECT toStartOfInterval(timestamp, INTERVAL '$interval' MINUTE) as\
|
|
\ date, count() as numConnects,\n\tif(\n\t\tstartsWith(blob2, 'http://localhost')\
|
|
\ or startsWith(blob2, 'http://127.0.0.1'),\n\t\t'localhost',\n\t\tif(\n\t\
|
|
\t\tendsWith(blob2, '.csb.app'),\n\t\t\t'code sandbox',\n\t\t\tblob2\n\t\t\
|
|
)\n\t) as host\n\tFROM 'BEMO_ANALYTICS'\n WHERE blob1 = 'connect'\n\tAND\
|
|
\ timestamp >= toDateTime($from) AND timestamp <= toDateTime($to)\n\t-- AND\
|
|
\ NOT(startsWith(host, 'http://localhost')) AND NOT(startsWith(host, 'http://127.0.0.1'))\n\
|
|
\tGROUP BY date, host\n ORDER BY date ASC"
|
|
rawQuery: "SELECT toStartOfInterval(timestamp, INTERVAL '30' MINUTE) as date,\
|
|
\ count() as numConnects,\n\tif(\n\t\tstartsWith(blob2, 'http://localhost')\
|
|
\ or startsWith(blob2, 'http://127.0.0.1'),\n\t\t'localhost',\n\t\tif(\n\t\
|
|
\t\tendsWith(blob2, '.csb.app'),\n\t\t\t'code sandbox',\n\t\t\tblob2\n\t\t\
|
|
)\n\t) as host\n\tFROM 'BEMO_ANALYTICS'\n WHERE blob1 = 'connect'\n\tAND\
|
|
\ timestamp >= toDateTime(1728620743) AND timestamp <= toDateTime(1728642343)\n\
|
|
\t\n\tGROUP BY date, host\n ORDER BY date ASC"
|
|
refId: A
|
|
round: 0s
|
|
skip_comments: true
|
|
title: Num Connects
|
|
type: timeseries
|
|
- datasource:
|
|
type: vertamedia-clickhouse-datasource
|
|
uid: bdgu7tk03irr4e
|
|
fieldConfig:
|
|
defaults:
|
|
color:
|
|
mode: palette-classic
|
|
custom:
|
|
axisBorderShow: false
|
|
axisCenteredZero: false
|
|
axisColorMode: text
|
|
axisLabel: ''
|
|
axisPlacement: auto
|
|
barAlignment: 0
|
|
barWidthFactor: 0.6
|
|
drawStyle: line
|
|
fillOpacity: 0
|
|
gradientMode: none
|
|
hideFrom:
|
|
legend: false
|
|
tooltip: false
|
|
viz: false
|
|
insertNulls: false
|
|
lineInterpolation: smooth
|
|
lineWidth: 1
|
|
pointSize: 5
|
|
scaleDistribution:
|
|
type: linear
|
|
showPoints: auto
|
|
spanNulls: false
|
|
stacking:
|
|
group: A
|
|
mode: none
|
|
thresholdsStyle:
|
|
mode: 'off'
|
|
mappings: []
|
|
thresholds:
|
|
mode: absolute
|
|
steps:
|
|
- color: green
|
|
value: null
|
|
- color: red
|
|
value: 80
|
|
overrides: []
|
|
gridPos:
|
|
h: 19
|
|
w: 12
|
|
x: 12
|
|
y: 8
|
|
id: 4
|
|
options:
|
|
legend:
|
|
calcs: []
|
|
displayMode: table
|
|
placement: bottom
|
|
showLegend: true
|
|
tooltip:
|
|
mode: single
|
|
sort: none
|
|
pluginVersion: 11.3.0-77222
|
|
targets:
|
|
- datasource:
|
|
type: vertamedia-clickhouse-datasource
|
|
uid: bdgu7tk03irr4e
|
|
dateTimeType: DATETIME
|
|
editorMode: builder
|
|
extrapolate: true
|
|
format: time_series
|
|
formatAs: time_series
|
|
formattedQuery: "SELECT count() as numConnects, blob2\n\tFROM 'BEMO_ANALYTICS'\n\
|
|
\ WHERE blob1 = 'connect'\n\tAND timestamp >= toDateTime($from) AND timestamp\
|
|
\ <= toDateTime($to)\n\tGROUP BY blob2\n ORDER BY numConnects ASC"
|
|
intervalFactor: 1
|
|
query: "SELECT toStartOfInterval(timestamp, INTERVAL '$interval' MINUTE) as\
|
|
\ date, count() as numConnects,\n\tif(\n\t\tstartsWith(blob2, 'http://localhost')\
|
|
\ or startsWith(blob2, 'http://127.0.0.1'),\n\t\t'localhost',\n\t\tif(\n\t\
|
|
\t\tendsWith(blob2, '.csb.app'),\n\t\t\t'code sandbox',\n\t\t\tblob2\n\t\t\
|
|
)\n\t) as host\n\tFROM 'BEMO_ANALYTICS'\n WHERE blob1 = 'connect'\n\tAND\
|
|
\ timestamp >= toDateTime($from) AND timestamp <= toDateTime($to)\n\t-- AND\
|
|
\ NOT(startsWith(host, 'http://localhost')) AND NOT(startsWith(host, 'http://127.0.0.1'))\n\
|
|
\tGROUP BY date, host\n ORDER BY date ASC"
|
|
rawQuery: "SELECT toStartOfInterval(timestamp, INTERVAL '3600' MINUTE) as date,\
|
|
\ count() as numConnects,\n\tif(\n\t\tstartsWith(blob2, 'http://localhost')\
|
|
\ or startsWith(blob2, 'http://127.0.0.1'),\n\t\t'localhost',\n\t\tif(\n\t\
|
|
\t\tendsWith(blob2, '.csb.app'),\n\t\t\t'code sandbox',\n\t\t\tblob2\n\t\t\
|
|
)\n\t) as host\n\tFROM 'BEMO_ANALYTICS'\n WHERE blob1 = 'connect'\n\tAND\
|
|
\ timestamp >= toDateTime(1720773373) AND timestamp <= toDateTime(1726292377)\n\
|
|
\t\n\tGROUP BY date, host\n ORDER BY date ASC"
|
|
refId: A
|
|
round: 0s
|
|
showFormattedSQL: false
|
|
showHelp: false
|
|
skip_comments: true
|
|
step: ''
|
|
title: Panel Title
|
|
type: timeseries
|
|
preload: false
|
|
schemaVersion: 40
|
|
tags:
|
|
- provisioned
|
|
- repo:tldraw/tldraw
|
|
templating:
|
|
list: []
|
|
time:
|
|
from: now-6h
|
|
to: now
|
|
timepicker: {}
|
|
timezone: browser
|
|
title: Bemo analytics
|
|
weekStart: ''
|