Skip to main content
Glama
materialized-view-metrics.json17 kB
{ "id": null, "uid": "materialized-view-metrics", "title": "Materialized View Metrics", "tags": [ "frigg", "materialized-view", "edda" ], "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(frigg_get_change_set_index_pointer_not_present_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": "Change Set Index", "collapsed": false }, { "id": 2, "gridPos": { "x": 0, "y": 1, "w": 12, "h": 8 }, "type": "timeseries", "title": "Pointer Not Present Rate", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "rate(frigg_get_change_set_index_pointer_not_present_total{exported_job=~\"$service\"}[1m])", "legendFormat": "{{exported_job}} - pointer not present", "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 attempts to get change set index when the pointer is not present" }, { "id": 3, "gridPos": { "x": 12, "y": 1, "w": 12, "h": 8 }, "type": "timeseries", "title": "Definition Checksum Mismatch Rate", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "rate(frigg_get_change_set_index_definition_checksum_mismatch_total{exported_job=~\"$service\"}[1m])", "legendFormat": "{{exported_job}} - checksum mismatch", "refId": "A" } ], "fieldConfig": { "defaults": { "unit": "ops", "color": { "mode": "palette-classic" }, "custom": { "lineWidth": 2, "fillOpacity": 10, "showPoints": "never" } }, "overrides": [ { "matcher": { "id": "byName", "options": "checksum mismatch" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "yellow" } } ] } ] }, "options": { "tooltip": { "mode": "multi", "sort": "desc" }, "legend": { "displayMode": "table", "placement": "right", "calcs": [ "lastNotNull", "max", "mean" ] } }, "description": "Rate of index pointer definition checksum mismatches" }, { "id": 4, "gridPos": { "x": 0, "y": 9, "w": 12, "h": 8 }, "type": "timeseries", "title": "Object Not Found Rate", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "rate(frigg_get_change_set_index_object_not_found_total{exported_job=~\"$service\"}[1m])", "legendFormat": "{{exported_job}} - object not found", "refId": "A" } ], "fieldConfig": { "defaults": { "unit": "ops", "color": { "mode": "palette-classic" }, "custom": { "lineWidth": 2, "fillOpacity": 10, "showPoints": "never" } }, "overrides": [ { "matcher": { "id": "byName", "options": "object not found" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "red" } } ] } ] }, "options": { "tooltip": { "mode": "multi", "sort": "desc" }, "legend": { "displayMode": "table", "placement": "right", "calcs": [ "lastNotNull", "max", "mean" ] } }, "description": "Rate of dangling pointers" }, { "id": 5, "gridPos": { "x": 12, "y": 9, "w": 12, "h": 8 }, "type": "timeseries", "title": "Old Version Rate", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "rate(frigg_get_change_set_index_pointer_old_version_total{exported_job=~\"$service\"}[1m])", "legendFormat": "{{exported_job}} - old version", "refId": "A" } ], "fieldConfig": { "defaults": { "unit": "ops", "color": { "mode": "palette-classic" }, "custom": { "lineWidth": 2, "fillOpacity": 10, "showPoints": "never" } }, "overrides": [ { "matcher": { "id": "byName", "options": "old version" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "orange" } } ] } ] }, "options": { "tooltip": { "mode": "multi", "sort": "desc" }, "legend": { "displayMode": "table", "placement": "right", "calcs": [ "lastNotNull", "max", "mean" ] } }, "description": "Rate of old pointer versions" }, { "id": 6, "gridPos": { "x": 0, "y": 17, "w": 24, "h": 1 }, "type": "row", "title": "Combined View", "collapsed": false }, { "id": 7, "gridPos": { "x": 0, "y": 18, "w": 12, "h": 8 }, "type": "timeseries", "title": "All", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "rate(frigg_get_change_set_index_pointer_not_present_total{exported_job=~\"$service\"}[1m])", "legendFormat": "{{exported_job}} - pointer not present", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "rate(frigg_get_change_set_index_definition_checksum_mismatch_total{exported_job=~\"$service\"}[1m])", "legendFormat": "{{exported_job}} - checksum mismatch", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "rate(frigg_get_change_set_index_object_not_found_total{exported_job=~\"$service\"}[1m])", "legendFormat": "{{exported_job}} - object not found", "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "rate(frigg_get_change_set_index_pointer_old_version_total{exported_job=~\"$service\"}[1m])", "legendFormat": "{{exported_job}} - old version", "refId": "D" } ], "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" }, { "id": 8, "gridPos": { "x": 12, "y": 18, "w": 12, "h": 8 }, "type": "stat", "title": "Total (Last 5m)", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "sum(increase(frigg_get_change_set_index_pointer_not_present_total{exported_job=~\"$service\"}[5m])) or vector(0)", "legendFormat": "Pointer Not Present", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "sum(increase(frigg_get_change_set_index_definition_checksum_mismatch_total{exported_job=~\"$service\"}[5m])) or vector(0)", "legendFormat": "Checksum Mismatch", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "sum(increase(frigg_get_change_set_index_object_not_found_total{exported_job=~\"$service\"}[5m])) or vector(0)", "legendFormat": "Object Not Found", "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "sum(increase(frigg_get_change_set_index_pointer_old_version_total{exported_job=~\"$service\"}[5m])) or vector(0)", "legendFormat": "Old Version", "refId": "D" } ], "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": 9, "gridPos": { "x": 0, "y": 26, "w": 24, "h": 8 }, "type": "timeseries", "title": "Stacked Over Time", "datasource": { "type": "prometheus", "uid": "${datasource}" }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "rate(frigg_get_change_set_index_pointer_not_present_total{exported_job=~\"$service\"}[1m])", "legendFormat": "{{exported_job}} - pointer not present", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "rate(frigg_get_change_set_index_definition_checksum_mismatch_total{exported_job=~\"$service\"}[1m])", "legendFormat": "{{exported_job}} - checksum mismatch", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "rate(frigg_get_change_set_index_object_not_found_total{exported_job=~\"$service\"}[1m])", "legendFormat": "{{exported_job}} - object not found", "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "rate(frigg_get_change_set_index_pointer_old_version_total{exported_job=~\"$service\"}[1m])", "legendFormat": "{{exported_job}} - old version", "refId": "D" } ], "fieldConfig": { "defaults": { "unit": "ops", "color": { "mode": "palette-classic" }, "custom": { "lineWidth": 2, "fillOpacity": 30, "showPoints": "never", "stacking": { "mode": "normal" } } }, "overrides": [ { "matcher": { "id": "byRegexp", "options": "/.*pointer not present.*/" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "blue" } } ] }, { "matcher": { "id": "byRegexp", "options": "/.*checksum mismatch.*/" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "yellow" } } ] }, { "matcher": { "id": "byRegexp", "options": "/.*object not found.*/" }, "properties": [ { "id": "color", "value": { "mode": "fixed", "fixedColor": "red" } } ] }, { "matcher": { "id": "byRegexp", "options": "/.*old version.*/" }, "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 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