{ "__requires": [ { "id": "grafana", "name": "Grafana", "type": "grafana", "version": "10.4.0" }, { "id": "prometheus", "name": "Prometheus", "type": "datasource", "version": "1.0.0" } ], "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "grafana", "uid": "-- Grafana --" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "enable": true, "expr": "changes(max(jetstream_orchestrator_phase{job=\"stream\",instance=\"stream:6060\"})[$__interval:]) > 0", "hide": false, "iconColor": "#4a3aa7", "name": "Phase transitions", "textFormat": "orchestrator phase changed", "titleFormat": "phase transition" } ] }, "description": "Stream operational dashboard adapted from the checksum-pinned Jetstream V2 dashboard. Protocol and lifecycle rows are unchanged; the runtime row uses Stream process metrics, and final Stream-only rows expose backfill work over time and scheduler health.", "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 1, "id": 1317742537170944, "links": [ { "asDropdown": false, "icon": "external link", "includeVars": false, "keepTime": false, "tags": [], "targetBlank": true, "title": "jetstream repo", "type": "link", "url": "https://github.com/bluesky-social/jetstream" } ], "panels": [ { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, "id": 9, "panels": [], "title": "Overview", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Ingestion lifecycle phase. 0 is reserved for a process that never reached the dispatch loop.", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "0": { "color": "#898781", "index": 0, "text": "unset" }, "1": { "color": "#2a78d6", "index": 1, "text": "bootstrap" }, "2": { "color": "#eda100", "index": 2, "text": "merging" }, "3": { "color": "#008300", "index": 3, "text": "steady state" } }, "type": "value" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "text", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 0, "y": 1 }, "id": 1, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "jetstream_orchestrator_phase{job=\"stream\",instance=\"stream:6060\"}", "instant": false, "legendFormat": "", "range": true, "refId": "A" } ], "title": "Phase", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Version label from jetstream_build_info.", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "text", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 3, "y": 1 }, "id": 2, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "name", "wideLayout": true }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "jetstream_build_info{job=\"stream\",instance=\"stream:6060\"}", "instant": false, "legendFormat": "{{version}}", "range": true, "refId": "A" } ], "title": "Build", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Uptime of the most recently started selected instance \u2014 shortest uptime surfaces recent restarts.", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "text", "value": null } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 6, "y": 1 }, "id": 3, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "time() - max(process_start_time_seconds{job=\"stream\",instance=\"stream:6060\"})", "instant": false, "legendFormat": "", "range": true, "refId": "A" } ], "title": "Uptime", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Upstream subscribeRepos events decoded per second.", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 1, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "text", "value": null } ] }, "unit": "cps" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 9, "y": 1 }, "id": 4, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_livestream_events_received_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "", "range": true, "refId": "A" } ], "title": "Firehose events/s", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Events durably appended to the active segment per second. During backfill this is dominated by repo downloads.", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 1, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "text", "value": null } ] }, "unit": "cps" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 12, "y": 1 }, "id": 5, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_ingest_events_appended_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "", "range": true, "refId": "A" } ], "title": "Appended events/s", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Seconds since steady-state live ingest last saw an upstream event. No data until steady state.", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "noValue": "pre-steady-state", "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "#eda100", "value": 60 }, { "color": "#e34948", "value": 300 } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 15, "y": 1 }, "id": 6, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "max((time() - jetstream_livestream_last_seen_upstream_event_timestamp_seconds{job=\"stream\",instance=\"stream:6060\"}) and (jetstream_livestream_last_seen_upstream_event_timestamp_seconds{job=\"stream\",instance=\"stream:6060\"} > 0))", "instant": false, "legendFormat": "", "range": true, "refId": "A" } ], "title": "Upstream freshness", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Free bytes on the filesystem holding the data directory.", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "#e34948", "value": null }, { "color": "#eda100", "value": 50000000000 }, { "color": "green", "value": 250000000000 } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 18, "y": 1 }, "id": 7, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "min(jetstream_data_dir_free_bytes{job=\"stream\",instance=\"stream:6060\"})", "instant": false, "legendFormat": "", "range": true, "refId": "A" } ], "title": "Data dir free", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Connected /subscribe websocket clients.", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "text", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 21, "y": 1 }, "id": 8, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(jetstream_subscribe_subscribers{job=\"stream\",instance=\"stream:6060\"}) or vector(0)", "instant": false, "legendFormat": "", "range": true, "refId": "A" } ], "title": "Subscribers", "type": "stat" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 5 }, "id": 15, "panels": [], "title": "Live firehose", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Upstream subscribeRepos decode results. Unknown events are archival holes a jetstream upgrade would fix.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "cps" }, "overrides": [ { "matcher": { "id": "byName", "options": "events received/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#2a78d6", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "decode errors/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#e34948", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "unknown events/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#eb6834", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 6 }, "id": 10, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_livestream_events_received_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "events received/s", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_livestream_decode_errors_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "decode errors/s", "range": true, "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_livestream_unknown_events_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "unknown events/s", "range": true, "refId": "C" } ], "title": "Firehose intake", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Forward gaps in the relay's seq stream: upstream data loss, not local decode trouble. Should be flat at zero.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "cps" }, "overrides": [ { "matcher": { "id": "byName", "options": "gaps/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#e34948", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "missed seqs/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#eb6834", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 6 }, "id": 11, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_livestream_sequence_gaps_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "gaps/s", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_livestream_sequence_gap_missed_seqs_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "missed seqs/s", "range": true, "refId": "B" } ], "title": "Relay sequence gaps", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Websocket reconnects and op=-1 error frames from the relay. Error-frame series appear only after the first occurrence.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "cps" }, "overrides": [ { "matcher": { "id": "byName", "options": "reconnects/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#eda100", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 8, "w": 8, "x": 0, "y": 14 }, "id": 12, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_livestream_reconnects_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "reconnects/s", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum by (code) (rate(jetstream_livestream_stream_error_frames_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "error frame {{code}}/s", "range": true, "refId": "B" } ], "title": "Connection health", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Deliberate steady-state drops (relay seq replays, stale resyncs) vs verify-queue overflow, which is permanent archival loss.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "cps" }, "overrides": [ { "matcher": { "id": "byName", "options": "verify queue drops/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#e34948", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 8, "w": 8, "x": 8, "y": 14 }, "id": 13, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_livestream_replayed_account_events_dropped_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "replayed #account/s", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_livestream_replayed_identity_events_dropped_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "replayed #identity/s", "range": true, "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_livestream_stale_resyncs_dropped_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "stale resyncs/s", "range": true, "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_livestream_verify_queue_dropped_events_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "verify queue drops/s", "range": true, "refId": "D" } ], "title": "Replay & verify drops", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Verifier rejections by error class. A sustained 'other' rate means a new class needs categorizing.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "cps" }, "overrides": [] }, "gridPos": { "h": 8, "w": 8, "x": 16, "y": 14 }, "id": 14, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum by (kind) (rate(jetstream_verifier_failures_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "{{kind}}/s", "range": true, "refId": "A" } ], "title": "Verifier failures", "type": "timeseries" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 22 }, "id": 22, "panels": [], "title": "Ingest writer & segments", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Writer.Append successes and failures. Append errors indicate writer trouble and should be flat at zero.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "cps" }, "overrides": [ { "matcher": { "id": "byName", "options": "events appended/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#2a78d6", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "append errors/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#e34948", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 8, "w": 8, "x": 0, "y": 23 }, "id": 16, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_ingest_events_appended_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "events appended/s", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_ingest_append_errors_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "append errors/s", "range": true, "refId": "B" } ], "title": "Append throughput", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Upstream records dropped at the ingest validation gate. Spec-invalid input vs unrepresentable vs upstream omissions.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "cps" }, "overrides": [] }, "gridPos": { "h": 8, "w": 8, "x": 8, "y": 23 }, "id": 17, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum by (source, reason) (rate(jetstream_ingest_dropped_events_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "{{source}}/{{reason}}", "range": true, "refId": "A" } ], "title": "Dropped at validation gate", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "zstd block fsync rate and segment rotations (rotations shown as count per interval \u2014 they are rare).", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 8, "w": 8, "x": 16, "y": 23 }, "id": 18, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_ingest_blocks_flushed_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "blocks flushed/s", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(increase(jetstream_ingest_segments_rotated_total{job=\"stream\",instance=\"stream:6060\"}[$__interval]))", "instant": false, "legendFormat": "segments rotated", "range": true, "refId": "B" } ], "title": "Blocks & rotations", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Compressed bytes written since the active segment's header. Saw-tooth resets on rotation.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "bytes" }, "overrides": [ { "matcher": { "id": "byName", "options": "active segment bytes" }, "properties": [ { "id": "color", "value": { "fixedColor": "#2a78d6", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 8, "w": 8, "x": 0, "y": 31 }, "id": 19, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "max(jetstream_ingest_active_segment_bytes{job=\"stream\",instance=\"stream:6060\"})", "instant": false, "legendFormat": "active segment bytes", "range": true, "refId": "A" } ], "title": "Active segment size", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "End-to-end Writer.Seal duration (flush + footer + header pwrite + fsyncs), successful seals only.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 8, "w": 8, "x": 8, "y": 31 }, "id": 20, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "histogram_quantile(0.50, sum by (le) (rate(jetstream_segment_seal_duration_seconds_bucket{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval])))", "instant": false, "legendFormat": "p50", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "histogram_quantile(0.99, sum by (le) (rate(jetstream_segment_seal_duration_seconds_bucket{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval])))", "instant": false, "legendFormat": "p99", "range": true, "refId": "B" } ], "title": "Segment seal latency", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "In-memory readable log serving hot /subscribe reads. Pinned overrun means retention budget exceeded by undurable bytes.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "bytes" }, "overrides": [ { "matcher": { "id": "byName", "options": "pinned overrun bytes" }, "properties": [ { "id": "color", "value": { "fixedColor": "#e34948", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 8, "w": 8, "x": 16, "y": 31 }, "id": 21, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "max(jetstream_ingest_readable_log_bytes{job=\"stream\",instance=\"stream:6060\"})", "instant": false, "legendFormat": "resident bytes", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "max(jetstream_ingest_readable_log_pinned_bytes{job=\"stream\",instance=\"stream:6060\"})", "instant": false, "legendFormat": "pinned bytes", "range": true, "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "max(jetstream_ingest_readable_log_pinned_overrun_bytes{job=\"stream\",instance=\"stream:6060\"})", "instant": false, "legendFormat": "pinned overrun bytes", "range": true, "refId": "C" } ], "title": "Readable log", "type": "timeseries" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 39 }, "id": 31, "panels": [], "title": "Backfill & retry", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Repos completed this Run vs DIDs discovered via listRepos. Approximate: discovery keeps running during backfill.", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 1, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "#2a78d6", "value": null } ] }, "unit": "percentunit" }, "overrides": [] }, "gridPos": { "h": 4, "w": 6, "x": 0, "y": 40 }, "id": 23, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(jetstream_backfill_progress_completed{job=\"stream\",instance=\"stream:6060\"}) / clamp_min(sum(jetstream_backfill_discovered_total{job=\"stream\",instance=\"stream:6060\"}), 1)", "instant": false, "legendFormat": "", "range": true, "refId": "A" } ], "title": "Backfill progress", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Repos the engine reported complete in the current Run.", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "text", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 4, "w": 6, "x": 6, "y": 40 }, "id": 24, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(jetstream_backfill_progress_completed{job=\"stream\",instance=\"stream:6060\"})", "instant": false, "legendFormat": "", "range": true, "refId": "A" } ], "title": "Repos completed", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "DIDs that exhausted their retry budget within the Run.", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "text", "value": null }, { "color": "#eda100", "value": 1 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 4, "w": 6, "x": 12, "y": 40 }, "id": 25, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(jetstream_backfill_failed_total{job=\"stream\",instance=\"stream:6060\"})", "instant": false, "legendFormat": "", "range": true, "refId": "A" } ], "title": "Repos failed (run)", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Repo completions waiting for a writer durable metadata batch.", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "text", "value": null }, { "color": "#eda100", "value": 1000 }, { "color": "#e34948", "value": 10000 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 4, "w": 6, "x": 18, "y": 40 }, "id": 26, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "max(jetstream_backfill_completion_queue_depth{job=\"stream\",instance=\"stream:6060\"})", "instant": false, "legendFormat": "", "range": true, "refId": "A" } ], "title": "Completion queue depth", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "listRepos discovery vs getRepo completion vs terminal failure.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "cps" }, "overrides": [ { "matcher": { "id": "byName", "options": "completed/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#008300", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "failed/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#e34948", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "discovered/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#2a78d6", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 44 }, "id": 27, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_backfill_discovered_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "discovered/s", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_backfill_completed_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "completed/s", "range": true, "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_backfill_failed_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "failed/s", "range": true, "refId": "C" } ], "title": "Repo throughput", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Per-repo download+append duration, successful repos only.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 44 }, "id": 28, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "histogram_quantile(0.50, sum by (le) (rate(jetstream_backfill_handle_repo_duration_seconds_bucket{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval])))", "instant": false, "legendFormat": "p50", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "histogram_quantile(0.95, sum by (le) (rate(jetstream_backfill_handle_repo_duration_seconds_bucket{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval])))", "instant": false, "legendFormat": "p95", "range": true, "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "histogram_quantile(0.99, sum by (le) (rate(jetstream_backfill_handle_repo_duration_seconds_bucket{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval])))", "instant": false, "legendFormat": "p99", "range": true, "refId": "C" } ], "title": "HandleRepo latency", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Time a repo completion waited between being queued and becoming durable. A rising tail is a durability backlog.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 52 }, "id": 29, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "histogram_quantile(0.50, sum by (le) (rate(jetstream_backfill_completion_queue_wait_seconds_bucket{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval])))", "instant": false, "legendFormat": "p50", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "histogram_quantile(0.99, sum by (le) (rate(jetstream_backfill_completion_queue_wait_seconds_bucket{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval])))", "instant": false, "legendFormat": "p99", "range": true, "refId": "B" } ], "title": "Completion durability wait", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Retry loop that drains repos which failed initial backfill.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "cps" }, "overrides": [ { "matcher": { "id": "byName", "options": "succeeded/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#008300", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "failed/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#e34948", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "skipped (host parked)/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#eda100", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 52 }, "id": 30, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_backfill_failed_repo_retry_attempts_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "attempts/s", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_backfill_failed_repo_retry_succeeded_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "succeeded/s", "range": true, "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_backfill_failed_repo_retry_failed_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "failed/s", "range": true, "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_backfill_failed_repo_retry_skipped_host_parked_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "skipped (host parked)/s", "range": true, "refId": "D" } ], "title": "Steady-state failed-repo retry", "type": "timeseries" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 60 }, "id": 41, "panels": [], "title": "Serving: /subscribe & archive API", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Connected /subscribe clients by negotiated wire compression.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 8, "w": 8, "x": 0, "y": 61 }, "id": 32, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum by (compression) (jetstream_subscribe_subscribers{job=\"stream\",instance=\"stream:6060\"})", "instant": false, "legendFormat": "{{compression}}", "range": true, "refId": "A" } ], "title": "Subscribers by compression", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "JSON frames written to clients, plus events removed by per-subscriber filters before encoding.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "cps" }, "overrides": [] }, "gridPos": { "h": 8, "w": 8, "x": 8, "y": 61 }, "id": 33, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum by (compression) (rate(jetstream_subscribe_events_sent_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "{{compression}}/s", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_subscribe_events_filtered_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "filtered/s", "range": true, "refId": "B" } ], "title": "Events sent to subscribers", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Bytes written to /subscribe clients (post-compression for zstd) and archive getBlock downloads. sent/encoded ratio approximates the compression ratio.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "binBps" }, "overrides": [] }, "gridPos": { "h": 8, "w": 8, "x": 16, "y": 61 }, "id": 34, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum by (compression) (rate(jetstream_subscribe_bytes_sent_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "subscribe {{compression}}/s", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_subscribe_bytes_encoded_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "pre-compression encoded/s", "range": true, "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_getblock_served_bytes_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "getBlock served/s", "range": true, "refId": "C" } ], "title": "Egress bytes", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Per-subscriber trouble. Encode errors and adversarial drops should be flat at zero.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "cps" }, "overrides": [ { "matcher": { "id": "byName", "options": "encode errors/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#e34948", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "adversarial drops/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#e34948", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 8, "w": 8, "x": 0, "y": 69 }, "id": 35, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum by (reason) (rate(jetstream_subscribe_events_skipped_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "skipped {{reason}}/s", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_subscribe_events_oversize_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "oversize/s", "range": true, "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_subscribe_encode_errors_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "encode errors/s", "range": true, "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_subscribe_adversarial_drops_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "adversarial drops/s", "range": true, "refId": "D" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum by (reason) (rate(jetstream_subscribe_options_update_errors_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "options error {{reason}}/s", "range": true, "refId": "E" } ], "title": "Subscriber drops & errors", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "New /subscribe connections by cursor resolution outcome.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "cps" }, "overrides": [] }, "gridPos": { "h": 8, "w": 8, "x": 8, "y": 69 }, "id": 36, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum by (mode) (rate(jetstream_subscribe_cursor_requests_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "{{mode}}/s", "range": true, "refId": "A" } ], "title": "Cursor requests by mode", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "ReadFrom calls served from the in-memory readable log vs falling through to the cold disk reader.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "cps" }, "overrides": [ { "matcher": { "id": "byName", "options": "hot (readable log)/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#2a78d6", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "cold (disk)/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#eb6834", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 8, "w": 8, "x": 16, "y": 69 }, "id": 37, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_subscribe_hot_reads_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "hot (readable log)/s", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_subscribe_cold_reads_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "cold (disk)/s", "range": true, "refId": "B" } ], "title": "Hot vs cold reads", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Public-listener HTTP request rate by handler and status.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "reqps" }, "overrides": [] }, "gridPos": { "h": 8, "w": 8, "x": 0, "y": 77 }, "id": 38, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum by (handler, code) (rate(jetstream_http_request_duration_seconds_count{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "{{handler}} {{code}}/s", "range": true, "refId": "A" } ], "title": "HTTP requests", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "99th percentile latency of the public API surfaces.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 8, "w": 8, "x": 8, "y": 77 }, "id": 39, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "histogram_quantile(0.99, sum by (le,handler) (rate(jetstream_http_request_duration_seconds_bucket{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval])))", "instant": false, "legendFormat": "http {{handler}}", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "histogram_quantile(0.99, sum by (le) (rate(jetstream_getblock_duration_seconds_bucket{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval])))", "instant": false, "legendFormat": "getBlock", "range": true, "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "histogram_quantile(0.99, sum by (le) (rate(jetstream_subscribe_cursor_resolve_seconds_bucket{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval])))", "instant": false, "legendFormat": "cursor resolve", "range": true, "refId": "C" } ], "title": "API latency (p99)", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Archive getBlock requests by outcome. Series appear after the first request.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "reqps" }, "overrides": [ { "matcher": { "id": "byName", "options": "ok/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#008300", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "error/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#e34948", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 8, "w": 8, "x": 16, "y": 77 }, "id": 40, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum by (result) (rate(jetstream_getblock_requests_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "{{result}}/s", "range": true, "refId": "A" } ], "title": "getBlock requests", "type": "timeseries" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 85 }, "id": 51, "panels": [], "title": "Storage: compaction, tombstones & manifest", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Delete/update compaction passes by result, plus passes triggered early by the tombstone cap.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "cps" }, "overrides": [ { "matcher": { "id": "byName", "options": "ok/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#008300", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "error/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#e34948", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "early (tombstone cap)/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#eda100", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 8, "w": 8, "x": 0, "y": 86 }, "id": 42, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum by (result) (rate(jetstream_compaction_passes_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "{{result}}/s", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_compaction_passes_early_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "early (tombstone cap)/s", "range": true, "refId": "B" } ], "title": "Compaction passes", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 8, "w": 8, "x": 8, "y": 86 }, "id": 43, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "histogram_quantile(0.50, sum by (le) (rate(jetstream_compaction_pass_duration_seconds_bucket{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval])))", "instant": false, "legendFormat": "p50", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "histogram_quantile(0.99, sum by (le) (rate(jetstream_compaction_pass_duration_seconds_bucket{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval])))", "instant": false, "legendFormat": "p99", "range": true, "refId": "B" } ], "title": "Compaction pass duration", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Compaction work: rows physically dropped from rewritten segments and tombstones collected by kind.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "cps" }, "overrides": [] }, "gridPos": { "h": 8, "w": 8, "x": 16, "y": 86 }, "id": 44, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum by (reason) (rate(jetstream_compaction_rows_dropped_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "dropped {{reason}}/s", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum by (kind) (rate(jetstream_compaction_tombstones_collected_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "collected {{kind}}/s", "range": true, "refId": "B" } ], "title": "Rows dropped & tombstones collected", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Entries in the live in-memory tombstone set. Drops to zero after each compaction pass.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 8, "w": 6, "x": 0, "y": 94 }, "id": 45, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "max(jetstream_compaction_tombstone_set_entries{job=\"stream\",instance=\"stream:6060\"})", "instant": false, "legendFormat": "entries", "range": true, "refId": "A" } ], "title": "Tombstone set", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 8, "w": 6, "x": 6, "y": 94 }, "id": 46, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "max(jetstream_compaction_tombstone_set_bytes{job=\"stream\",instance=\"stream:6060\"})", "instant": false, "legendFormat": "bytes", "range": true, "refId": "A" } ], "title": "Tombstone set memory", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "witnessed_at lag between the sealed segment tip and the compaction watermark (header granularity).", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 8, "w": 6, "x": 12, "y": 94 }, "id": 47, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "max(jetstream_compaction_watermark_lag_seconds{job=\"stream\",instance=\"stream:6060\"})", "instant": false, "legendFormat": "lag", "range": true, "refId": "A" } ], "title": "Compaction watermark lag", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Segment-file bytes rewritten by compaction.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "binBps" }, "overrides": [] }, "gridPos": { "h": 8, "w": 6, "x": 18, "y": 94 }, "id": 48, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_compaction_bytes_rewritten_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "bytes/s", "range": true, "refId": "A" } ], "title": "Compaction rewrite I/O", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Sealed segments tracked by the manifest, and compaction rewrite activity per interval.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 102 }, "id": 49, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "max(jetstream_manifest_segments_loaded{job=\"stream\",instance=\"stream:6060\"})", "instant": false, "legendFormat": "segments loaded", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(increase(jetstream_compaction_segments_rewritten_total{job=\"stream\",instance=\"stream:6060\"}[$__interval]))", "instant": false, "legendFormat": "rewritten (per interval)", "range": true, "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(increase(jetstream_compaction_segments_skipped_clean_total{job=\"stream\",instance=\"stream:6060\"}[$__interval]))", "instant": false, "legendFormat": "skipped clean (per interval)", "range": true, "refId": "C" } ], "title": "Sealed segments", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Manifest BlockIndex lookups served from resident metadata. No data while there are no cold lookups.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "max": 1, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "percentunit" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 102 }, "id": 50, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_manifest_block_index_cache_hits_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval])) / clamp_min(sum(rate(jetstream_manifest_block_index_cache_hits_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval])) + sum(rate(jetstream_manifest_block_index_cache_misses_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval])), 1e-9)", "instant": false, "legendFormat": "hit ratio", "range": true, "refId": "A" } ], "title": "Block index cache", "type": "timeseries" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 110 }, "id": 55, "panels": [], "title": "Store & integrity", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Pebble metadata-store operations by op and outcome. Any error series is a crash-loud-worthy signal.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "ops" }, "overrides": [] }, "gridPos": { "h": 8, "w": 8, "x": 0, "y": 111 }, "id": 52, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum by (op, status) (rate(jetstream_store_op_duration_seconds_count{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "{{op}} {{status}}/s", "range": true, "refId": "A" } ], "title": "Store ops", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 8, "w": 8, "x": 8, "y": 111 }, "id": 53, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "histogram_quantile(0.99, sum by (le,op) (rate(jetstream_store_op_duration_seconds_bucket{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval])))", "instant": false, "legendFormat": "{{op}}", "range": true, "refId": "A" } ], "title": "Store op latency (p99)", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Data-integrity error counters from every subsystem. All of these should be flat at zero; investigate any movement.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "cps" }, "overrides": [ { "matcher": { "id": "byName", "options": "ingest append errors/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#e34948", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 8, "w": 8, "x": 16, "y": 111 }, "id": 54, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_ingest_append_errors_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "ingest append errors/s", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_backfill_on_fail_store_errors_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "backfill OnFail store errors/s", "range": true, "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_backfill_completion_stage_errors_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "completion stage errors/s", "range": true, "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_import_rows_corrupt_offset_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "import corrupt offsets/s", "range": true, "refId": "D" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum by (op) (rate(jetstream_store_op_duration_seconds_count{job=\"stream\",instance=\"stream:6060\",status=\"error\"}[$__rate_interval]))", "instant": false, "legendFormat": "store {{op}} errors/s", "range": true, "refId": "E" } ], "title": "Integrity signals (expect zero)", "type": "timeseries" }, { "collapsed": true, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 119 }, "id": 61, "panels": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "1=bootstrap, 2=merging, 3=steady state. Transitions are also marked as dashboard annotations.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "short" }, "overrides": [ { "matcher": { "id": "byName", "options": "phase" }, "properties": [ { "id": "color", "value": { "fixedColor": "#4a3aa7", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 8, "w": 8, "x": 0, "y": 120 }, "id": 56, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "max(jetstream_orchestrator_phase{job=\"stream\",instance=\"stream:6060\"})", "instant": false, "legendFormat": "phase", "range": true, "refId": "A" } ], "title": "Phase timeline", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "live_segments/ events surviving the rev filter into the steady-state segments vs already covered by backfill.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "cps" }, "overrides": [ { "matcher": { "id": "byName", "options": "kept/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#008300", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "dropped (rev covered)/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#898781", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 8, "w": 8, "x": 8, "y": 120 }, "id": 57, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_orchestrator_merge_events_kept_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "kept/s", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_orchestrator_merge_events_dropped_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "dropped (rev covered)/s", "range": true, "refId": "B" } ], "title": "Merge rev filter", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Run-once merge counters, shown as raw totals.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 8, "w": 8, "x": 16, "y": 120 }, "id": 58, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(jetstream_orchestrator_merge_segments_consumed_total{job=\"stream\",instance=\"stream:6060\"})", "instant": false, "legendFormat": "segments consumed", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(jetstream_orchestrator_merge_did_lookups_total{job=\"stream\",instance=\"stream:6060\"})", "instant": false, "legendFormat": "DID lookups", "range": true, "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(jetstream_orchestrator_merge_repo_revs_updated_total{job=\"stream\",instance=\"stream:6060\"})", "instant": false, "legendFormat": "repo revs updated", "range": true, "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(jetstream_orchestrator_merge_dids_discovered_post_bootstrap_total{job=\"stream\",instance=\"stream:6060\"})", "instant": false, "legendFormat": "DIDs discovered post-bootstrap", "range": true, "refId": "D" } ], "title": "Merge progress", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Total wall-clock seconds spent in each cutover state across this process lifetime.", "fieldConfig": { "defaults": { "color": { "fixedColor": "#4a3aa7", "mode": "fixed" }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "#4a3aa7", "value": null } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 8, "w": 8, "x": 0, "y": 128 }, "id": 59, "options": { "displayMode": "basic", "legend": { "showLegend": false }, "maxVizHeight": 300, "minVizHeight": 16, "minVizWidth": 8, "namePlacement": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showUnfilled": true, "sizing": "auto", "valueMode": "color" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum by (state) (jetstream_orchestrator_state_duration_seconds_sum{job=\"stream\",instance=\"stream:6060\"})", "instant": false, "legendFormat": "{{state}}", "range": true, "refId": "A" } ], "title": "Cutover state durations", "type": "bargauge" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Phase transitions per interval; normally each fires exactly once per data-dir lifetime.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 8, "w": 16, "x": 8, "y": 128 }, "id": 60, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum by (from, to) (increase(jetstream_orchestrator_phase_transitions_total{job=\"stream\",instance=\"stream:6060\"}[$__interval]))", "instant": false, "legendFormat": "{{from}} \u2192 {{to}}", "range": true, "refId": "A" } ], "title": "Phase transitions", "type": "timeseries" } ], "title": "Cutover & merge", "type": "row" }, { "collapsed": true, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 136 }, "id": 68, "panels": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Current timestamp-import phase.", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "0": { "color": "text", "index": 0, "text": "idle" }, "1": { "color": "#2a78d6", "index": 1, "text": "parse + bucket" }, "2": { "color": "#eb6834", "index": 2, "text": "apply" } }, "type": "value" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "text", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 8, "w": 4, "x": 0, "y": 137 }, "id": 62, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "max(jetstream_import_phase{job=\"stream\",instance=\"stream:6060\"})", "instant": false, "legendFormat": "", "range": true, "refId": "A" } ], "title": "Import phase", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Timestamp-import pipeline throughput across phases.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "cps" }, "overrides": [] }, "gridPos": { "h": 8, "w": 10, "x": 4, "y": 137 }, "id": 63, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_import_rows_parsed_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "parsed/s", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum by (scope) (rate(jetstream_import_rows_matched_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "matched {{scope}}/s", "range": true, "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_import_rows_mutated_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "mutated/s", "range": true, "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_import_dids_matched_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "DIDs matched/s", "range": true, "refId": "D" } ], "title": "Import rows", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "CSV rows rejected during parse, by reason.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "cps" }, "overrides": [] }, "gridPos": { "h": 8, "w": 10, "x": 14, "y": 137 }, "id": 64, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum by (reason) (rate(jetstream_import_rows_rejected_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "{{reason}}/s", "range": true, "refId": "A" } ], "title": "Import rows rejected", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Phase C segment rewrites per interval.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 8, "w": 10, "x": 0, "y": 145 }, "id": 65, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(increase(jetstream_import_segments_examined_total{job=\"stream\",instance=\"stream:6060\"}[$__interval]))", "instant": false, "legendFormat": "segments examined", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(increase(jetstream_import_segments_patched_total{job=\"stream\",instance=\"stream:6060\"}[$__interval]))", "instant": false, "legendFormat": "segments patched", "range": true, "refId": "B" } ], "title": "Import rewrite activity", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "On-disk segment bytes rewritten by import.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "binBps" }, "overrides": [] }, "gridPos": { "h": 8, "w": 10, "x": 10, "y": 145 }, "id": 66, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(jetstream_import_bytes_rewritten_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "bytes/s", "range": true, "refId": "A" } ], "title": "Import rewrite I/O", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Terminal import jobs per interval by result.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "short" }, "overrides": [ { "matcher": { "id": "byName", "options": "ok" }, "properties": [ { "id": "color", "value": { "fixedColor": "#008300", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "error" }, "properties": [ { "id": "color", "value": { "fixedColor": "#e34948", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 8, "w": 4, "x": 20, "y": 145 }, "id": 67, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum by (result) (increase(jetstream_import_jobs_total{job=\"stream\",instance=\"stream:6060\"}[$__interval]))", "instant": false, "legendFormat": "{{result}}", "range": true, "refId": "A" } ], "title": "Import jobs", "type": "timeseries" } ], "title": "Timestamp import", "type": "row" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 153 }, "id": 75, "panels": [], "title": "Process runtime", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Process CPU usage in cores vs the scheduler limit.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "short" }, "overrides": [ { "matcher": { "id": "byName", "options": "cores used" }, "properties": [ { "id": "color", "value": { "fixedColor": "#2a78d6", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "GOMAXPROCS" }, "properties": [ { "id": "color", "value": { "fixedColor": "#898781", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 8, "w": 8, "x": 0, "y": 154 }, "id": 69, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "max(rate(process_cpu_seconds_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "cores used", "range": true, "refId": "A" } ], "title": "CPU", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Resident set vs Go heap. GOMEMLIMIT is hidden when unset.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "bytes" }, "overrides": [ { "matcher": { "id": "byName", "options": "RSS" }, "properties": [ { "id": "color", "value": { "fixedColor": "#2a78d6", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "heap in use" }, "properties": [ { "id": "color", "value": { "fixedColor": "#1baf7a", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "GC goal" }, "properties": [ { "id": "color", "value": { "fixedColor": "#898781", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 8, "w": 8, "x": 8, "y": 154 }, "id": 70, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "max(process_resident_memory_bytes{job=\"stream\",instance=\"stream:6060\"})", "instant": false, "legendFormat": "RSS", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "max(process_virtual_memory_bytes{job=\"stream\",instance=\"stream:6060\"})", "instant": false, "legendFormat": "virtual", "range": true, "refId": "B" } ], "title": "Memory", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "A monotonic goroutine climb is a leak.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "short" }, "overrides": [ { "matcher": { "id": "byName", "options": "goroutines" }, "properties": [ { "id": "color", "value": { "fixedColor": "#2a78d6", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "OS threads" }, "properties": [ { "id": "color", "value": { "fixedColor": "#898781", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 8, "w": 8, "x": 16, "y": 154 }, "id": 71, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "max(stream_process_threads{job=\"stream\",instance=\"stream:6060\"})", "instant": false, "legendFormat": "OS threads", "range": true, "refId": "A" } ], "title": "Threads", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "short" }, "overrides": [ { "matcher": { "id": "byName", "options": "open" }, "properties": [ { "id": "color", "value": { "fixedColor": "#2a78d6", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "max" }, "properties": [ { "id": "color", "value": { "fixedColor": "#898781", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 8, "w": 8, "x": 0, "y": 162 }, "id": 72, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "max(process_open_fds{job=\"stream\",instance=\"stream:6060\"})", "instant": false, "legendFormat": "open", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "max(process_max_fds{job=\"stream\",instance=\"stream:6060\"})", "instant": false, "legendFormat": "max", "range": true, "refId": "B" } ], "title": "File descriptors", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Stop-the-world pause durations from the Go GC summary.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "ops" }, "overrides": [] }, "gridPos": { "h": 8, "w": 8, "x": 8, "y": 162 }, "id": 73, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(process_minor_page_faults_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "minor/s", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(process_major_page_faults_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "major/s", "range": true, "refId": "B" } ], "title": "Page faults", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Process-level network throughput (procfs; Linux only).", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "ops" }, "overrides": [ { "matcher": { "id": "byName", "options": "receive/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#2a78d6", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "transmit/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#1baf7a", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 8, "w": 8, "x": 16, "y": 162 }, "id": 74, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(process_voluntary_context_switches_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "voluntary/s", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(rate(process_involuntary_context_switches_total{job=\"stream\",instance=\"stream:6060\"}[$__rate_interval]))", "instant": false, "legendFormat": "involuntary/s", "range": true, "refId": "B" } ], "title": "Context switches", "type": "timeseries" }, { "collapsed": false, "description": "The final network denominator is unknown until listRepos discovery finishes.", "gridPos": { "h": 1, "w": 24, "x": 0, "y": 170 }, "id": 80, "panels": [], "title": "Backfill progress over time", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Absolute repository counts across the current backfill run. listRepos is fetched in pages of 1,000; Stream follows upstream Jetstream V2 by accumulating about 100,000 entries before shuffling and dispatching a batch. Durably committed advances only after that batch checkpoint. These lines are not a percentage of the full network.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "short" }, "overrides": [ { "matcher": { "id": "byName", "options": "events received/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#2a78d6", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "decode errors/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#e34948", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "unknown events/s" }, "properties": [ { "id": "color", "value": { "fixedColor": "#eb6834", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 8, "w": 24, "x": 0, "y": 171 }, "id": 81, "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(jetstream_backfill_discovered_total{job=\"stream\",instance=\"stream:6060\"})", "instant": false, "legendFormat": "discovered", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(jetstream_backfill_completion_queued_total{job=\"stream\",instance=\"stream:6060\"})", "instant": false, "legendFormat": "processed", "range": true, "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(stream_backfill_repos_durable{status=\"complete\",job=\"stream\",instance=\"stream:6060\"})", "instant": false, "legendFormat": "durably committed", "range": true, "refId": "C" } ], "title": "Backfill repositories over time", "type": "timeseries" }, { "collapsed": false, "description": "Live during bootstrap and steady state; gaps and terminal failures are never inferred from archive throughput.", "gridPos": { "h": 1, "w": 24, "x": 0, "y": 175 }, "id": 76, "panels": [], "title": "Stream pipeline diagnostics", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Cumulative scheduler boundaries. Emitted is the historical name for every settled ticket, including explicit drops and verifier rejections.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 8, "w": 8, "x": 0, "y": 176 }, "id": 77, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "max(stream_pipeline_ticket{job=\"stream\",instance=\"stream:6060\"}) by (stage)", "instant": false, "legendFormat": "{{stage}}", "range": true, "refId": "A" } ], "title": "Pipeline tickets", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Current unsettled work split between the unclaimed verifier queue and claimed work awaiting settlement. Their sum is submitted-to-emitted.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 8, "w": 8, "x": 8, "y": 176 }, "id": 78, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "max(stream_pipeline_stage_gap{job=\"stream\",instance=\"stream:6060\"}) by (boundary)", "instant": false, "legendFormat": "{{boundary}}", "range": true, "refId": "A" } ], "title": "Pipeline stage gaps", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Any non-zero value is deployment-significant. The gauge marks the current pipeline fatal; the counters retain its first failing stage.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "line" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 1 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 8, "w": 8, "x": 16, "y": 176 }, "id": 79, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "max(stream_pipeline_fatal{job=\"stream\",instance=\"stream:6060\"})", "instant": false, "legendFormat": "fatal", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(stream_pipeline_failures_total{job=\"stream\",instance=\"stream:6060\"}) by (stage)", "instant": false, "legendFormat": "{{stage}} failures", "range": true, "refId": "B" } ], "title": "Pipeline terminal failures", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "RSS decomposed into instrumented owners: resident sealed-segment manifest (footers: block index, blooms, collection index), hot tail deque, compaction tombstone set. 'other' is RSS minus the instrumented sum (rocksdb, arenas, stacks).", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 35, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "normal" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 8, "w": 8, "x": 0, "y": 170 }, "id": 82, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "max(stream_manifest_resident_bytes{job=\"stream\"})", "legendFormat": "manifest (resident footers)", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "max(stream_tail_bytes{job=\"stream\"})", "legendFormat": "hot tail", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "max(jetstream_compaction_tombstone_set_bytes{job=\"stream\"})", "legendFormat": "tombstone set", "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "clamp_min(max(process_resident_memory_bytes{job=\"stream\"}) - max(stream_manifest_resident_bytes{job=\"stream\"}) - max(stream_tail_bytes{job=\"stream\"}) - max(jetstream_compaction_tombstone_set_bytes{job=\"stream\"}), 0)", "legendFormat": "other (uninstrumented)", "refId": "D" } ], "title": "Memory contributors", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "description": "Age of the last completed compaction pass (boot time until one completes). Red past 8h = 2x the pass interval: compaction is not running \u2014 tombstones accumulate and deleted rows persist in sealed segments.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 6, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "line" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "yellow", "value": 18000 }, { "color": "red", "value": 28800 } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 8, "w": 8, "x": 8, "y": 170 }, "id": 83, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "time() - stream_compaction_last_pass_timestamp_seconds{job=\"stream\"}", "legendFormat": "last pass age", "refId": "A" } ], "title": "Compaction liveness", "type": "timeseries" } ], "refresh": "30s", "schemaVersion": 39, "tags": [ "stream", "jetstream", "atproto" ], "templating": { "list": [] }, "time": { "from": "now-3h", "to": "now" }, "timepicker": {}, "timezone": "browser", "title": "Stream / Jetstream V2 (public)", "uid": "stream-public-full", "version": 1, "weekStart": "" }