Skip to content

Commit 30a250c

Browse files
authored
chore: update grafana dashboard for CRDB tx restarts, and update gith… (#3204)
* chore: update grafana dashboard for CRDB tx restarts, and update github bug report template
1 parent acaa7d6 commit 30a250c

2 files changed

Lines changed: 13 additions & 24 deletions

File tree

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 12 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,6 @@ name: "🐞 Bug Report"
33
description: "Tell us about something that's not working the way we (probably) intend."
44
labels: ["kind/bug", "state/triage"]
55
body:
6-
- type: "dropdown"
7-
id: "platform"
8-
validations:
9-
required: true
10-
attributes:
11-
label: "What platforms are affected?"
12-
multiple: true
13-
options:
14-
- "linux"
15-
- "macos"
16-
- "windows"
17-
- "others"
18-
- type: "dropdown"
19-
id: "arch"
20-
validations:
21-
required: true
22-
attributes:
23-
label: "What architectures are affected?"
24-
multiple: true
25-
options:
26-
- "amd64"
27-
- "arm64"
28-
- "others"
296
- type: "textarea"
307
id: "version"
318
validations:
@@ -42,6 +19,18 @@ body:
4219
placeholder: |-
4320
1. --datastore-engine=...
4421
2. --enable-experimental-watchable-schema-cache=...
22+
23+
SpiceDB emits a log line with `message: configuration` printing them all out.
24+
- type: "textarea"
25+
id: "config"
26+
validations:
27+
required: false
28+
attributes:
29+
label: "Any other details?"
30+
placeholder: |-
31+
- `zed schema read` will print the schema. This is helpful to debug some correctness and performance issues.
32+
- What traffic was SpiceDB getting at the time of the event? (e.g. 100 RPS for `CheckPermissions` via the zed client)
33+
- What environment are you running in? (e.g. Kubernetes, ECS, etc.)
4534
- type: "textarea"
4635
id: "repro"
4736
validations:

development/grafana/dashboards/dashboard.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1933,7 +1933,7 @@
19331933
"uid": "prometheus"
19341934
},
19351935
"editorMode": "code",
1936-
"expr": "rate(crdb_client_resets_count{job=\"spicedb\",instance=~\"$instance\"}[$__rate_interval])",
1936+
"expr": "rate(crdb_client_resets_sum{job=\"spicedb\",instance=~\"$instance\"}[$__rate_interval])",
19371937
"legendFormat": "resets/sec ({{instance}})",
19381938
"range": true,
19391939
"refId": "A"

0 commit comments

Comments
 (0)