Skip to main content
Glama
compressing-stream-metrics.json38.6 kB
{ "id": null, "uid": "compressing-stream-metrics", "title": "Compressing Stream Metrics", "tags": [ "edda", "nats", "compression", "streaming", "performance" ], "timezone": "browser", "schemaVersion": 39, "version": 0, "refresh": "5s", "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "grafana", "uid": "-- Grafana --" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "templating": { "list": [ { "name": "datasource", "type": "datasource", "label": "Data Source", "query": "prometheus", "refresh": 1, "hide": 0 }, { "name": "service", "type": "query", "label": "Service", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "query": "label_values(compressing_stream_items_yielded_total, exported_job)", "refresh": 2, "sort": 1, "multi": true, "includeAll": true, "allValue": ".*" } ] }, "panels": [ { "id": 100, "type": "row", "title": "Overview & System Health", "gridPos": { "x": 0, "y": 0, "w": 24, "h": 1 }, "collapsed": false }, { "id": 101, "type": "stat", "title": "Throughput - Items Yielded", "gridPos": { "x": 0, "y": 1, "w": 6, "h": 4 }, "datasource": { "type": "prometheus", "uid": "${datasource}" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "sum(rate(compressing_stream_items_yielded_total{exported_job=~\"${service}\"}[5m]))", "refId": "A", "description": "Rate of compressed batches yielded per second (5m average)" } ], "fieldConfig": { "defaults": { "unit": "ops", "color": { "mode": "thresholds" }, "thresholds": { "mode": "absolute", "steps": [ { "value": 0, "color": "red" }, { "value": 0.1, "color": "yellow" }, { "value": 1, "color": "green" } ] } } }, "options": { "textMode": "value_and_name", "colorMode": "background", "graphMode": "area", "orientation": "auto" } }, { "id": 102, "type": "stat", "title": "Messages Read/sec", "gridPos": { "x": 6, "y": 1, "w": 6, "h": 4 }, "datasource": { "type": "prometheus", "uid": "${datasource}" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "sum(rate(compressing_stream_messages_read_total{exported_job=~\"${service}\"}[5m]))", "refId": "A", "description": "Rate of messages read from NATS subscription per second (5m average)" } ], "fieldConfig": { "defaults": { "unit": "ops", "color": { "mode": "thresholds" }, "thresholds": { "mode": "absolute", "steps": [ { "value": 0, "color": "red" }, { "value": 1, "color": "yellow" }, { "value": 10, "color": "green" } ] } } }, "options": { "textMode": "value_and_name", "colorMode": "background", "graphMode": "area", "orientation": "auto" } }, { "id": 103, "type": "stat", "title": "Compression Success Rate", "gridPos": { "x": 12, "y": 1, "w": 6, "h": 4 }, "datasource": { "type": "prometheus", "uid": "${datasource}" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "sum(rate(compressing_stream_compress_operations_total{exported_job=~\"${service}\", result=\"success\"}[5m])) / sum(rate(compressing_stream_compress_operations_total{exported_job=~\"${service}\"}[5m]))", "refId": "A", "description": "Percentage of successful compression operations (5m average)" } ], "fieldConfig": { "defaults": { "unit": "percentunit", "color": { "mode": "thresholds" }, "thresholds": { "mode": "absolute", "steps": [ { "value": 0, "color": "red" }, { "value": 0.95, "color": "yellow" }, { "value": 0.99, "color": "green" } ] } } }, "options": { "textMode": "value_and_name", "colorMode": "background", "graphMode": "none", "orientation": "auto" } }, { "id": 104, "type": "stat", "title": "Avg Batch Size (p50)", "gridPos": { "x": 18, "y": 1, "w": 6, "h": 4 }, "datasource": { "type": "prometheus", "uid": "${datasource}" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "histogram_quantile(0.50, sum(rate(compressing_stream_read_window_size_bucket{exported_job=~\"${service}\"}[$__interval])) by (le))", "refId": "A", "description": "Median batch size (number of messages per compression operation)" } ], "fieldConfig": { "defaults": { "unit": "short", "decimals": 1, "color": { "mode": "thresholds" }, "thresholds": { "mode": "absolute", "steps": [ { "value": 0, "color": "red" }, { "value": 2, "color": "yellow" }, { "value": 5, "color": "green" } ] } } }, "options": { "textMode": "value_and_name", "colorMode": "background", "graphMode": "none", "orientation": "auto" } }, { "id": 200, "type": "row", "title": "End-to-End Latency Analysis", "gridPos": { "x": 0, "y": 5, "w": 24, "h": 1 }, "collapsed": false }, { "id": 201, "type": "timeseries", "title": "Total Span Duration (compressing_stream.next)", "interval": "1m", "gridPos": { "x": 0, "y": 6, "w": 24, "h": 8 }, "datasource": { "type": "prometheus", "uid": "${datasource}" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "histogram_quantile(0.50, sum(rate(compressing_stream_total_span_duration_ms_bucket{exported_job=~\"${service}\"}[$__interval])) by (le))", "legendFormat": "p50", "refId": "A", "description": "50th percentile (median) - total time from span creation to yielding an item" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "histogram_quantile(0.95, sum(rate(compressing_stream_total_span_duration_ms_bucket{exported_job=~\"${service}\"}[$__interval])) by (le))", "legendFormat": "p95", "refId": "B", "description": "95th percentile - 95% of spans complete faster than this" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "histogram_quantile(0.99, sum(rate(compressing_stream_total_span_duration_ms_bucket{exported_job=~\"${service}\"}[$__interval])) by (le))", "legendFormat": "p99", "refId": "C", "description": "99th percentile - 99% of spans complete faster than this" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "histogram_quantile(1.0, sum(rate(compressing_stream_total_span_duration_ms_bucket{exported_job=~\"${service}\"}[$__interval])) by (le))", "legendFormat": "max", "refId": "D", "description": "Maximum span duration observed in the time window" } ], "fieldConfig": { "defaults": { "unit": "ms", "color": { "mode": "palette-classic" }, "custom": { "lineWidth": 2, "fillOpacity": 10, "showPoints": "never" } }, "overrides": [ { "matcher": { "id": "byName", "options": "p50" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "green" } } ] }, { "matcher": { "id": "byName", "options": "p95" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "yellow" } } ] }, { "matcher": { "id": "byName", "options": "p99" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "orange" } } ] }, { "matcher": { "id": "byName", "options": "max" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "red" } } ] } ] }, "options": { "tooltip": { "mode": "multi", "sort": "desc" }, "legend": { "displayMode": "table", "placement": "bottom", "calcs": [ "lastNotNull", "max", "mean" ] } } }, { "id": 300, "type": "row", "title": "I/O & Component Breakdown", "gridPos": { "x": 0, "y": 14, "w": 24, "h": 1 }, "collapsed": false }, { "id": 301, "type": "timeseries", "title": "NATS Subscription Poll Latency (First Message)", "interval": "1m", "gridPos": { "x": 0, "y": 15, "w": 12, "h": 8 }, "datasource": { "type": "prometheus", "uid": "${datasource}" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "histogram_quantile(0.50, sum(rate(compressing_stream_subscription_poll_latency_ms_bucket{exported_job=~\"${service}\", message_position=\"first\"}[$__interval])) by (le))", "legendFormat": "p50", "refId": "A", "description": "Time waiting for first message from NATS subscription" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "histogram_quantile(0.95, sum(rate(compressing_stream_subscription_poll_latency_ms_bucket{exported_job=~\"${service}\", message_position=\"first\"}[$__interval])) by (le))", "legendFormat": "p95", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "histogram_quantile(0.99, sum(rate(compressing_stream_subscription_poll_latency_ms_bucket{exported_job=~\"${service}\", message_position=\"first\"}[$__interval])) by (le))", "legendFormat": "p99", "refId": "C" } ], "fieldConfig": { "defaults": { "unit": "ms", "color": { "mode": "palette-classic" }, "custom": { "lineWidth": 2, "fillOpacity": 10, "showPoints": "never" } }, "overrides": [ { "matcher": { "id": "byName", "options": "p50" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "green" } } ] }, { "matcher": { "id": "byName", "options": "p95" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "yellow" } } ] }, { "matcher": { "id": "byName", "options": "p99" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "orange" } } ] } ] }, "options": { "tooltip": { "mode": "multi", "sort": "desc" }, "legend": { "displayMode": "table", "placement": "bottom", "calcs": [ "lastNotNull", "max", "mean" ] } } }, { "id": 302, "type": "timeseries", "title": "NATS Subscription Poll Latency (Subsequent Messages)", "interval": "1m", "gridPos": { "x": 12, "y": 15, "w": 12, "h": 8 }, "datasource": { "type": "prometheus", "uid": "${datasource}" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "histogram_quantile(0.50, sum(rate(compressing_stream_subscription_poll_latency_ms_bucket{exported_job=~\"${service}\", message_position=\"subsequent\"}[$__interval])) by (le))", "legendFormat": "p50", "refId": "A", "description": "Time waiting for subsequent messages in read window" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "histogram_quantile(0.95, sum(rate(compressing_stream_subscription_poll_latency_ms_bucket{exported_job=~\"${service}\", message_position=\"subsequent\"}[$__interval])) by (le))", "legendFormat": "p95", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "histogram_quantile(0.99, sum(rate(compressing_stream_subscription_poll_latency_ms_bucket{exported_job=~\"${service}\", message_position=\"subsequent\"}[$__interval])) by (le))", "legendFormat": "p99", "refId": "C" } ], "fieldConfig": { "defaults": { "unit": "ms", "color": { "mode": "palette-classic" }, "custom": { "lineWidth": 2, "fillOpacity": 10, "showPoints": "never" } }, "overrides": [ { "matcher": { "id": "byName", "options": "p50" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "green" } } ] }, { "matcher": { "id": "byName", "options": "p95" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "yellow" } } ] }, { "matcher": { "id": "byName", "options": "p99" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "orange" } } ] } ] }, "options": { "tooltip": { "mode": "multi", "sort": "desc" }, "legend": { "displayMode": "table", "placement": "bottom", "calcs": [ "lastNotNull", "max", "mean" ] } } }, { "id": 303, "type": "timeseries", "title": "Read Window Calculation Latency", "interval": "1m", "gridPos": { "x": 0, "y": 23, "w": 12, "h": 8 }, "datasource": { "type": "prometheus", "uid": "${datasource}" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "histogram_quantile(0.50, sum(rate(compressing_stream_read_window_calc_latency_ms_bucket{exported_job=~\"${service}\"}[$__interval])) by (le))", "legendFormat": "p50", "refId": "A", "description": "Time to query Jetstream for message count (info_with_subjects)" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "histogram_quantile(0.95, sum(rate(compressing_stream_read_window_calc_latency_ms_bucket{exported_job=~\"${service}\"}[$__interval])) by (le))", "legendFormat": "p95", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "histogram_quantile(0.99, sum(rate(compressing_stream_read_window_calc_latency_ms_bucket{exported_job=~\"${service}\"}[$__interval])) by (le))", "legendFormat": "p99", "refId": "C" } ], "fieldConfig": { "defaults": { "unit": "ms", "color": { "mode": "palette-classic" }, "custom": { "lineWidth": 2, "fillOpacity": 10, "showPoints": "never" } }, "overrides": [ { "matcher": { "id": "byName", "options": "p50" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "green" } } ] }, { "matcher": { "id": "byName", "options": "p95" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "yellow" } } ] }, { "matcher": { "id": "byName", "options": "p99" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "orange" } } ] } ] }, "options": { "tooltip": { "mode": "multi", "sort": "desc" }, "legend": { "displayMode": "table", "placement": "bottom", "calcs": [ "lastNotNull", "max", "mean" ] } } }, { "id": 304, "type": "timeseries", "title": "Compression Operation Latency", "interval": "1m", "gridPos": { "x": 12, "y": 23, "w": 12, "h": 8 }, "datasource": { "type": "prometheus", "uid": "${datasource}" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "histogram_quantile(0.50, sum(rate(compressing_stream_compress_latency_ms_bucket{exported_job=~\"${service}\"}[$__interval])) by (le))", "legendFormat": "p50", "refId": "A", "description": "Time to compress multiple requests into a single compressed request" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "histogram_quantile(0.95, sum(rate(compressing_stream_compress_latency_ms_bucket{exported_job=~\"${service}\"}[$__interval])) by (le))", "legendFormat": "p95", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "histogram_quantile(0.99, sum(rate(compressing_stream_compress_latency_ms_bucket{exported_job=~\"${service}\"}[$__interval])) by (le))", "legendFormat": "p99", "refId": "C" } ], "fieldConfig": { "defaults": { "unit": "ms", "color": { "mode": "palette-classic" }, "custom": { "lineWidth": 2, "fillOpacity": 10, "showPoints": "never" } }, "overrides": [ { "matcher": { "id": "byName", "options": "p50" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "green" } } ] }, { "matcher": { "id": "byName", "options": "p95" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "yellow" } } ] }, { "matcher": { "id": "byName", "options": "p99" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "orange" } } ] } ] }, "options": { "tooltip": { "mode": "multi", "sort": "desc" }, "legend": { "displayMode": "table", "placement": "bottom", "calcs": [ "lastNotNull", "max", "mean" ] } } }, { "id": 305, "type": "timeseries", "title": "Message Deletion Latency", "interval": "1m", "gridPos": { "x": 0, "y": 31, "w": 12, "h": 8 }, "datasource": { "type": "prometheus", "uid": "${datasource}" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "histogram_quantile(0.50, sum(rate(compressing_stream_message_delete_latency_ms_bucket{exported_job=~\"${service}\"}[$__interval])) by (le))", "legendFormat": "p50", "refId": "A", "description": "Time to delete individual messages from Jetstream" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "histogram_quantile(0.95, sum(rate(compressing_stream_message_delete_latency_ms_bucket{exported_job=~\"${service}\"}[$__interval])) by (le))", "legendFormat": "p95", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "histogram_quantile(0.99, sum(rate(compressing_stream_message_delete_latency_ms_bucket{exported_job=~\"${service}\"}[$__interval])) by (le))", "legendFormat": "p99", "refId": "C" } ], "fieldConfig": { "defaults": { "unit": "ms", "color": { "mode": "palette-classic" }, "custom": { "lineWidth": 2, "fillOpacity": 10, "showPoints": "never" } }, "overrides": [ { "matcher": { "id": "byName", "options": "p50" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "green" } } ] }, { "matcher": { "id": "byName", "options": "p95" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "yellow" } } ] }, { "matcher": { "id": "byName", "options": "p99" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "orange" } } ] } ] }, "options": { "tooltip": { "mode": "multi", "sort": "desc" }, "legend": { "displayMode": "table", "placement": "bottom", "calcs": [ "lastNotNull", "max", "mean" ] } } }, { "id": 306, "type": "timeseries", "title": "Read Window Size Distribution", "interval": "1m", "gridPos": { "x": 12, "y": 31, "w": 12, "h": 8 }, "datasource": { "type": "prometheus", "uid": "${datasource}" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "histogram_quantile(0.50, sum(rate(compressing_stream_read_window_size_bucket{exported_job=~\"${service}\"}[$__interval])) by (le))", "legendFormat": "p50", "refId": "A", "description": "Batch size - number of messages read per compression operation" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "histogram_quantile(0.95, sum(rate(compressing_stream_read_window_size_bucket{exported_job=~\"${service}\"}[$__interval])) by (le))", "legendFormat": "p95", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "histogram_quantile(0.99, sum(rate(compressing_stream_read_window_size_bucket{exported_job=~\"${service}\"}[$__interval])) by (le))", "legendFormat": "p99", "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "histogram_quantile(1.0, sum(rate(compressing_stream_read_window_size_bucket{exported_job=~\"${service}\"}[$__interval])) by (le))", "legendFormat": "max", "refId": "D" } ], "fieldConfig": { "defaults": { "unit": "short", "color": { "mode": "palette-classic" }, "custom": { "lineWidth": 2, "fillOpacity": 10, "showPoints": "never" } }, "overrides": [ { "matcher": { "id": "byName", "options": "p50" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "green" } } ] }, { "matcher": { "id": "byName", "options": "p95" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "yellow" } } ] }, { "matcher": { "id": "byName", "options": "p99" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "orange" } } ] }, { "matcher": { "id": "byName", "options": "max" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "red" } } ] } ] }, "options": { "tooltip": { "mode": "multi", "sort": "desc" }, "legend": { "displayMode": "table", "placement": "bottom", "calcs": [ "lastNotNull", "max", "mean" ] } } }, { "id": 400, "type": "row", "title": "Throughput & Event Rates", "gridPos": { "x": 0, "y": 39, "w": 24, "h": 1 }, "collapsed": false }, { "id": 401, "type": "timeseries", "title": "Message Read Rate by Position", "interval": "1m", "gridPos": { "x": 0, "y": 40, "w": 12, "h": 8 }, "datasource": { "type": "prometheus", "uid": "${datasource}" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "sum(rate(compressing_stream_messages_read_total{exported_job=~\"${service}\", message_position=\"first\"}[$__interval]))", "legendFormat": "First messages", "refId": "A", "description": "Rate of first messages read (new batches started)" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "sum(rate(compressing_stream_messages_read_total{exported_job=~\"${service}\", message_position=\"subsequent\"}[$__interval]))", "legendFormat": "Subsequent messages", "refId": "B", "description": "Rate of subsequent messages read (filling batches)" } ], "fieldConfig": { "defaults": { "unit": "ops", "color": { "mode": "palette-classic" }, "custom": { "lineWidth": 2, "fillOpacity": 10, "showPoints": "never" } } }, "options": { "tooltip": { "mode": "multi", "sort": "desc" }, "legend": { "displayMode": "table", "placement": "bottom", "calcs": [ "lastNotNull", "max", "mean" ] } } }, { "id": 402, "type": "timeseries", "title": "Compression Operations by Result", "interval": "1m", "gridPos": { "x": 12, "y": 40, "w": 12, "h": 8 }, "datasource": { "type": "prometheus", "uid": "${datasource}" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "sum(rate(compressing_stream_compress_operations_total{exported_job=~\"${service}\", result=\"success\"}[$__interval]))", "legendFormat": "Success", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "sum(rate(compressing_stream_compress_operations_total{exported_job=~\"${service}\", result=\"error\"}[$__interval]))", "legendFormat": "Error", "refId": "B" } ], "fieldConfig": { "defaults": { "unit": "ops", "color": { "mode": "palette-classic" }, "custom": { "lineWidth": 2, "fillOpacity": 10, "showPoints": "never" } }, "overrides": [ { "matcher": { "id": "byName", "options": "Success" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "green" } } ] }, { "matcher": { "id": "byName", "options": "Error" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "red" } } ] } ] }, "options": { "tooltip": { "mode": "multi", "sort": "desc" }, "legend": { "displayMode": "table", "placement": "bottom", "calcs": [ "lastNotNull", "max", "mean" ] } } }, { "id": 403, "type": "timeseries", "title": "Message Deletion Rate", "interval": "1m", "gridPos": { "x": 0, "y": 48, "w": 12, "h": 8 }, "datasource": { "type": "prometheus", "uid": "${datasource}" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "sum(rate(compressing_stream_messages_deleted_total{exported_job=~\"${service}\"}[$__interval]))", "legendFormat": "Messages deleted/sec", "refId": "A", "description": "Rate of messages successfully deleted from Jetstream" } ], "fieldConfig": { "defaults": { "unit": "ops", "color": { "mode": "palette-classic" }, "custom": { "lineWidth": 2, "fillOpacity": 10, "showPoints": "never" } } }, "options": { "tooltip": { "mode": "multi", "sort": "desc" }, "legend": { "displayMode": "table", "placement": "bottom", "calcs": [ "lastNotNull", "max", "mean" ] } } }, { "id": 404, "type": "timeseries", "title": "Items Yielded Rate", "interval": "1m", "gridPos": { "x": 12, "y": 48, "w": 12, "h": 8 }, "datasource": { "type": "prometheus", "uid": "${datasource}" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "sum(rate(compressing_stream_items_yielded_total{exported_job=~\"${service}\"}[$__interval]))", "legendFormat": "Batches yielded/sec", "refId": "A", "description": "Rate of compressed batches yielded from the stream" } ], "fieldConfig": { "defaults": { "unit": "ops", "color": { "mode": "palette-classic" }, "custom": { "lineWidth": 2, "fillOpacity": 10, "showPoints": "never" } } }, "options": { "tooltip": { "mode": "multi", "sort": "desc" }, "legend": { "displayMode": "table", "placement": "bottom", "calcs": [ "lastNotNull", "max", "mean" ] } } } ], "time": { "from": "now-15m", "to": "now" }, "timepicker": { "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ] } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/systeminit/si'

If you have feedback or need assistance with the MCP directory API, please join our Discord server