runtime-invocations.json66 lines · main
1{
2 "uid": "briven-runtime-invocations",
3 "title": "runtime · invocations",
4 "tags": ["briven", "runtime"],
5 "timezone": "browser",
6 "schemaVersion": 39,
7 "refresh": "30s",
8 "time": { "from": "now-1h", "to": "now" },
9 "panels": [
10 {
11 "id": 1,
12 "title": "invocations per second",
13 "type": "timeseries",
14 "datasource": { "type": "prometheus", "uid": "Prometheus" },
15 "gridPos": { "x": 0, "y": 0, "w": 12, "h": 8 },
16 "targets": [
17 {
18 "expr": "sum by (project) (rate(briven_runtime_invocations_total[1m]))",
19 "legendFormat": "{{project}}"
20 }
21 ]
22 },
23 {
24 "id": 2,
25 "title": "cold-start time (p50/p99 ms)",
26 "type": "timeseries",
27 "datasource": { "type": "prometheus", "uid": "Prometheus" },
28 "gridPos": { "x": 12, "y": 0, "w": 12, "h": 8 },
29 "targets": [
30 {
31 "expr": "histogram_quantile(0.50, sum by (le) (rate(briven_runtime_cold_start_ms_bucket[5m])))",
32 "legendFormat": "p50"
33 },
34 {
35 "expr": "histogram_quantile(0.99, sum by (le) (rate(briven_runtime_cold_start_ms_bucket[5m])))",
36 "legendFormat": "p99"
37 }
38 ]
39 },
40 {
41 "id": 3,
42 "title": "active isolates",
43 "type": "stat",
44 "datasource": { "type": "prometheus", "uid": "Prometheus" },
45 "gridPos": { "x": 0, "y": 8, "w": 6, "h": 4 },
46 "targets": [
47 {
48 "expr": "sum(briven_runtime_isolates_active)"
49 }
50 ]
51 },
52 {
53 "id": 4,
54 "title": "isolate kills (last 5m, by reason)",
55 "type": "timeseries",
56 "datasource": { "type": "prometheus", "uid": "Prometheus" },
57 "gridPos": { "x": 6, "y": 8, "w": 18, "h": 4 },
58 "targets": [
59 {
60 "expr": "sum by (reason) (increase(briven_runtime_isolate_kills_total[5m]))",
61 "legendFormat": "{{reason}}"
62 }
63 ]
64 }
65 ]
66}