apiVersion: dashboard.grafana.app/v0alpha1 kind: Dashboard metadata: annotations: grafana.app/folder: dotcom grafana.app/saved-from-ui: Grafana Cloud labels: {} name: adgumkhou3chsd 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 liveNow: false panels: - 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 showValues: false spanNulls: false stacking: group: A mode: none thresholdsStyle: mode: 'off' thresholds: mode: absolute steps: - color: green value: 0 - color: red value: 80 gridPos: h: 21 w: 24 x: 0 y: 0 id: 1 options: annotations: clustering: -1 multiLane: false legend: calcs: [] displayMode: list placement: bottom showLegend: true tooltip: hideZeros: false maxHeight: 600 mode: single sort: none pluginVersion: 13.1.0-24556818486 targets: - datasource: type: vertamedia-clickhouse-datasource uid: bdgu7tk03irr4e dateTimeType: DATETIME editorMode: builder extrapolate: true format: time_series formatAs: time_series formattedQuery: "SELECT toStartOfInterval(timestamp, INTERVAL '$interval' SECOND)\ \ as date, blob1 as event, count() as total\n\tFROM 'MEASURE'\n WHERE NOT\ \ endsWith(event, 'tldraw-multiplayer')\n\tAND timestamp >= toDateTime($from)\ \ AND timestamp <= toDateTime($to)\n\tGROUP BY date, event\n\tORDER BY date\ \ ASC" intervalFactor: 1 query: "SELECT toStartOfInterval(timestamp, INTERVAL '$interval' SECOND) as\ \ date, blob1 as event, count() as total\n\tFROM 'MEASURE'\n\tWHERE timestamp\ \ >= toDateTime($from) AND timestamp <= toDateTime($to)\n\tAND blob2 = '${environment}-tldraw-multiplayer'\n\ \tGROUP BY date, event\n\tORDER BY date ASC" rawQuery: "SELECT toStartOfInterval(timestamp, INTERVAL '120' SECOND) as date,\ \ blob1 as event, count() as total\n\tFROM 'MEASURE'\n\tWHERE timestamp >=\ \ toDateTime(1733213050) AND timestamp <= toDateTime(1733385850)\n\tAND blob2\ \ = 'pr-5028-tldraw-multiplayer'\n\tGROUP BY date, event\n\tORDER BY date ASC" refId: A round: 0s showFormattedSQL: true showHelp: true skip_comments: true step: '' title: Room events type: timeseries - datasource: type: vertamedia-clickhouse-datasource uid: bdgu7tk03irr4e fieldConfig: defaults: color: mode: palette-classic custom: axisBorderShow: false axisCenteredZero: false axisColorMode: text axisLabel: '' axisPlacement: right barAlignment: 0 barWidthFactor: 0.6 drawStyle: line fillOpacity: 0 gradientMode: none hideFrom: legend: false tooltip: false viz: false insertNulls: 3600000 lineInterpolation: stepAfter lineStyle: fill: solid lineWidth: 1 pointSize: 6 scaleDistribution: type: linear showPoints: auto showValues: false spanNulls: false stacking: group: A mode: none thresholdsStyle: mode: 'off' min: 0 thresholds: mode: absolute steps: - color: green value: 0 - color: red value: 80 gridPos: h: 8 w: 12 x: 0 y: 21 id: 13 interval: 5m options: annotations: clustering: -1 multiLane: false legend: calcs: [] displayMode: table placement: bottom showLegend: false tooltip: hideZeros: false mode: single sort: none pluginVersion: 13.1.0-24556818486 targets: - datasource: type: vertamedia-clickhouse-datasource uid: bdgu7tk03irr4e dateTimeType: DATETIME editorMode: builder extrapolate: true format: time_series formatAs: time_series formattedQuery: "SELECT toStartOfInterval(timestamp, INTERVAL '$interval' SECOND)\ \ as date, blob1 as name, max(double1) as avg_attempts\n\tFROM 'MEASURE'\n\ \tWHERE timestamp >= toDateTime($from) AND timestamp <= toDateTime($to)\n \ \ AND name = 'persist_success'\n\tGROUP BY date, name\n\tORDER BY date ASC" intervalFactor: 1 query: "SELECT toStartOfInterval(timestamp, INTERVAL '$interval' SECOND) as\ \ date, blob1 as name, max(double1) as avg_attempts\n\tFROM 'MEASURE'\n\t\ WHERE timestamp >= toDateTime($from) AND timestamp <= toDateTime($to)\n \ \ AND name = 'persist_success'\n\tGROUP BY date, name\n\tORDER BY date ASC" rawQuery: "SELECT toStartOfInterval(timestamp, INTERVAL '300' SECOND) as date,\ \ blob1 as name, max(double1) as avg_attempts\n\tFROM 'MEASURE'\n\tWHERE timestamp\ \ >= toDateTime(1762169567) AND timestamp <= toDateTime(1762180367)\n AND\ \ name = 'persist_success'\n\tGROUP BY date, name\n\tORDER BY date ASC" refId: A round: 0s showFormattedSQL: false showHelp: false skip_comments: true step: '' title: max attempts before persistence success type: timeseries preload: false refresh: 5s schemaVersion: 42 templating: list: - current: text: production value: production description: Environment to filter by. Use production, staging, or your pr number (pr-42). hide: 0 label: 'Environment: production | staging | pr-42' name: environment query: production skipUrlSync: false type: textbox time: from: now-3h to: now timepicker: refresh_intervals: - 5s - 10s - 30s - 1m - 5m - 15m - 30m - 1h - 2h - 1d timezone: browser title: Dotcom events V1 tags: - provisioned - repo:tldraw/tldraw