~ knotless Search/
↑↓ move↵ open⇧↵ all results

zat.dev/stream

jetstream v2 in zig · mirror of https://tangled.org/zat.dev/stream

0
0
213 lines · 3.6 KB Raw History
{
 "uid": "stream-consumers",
 "title": "stream / archive consumers (operator)",
 "tags": [
  "stream",
  "operator"
 ],
 "timezone": "utc",
 "refresh": "30s",
 "time": {
  "from": "now-24h",
  "to": "now"
 },
 "panels": [
  {
   "id": 1,
   "type": "timeseries",
   "title": "throughput per key",
   "description": "compressed archive bytes served per key",
   "datasource": {
    "type": "prometheus",
    "uid": "prometheus"
   },
   "gridPos": {
    "h": 8,
    "w": 8,
    "x": 0,
    "y": 0
   },
   "fieldConfig": {
    "defaults": {
     "custom": {
      "lineWidth": 2,
      "fillOpacity": 12
     },
     "unit": "Bps"
    },
    "overrides": []
   },
   "targets": [
    {
     "expr": "rate(stream_archive_key_served_bytes_total[5m])",
     "legendFormat": "{{key}}",
     "refId": "A"
    }
   ]
  },
  {
   "id": 2,
   "type": "timeseries",
   "title": "cumulative served per key",
   "description": "",
   "datasource": {
    "type": "prometheus",
    "uid": "prometheus"
   },
   "gridPos": {
    "h": 8,
    "w": 8,
    "x": 8,
    "y": 0
   },
   "fieldConfig": {
    "defaults": {
     "custom": {
      "lineWidth": 2,
      "fillOpacity": 12
     },
     "unit": "bytes"
    },
    "overrides": []
   },
   "targets": [
    {
     "expr": "stream_archive_key_served_bytes_total",
     "legendFormat": "{{key}}",
     "refId": "A"
    }
   ]
  },
  {
   "id": 3,
   "type": "timeseries",
   "title": "throttles (429s) per key",
   "description": "requests refused while the key's bucket was in deficit",
   "datasource": {
    "type": "prometheus",
    "uid": "prometheus"
   },
   "gridPos": {
    "h": 8,
    "w": 8,
    "x": 16,
    "y": 0
   },
   "fieldConfig": {
    "defaults": {
     "custom": {
      "lineWidth": 2,
      "fillOpacity": 12
     }
    },
    "overrides": []
   },
   "targets": [
    {
     "expr": "increase(stream_archive_key_throttled_total[10m])",
     "legendFormat": "{{key}}",
     "refId": "A"
    }
   ]
  },
  {
   "id": 4,
   "type": "timeseries",
   "title": "bucket headroom per key",
   "description": "negative = in deficit (serving 429s)",
   "datasource": {
    "type": "prometheus",
    "uid": "prometheus"
   },
   "gridPos": {
    "h": 8,
    "w": 8,
    "x": 0,
    "y": 8
   },
   "fieldConfig": {
    "defaults": {
     "custom": {
      "lineWidth": 2,
      "fillOpacity": 12
     },
     "unit": "bytes"
    },
    "overrides": []
   },
   "targets": [
    {
     "expr": "stream_archive_key_bucket_bytes",
     "legendFormat": "{{key}}",
     "refId": "A"
    }
   ]
  },
  {
   "id": 5,
   "type": "timeseries",
   "title": "configured rate per key",
   "description": "",
   "datasource": {
    "type": "prometheus",
    "uid": "prometheus"
   },
   "gridPos": {
    "h": 8,
    "w": 8,
    "x": 8,
    "y": 8
   },
   "fieldConfig": {
    "defaults": {
     "custom": {
      "lineWidth": 2,
      "fillOpacity": 12
     },
     "unit": "Bps"
    },
    "overrides": []
   },
   "targets": [
    {
     "expr": "stream_archive_key_rate_bps",
     "legendFormat": "{{key}}",
     "refId": "A"
    }
   ]
  },
  {
   "id": 6,
   "type": "timeseries",
   "title": "getBlock requests (all keys + fleet)",
   "description": "",
   "datasource": {
    "type": "prometheus",
    "uid": "prometheus"
   },
   "gridPos": {
    "h": 8,
    "w": 8,
    "x": 16,
    "y": 8
   },
   "fieldConfig": {
    "defaults": {
     "custom": {
      "lineWidth": 2,
      "fillOpacity": 12
     }
    },
    "overrides": []
   },
   "targets": [
    {
     "expr": "rate(jetstream_getblock_requests_total[5m])",
     "legendFormat": "{{result}}",
     "refId": "A"
    }
   ]
  }
 ],
 "schemaVersion": 39
}