Skip to main content
Glama
building-schema-metrics.json18.8 kB
{ "id": null, "uid": "building-schema-metrics", "title": "Building Schema Metrics", "tags": [ "cached-module", "luminork", "materialized-view", "schema" ], "timezone": "browser", "schemaVersion": 16, "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(luminork_building_default_variant_workspace_graph_total, exported_job)", "refresh": 2, "sort": 1, "multi": true, "includeAll": true, "allValue": ".*" } ] }, "panels": [ { "id": 1, "gridPos": { "x": 0, "y": 0, "w": 24, "h": 1 }, "type": "row", "title": "Individual View", "collapsed": false }, { "id": 2, "gridPos": { "x": 0, "y": 1, "w": 12, "h": 8 }, "type": "timeseries", "title": "Default Variant Workspace Graph Rate", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "rate(luminork_building_default_variant_workspace_graph_total{exported_job=~\"$service\"}[1m])", "legendFormat": "{{exported_job}} - workspace graph", "refId": "A" } ], "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": "right", "calcs": [ "lastNotNull", "max", "mean" ] } }, "description": "Rate of default variant data generation from workspace graph" }, { "id": 3, "gridPos": { "x": 12, "y": 1, "w": 12, "h": 8 }, "type": "timeseries", "title": "Default Variant Cached Modules Rate", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "rate(luminork_building_default_variant_cached_modules_total{exported_job=~\"$service\"}[1m])", "legendFormat": "{{exported_job}} - cached modules", "refId": "A" } ], "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": "right", "calcs": [ "lastNotNull", "max", "mean" ] } }, "description": "Rate of default variant data generation from cached modules" }, { "id": 5, "gridPos": { "x": 0, "y": 9, "w": 12, "h": 8 }, "type": "timeseries", "title": "Schema Cached Modules Rate", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "rate(luminork_building_schema_cached_modules_total{exported_job=~\"$service\"}[1m])", "legendFormat": "{{exported_job}} - cached modules", "refId": "A" } ], "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": "right", "calcs": [ "lastNotNull", "max", "mean" ] } }, "description": "Rate of schema data generation from cached modules" }, { "id": 6, "gridPos": { "x": 12, "y": 9, "w": 12, "h": 8 }, "type": "timeseries", "title": "Schema Variant Workspace Graph Rate", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "rate(luminork_building_schema_variant_workspace_graph_total{exported_job=~\"$service\"}[1m])", "legendFormat": "{{exported_job}} - workspace graph", "refId": "A" } ], "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": "right", "calcs": [ "lastNotNull", "max", "mean" ] } }, "description": "Rate of schema variant data generation from workspace graph" }, { "id": 7, "gridPos": { "x": 0, "y": 17, "w": 12, "h": 8 }, "type": "timeseries", "title": "Schema Variant Cached Modules Rate", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "rate(luminork_building_schema_variant_cached_modules_total{exported_job=~\"$service\"}[1m])", "legendFormat": "{{exported_job}} - cached modules", "refId": "A" } ], "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": "right", "calcs": [ "lastNotNull", "max", "mean" ] } }, "description": "Rate of schema variant data generation from cached modules" }, { "id": 8, "gridPos": { "x": 0, "y": 25, "w": 24, "h": 1 }, "type": "row", "title": "Combined View", "collapsed": false }, { "id": 9, "gridPos": { "x": 0, "y": 26, "w": 12, "h": 8 }, "type": "timeseries", "title": "All", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "rate(luminork_building_default_variant_workspace_graph_total{exported_job=~\"$service\"}[1m])", "legendFormat": "{{exported_job}} - default variant workspace graph", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "rate(luminork_building_default_variant_cached_modules_total{exported_job=~\"$service\"}[1m])", "legendFormat": "{{exported_job}} - default variant cached modules", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "rate(luminork_building_schema_cached_modules_total{exported_job=~\"$service\"}[1m])", "legendFormat": "{{exported_job}} - schema cached modules", "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "rate(luminork_building_schema_variant_workspace_graph_total{exported_job=~\"$service\"}[1m])", "legendFormat": "{{exported_job}} - schema variant workspace graph", "refId": "D" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "rate(luminork_building_schema_variant_cached_modules_total{exported_job=~\"$service\"}[1m])", "legendFormat": "{{exported_job}} - schema variant cached modules", "refId": "E" } ], "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": "right", "calcs": [ "lastNotNull", "max", "mean" ] } }, "description": "Combined view of all building schema metrics" }, { "id": 10, "gridPos": { "x": 12, "y": 26, "w": 12, "h": 8 }, "type": "stat", "title": "Total (Last 5m)", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "sum(increase(luminork_building_default_variant_workspace_graph_total{exported_job=~\"$service\"}[5m])) or vector(0)", "legendFormat": "Default Variant Workspace Graph", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "sum(increase(luminork_building_default_variant_cached_modules_total{exported_job=~\"$service\"}[5m])) or vector(0)", "legendFormat": "Default Variant Cached Modules", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "sum(increase(luminork_building_schema_cached_modules_total{exported_job=~\"$service\"}[5m])) or vector(0)", "legendFormat": "Schema Cached Modules", "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "sum(increase(luminork_building_schema_variant_workspace_graph_total{exported_job=~\"$service\"}[5m])) or vector(0)", "legendFormat": "Schema Variant Workspace Graph", "refId": "D" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "sum(increase(luminork_building_schema_variant_cached_modules_total{exported_job=~\"$service\"}[5m])) or vector(0)", "legendFormat": "Schema Variant Cached Modules", "refId": "E" } ], "fieldConfig": { "defaults": { "unit": "short", "color": { "mode": "thresholds" }, "thresholds": { "mode": "absolute", "steps": [ { "value": null, "color": "green" }, { "value": 1, "color": "yellow" }, { "value": 100, "color": "orange" }, { "value": 1000, "color": "red" } ] } } }, "options": { "textMode": "value_and_name", "colorMode": "background", "graphMode": "area", "orientation": "auto", "reduceOptions": { "values": false, "calcs": [ "lastNotNull" ] } } }, { "id": 11, "gridPos": { "x": 0, "y": 34, "w": 24, "h": 8 }, "type": "timeseries", "title": "Stacked Over Time", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "rate(luminork_building_default_variant_workspace_graph_total{exported_job=~\"$service\"}[1m])", "legendFormat": "{{exported_job}} - default variant workspace graph", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "rate(luminork_building_default_variant_cached_modules_total{exported_job=~\"$service\"}[1m])", "legendFormat": "{{exported_job}} - default variant cached modules", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "rate(luminork_building_schema_cached_modules_total{exported_job=~\"$service\"}[1m])", "legendFormat": "{{exported_job}} - schema cached modules", "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "rate(luminork_building_schema_variant_workspace_graph_total{exported_job=~\"$service\"}[1m])", "legendFormat": "{{exported_job}} - schema variant workspace graph", "refId": "D" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "rate(luminork_building_schema_variant_cached_modules_total{exported_job=~\"$service\"}[1m])", "legendFormat": "{{exported_job}} - schema variant cached modules", "refId": "E" } ], "fieldConfig": { "defaults": { "unit": "ops", "color": { "mode": "palette-classic" }, "custom": { "lineWidth": 2, "fillOpacity": 30, "showPoints": "never", "stacking": { "mode": "normal" } } }, "overrides": [ { "matcher": { "id": "byRegexp", "options": "/.*default variant workspace graph.*/" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "blue" } } ] }, { "matcher": { "id": "byRegexp", "options": "/.*default variant cached modules.*/" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "light-blue" } } ] }, { "matcher": { "id": "byRegexp", "options": "/.*schema cached modules.*/" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "green" } } ] }, { "matcher": { "id": "byRegexp", "options": "/.*schema variant workspace graph.*/" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "yellow" } } ] }, { "matcher": { "id": "byRegexp", "options": "/.*schema variant cached modules.*/" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "orange" } } ] } ] }, "options": { "tooltip": { "mode": "multi", "sort": "desc" }, "legend": { "displayMode": "table", "placement": "bottom", "calcs": [ "lastNotNull", "max", "mean" ] } }, "description": "Stacked view showing the distribution of different building types" } ], "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