Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "annotations": {
- "list": [
- {
- "builtIn": 1,
- "datasource": "-- Grafana --",
- "enable": true,
- "hide": true,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "type": "dashboard"
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 0,
- "id": 2,
- "links": [],
- "panels": [
- {
- "datasource": null,
- "description": "",
- "fieldConfig": {
- "defaults": {
- "custom": {
- "align": null,
- "filterable": false
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 4,
- "w": 3,
- "x": 0,
- "y": 0
- },
- "id": 4,
- "options": {
- "colorMode": "value",
- "graphMode": "area",
- "justifyMode": "auto",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "textMode": "auto"
- },
- "pluginVersion": "7.2.0",
- "targets": [
- {
- "refId": "A",
- "target": "stats.gauges.discount.messages.current_id"
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Current message id",
- "type": "stat"
- },
- {
- "datasource": null,
- "description": "",
- "fieldConfig": {
- "defaults": {
- "custom": {
- "align": null,
- "filterable": false
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "rgb(255, 255, 255)",
- "value": null
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 4,
- "w": 2,
- "x": 3,
- "y": 0
- },
- "id": 12,
- "options": {
- "colorMode": "value",
- "graphMode": "none",
- "justifyMode": "auto",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "textMode": "auto"
- },
- "pluginVersion": "7.2.0",
- "targets": [
- {
- "refId": "A",
- "target": "stats.gauges.discount.messages.last_good_id"
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Last good message id",
- "type": "stat"
- },
- {
- "datasource": null,
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "blue",
- "value": null
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 4,
- "w": 2,
- "x": 5,
- "y": 0
- },
- "id": 20,
- "options": {
- "colorMode": "value",
- "graphMode": "area",
- "justifyMode": "auto",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "textMode": "auto"
- },
- "pluginVersion": "7.2.0",
- "targets": [
- {
- "refId": "A",
- "target": "stats.gauges.discount.messages.recent_message_id"
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Recent niepodam message id",
- "type": "stat"
- },
- {
- "datasource": null,
- "description": "",
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "blue",
- "value": null
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 4,
- "w": 2,
- "x": 7,
- "y": 0
- },
- "id": 16,
- "options": {
- "colorMode": "value",
- "graphMode": "area",
- "justifyMode": "auto",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "textMode": "auto"
- },
- "pluginVersion": "7.2.0",
- "targets": [
- {
- "refCount": 0,
- "refId": "A",
- "target": "smartSummarize(hitcount(stats.discount.messages.fetched, '10s'), '1m', 'sum')"
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Requests per minute",
- "type": "stat"
- },
- {
- "datasource": null,
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "mappings": [
- {
- "from": "",
- "id": 0,
- "text": "Running",
- "to": "",
- "type": 1,
- "value": "1"
- },
- {
- "from": "",
- "id": 1,
- "text": "Waiting",
- "to": "",
- "type": 1,
- "value": "0"
- }
- ],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "semi-dark-orange",
- "value": null
- },
- {
- "color": "semi-dark-green",
- "value": 1
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 4,
- "w": 3,
- "x": 9,
- "y": 0
- },
- "id": 10,
- "options": {
- "colorMode": "value",
- "graphMode": "area",
- "justifyMode": "auto",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "textMode": "auto"
- },
- "pluginVersion": "7.2.0",
- "targets": [
- {
- "refId": "A",
- "target": "stats.gauges.discount.running"
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Running",
- "type": "stat"
- },
- {
- "cards": {
- "cardPadding": null,
- "cardRound": null
- },
- "color": {
- "cardColor": "rgb(167, 242, 9)",
- "colorScale": "sqrt",
- "colorScheme": "interpolateOranges",
- "exponent": 0.5,
- "min": null,
- "mode": "opacity"
- },
- "dataFormat": "tsbuckets",
- "datasource": null,
- "fieldConfig": {
- "defaults": {
- "custom": {
- "align": null,
- "filterable": false
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 11,
- "x": 12,
- "y": 0
- },
- "heatmap": {},
- "hideZeroBuckets": false,
- "highlightCards": true,
- "id": 18,
- "legend": {
- "show": false
- },
- "pluginVersion": "7.2.0",
- "reverseYBuckets": false,
- "targets": [
- {
- "refCount": 0,
- "refId": "A",
- "target": "hitcount(stats.discount.messages.match_reasons.important, '10s')",
- "textEditor": false
- },
- {
- "refCount": 0,
- "refId": "B",
- "target": "hitcount(stats.discount.messages.match_reasons.whitelist, '10s')",
- "textEditor": false
- },
- {
- "refCount": 0,
- "refId": "C",
- "target": "hitcount(stats.discount.messages.match_reasons.blacklist, '10s')",
- "textEditor": false
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Match reasons",
- "tooltip": {
- "show": true,
- "showHistogram": false
- },
- "transformations": [],
- "type": "heatmap",
- "xAxis": {
- "show": true
- },
- "xBucketNumber": null,
- "xBucketSize": null,
- "yAxis": {
- "decimals": 1,
- "format": "short",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true,
- "splitFactor": null
- },
- "yBucketBound": "middle",
- "yBucketNumber": null,
- "yBucketSize": null
- },
- {
- "aliasColors": {},
- "bars": true,
- "dashLength": 10,
- "dashes": false,
- "datasource": "Graphite",
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- }
- },
- "overrides": [
- {
- "matcher": {
- "id": "byName",
- "options": "stats.discount.messages.saved"
- },
- "properties": [
- {
- "id": "displayName",
- "value": "Saved"
- }
- ]
- },
- {
- "matcher": {
- "id": "byName",
- "options": "stats.discount.messages.fetch_failed"
- },
- "properties": [
- {
- "id": "links"
- }
- ]
- },
- {
- "matcher": {
- "id": "byName",
- "options": "stats.discount.messages.fetched"
- },
- "properties": []
- }
- ]
- },
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 9,
- "w": 12,
- "x": 0,
- "y": 4
- },
- "hiddenSeries": false,
- "id": 2,
- "interval": "1",
- "legend": {
- "alignAsTable": false,
- "avg": true,
- "current": false,
- "hideEmpty": false,
- "hideZero": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": false,
- "linewidth": 1,
- "nullPointMode": "connected",
- "options": {
- "alertThreshold": false
- },
- "percentage": false,
- "pluginVersion": "7.2.0",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [
- {
- "alias": "Saved",
- "color": "rgb(0, 65, 232)"
- },
- {
- "alias": "stats.discount.messages.fetch_failed",
- "color": "#E02F44",
- "stack": "D"
- },
- {
- "alias": "stats.discount.messages.ignored",
- "color": "#FADE2A",
- "stack": "C"
- },
- {
- "alias": "stats.discount.messages.fetched",
- "color": "#73BF69"
- },
- {
- "alias": "stats.discount.messages.saved.important",
- "color": "#8F3BB8"
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "hide": false,
- "refCount": 0,
- "refId": "A",
- "target": "hitcount(stats.discount.messages.fetched, '10s')",
- "textEditor": true
- },
- {
- "refCount": 0,
- "refId": "B",
- "target": "hitcount(stats.discount.messages.ignored, '10s')",
- "textEditor": true
- },
- {
- "hide": false,
- "refCount": 0,
- "refId": "D",
- "target": "hitcount(stats.discount.messages.fetch_failed, '10s')",
- "textEditor": true
- },
- {
- "hide": false,
- "refCount": 0,
- "refId": "C",
- "target": "hitcount(stats.discount.messages.saved.default, '10s')",
- "textEditor": true
- },
- {
- "hide": false,
- "refCount": 0,
- "refId": "E",
- "target": "hitcount(stats.discount.messages.saved.important, '10s')",
- "textEditor": true
- },
- {
- "hide": false,
- "refCount": 0,
- "refId": "F",
- "target": "hitcount(stats.discount.messages.fetch_retries, '10s')",
- "textEditor": true
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Fetched messages",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "decimals": 0,
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "datasource": null,
- "description": "",
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "decimals": 0,
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "rgb(255, 255, 255)",
- "value": null
- },
- {
- "color": "orange",
- "value": 50
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 4,
- "w": 2,
- "x": 12,
- "y": 8
- },
- "id": 14,
- "options": {
- "colorMode": "value",
- "graphMode": "area",
- "justifyMode": "auto",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "textMode": "auto"
- },
- "pluginVersion": "7.2.0",
- "targets": [
- {
- "hide": false,
- "refCount": 0,
- "refId": "A",
- "target": "keepLastValue(stats.gauges.discount.messages.current_id, 1)",
- "textEditor": false
- },
- {
- "hide": false,
- "refCount": 0,
- "refId": "B",
- "target": "keepLastValue(stats.gauges.discount.messages.recent_message_id, 1)",
- "textEditor": false
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Messages ahead",
- "transformations": [
- {
- "id": "calculateField",
- "options": {
- "binary": {
- "left": "keepLastValue(stats.gauges.discount.messages.current_id)",
- "operator": "-",
- "reducer": "sum",
- "right": "keepLastValue(stats.gauges.discount.messages.recent_message_id)"
- },
- "mode": "binary",
- "reduce": {
- "include": [],
- "reducer": "sum"
- },
- "replaceFields": true
- }
- }
- ],
- "type": "stat"
- },
- {
- "datasource": null,
- "description": "",
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "blue",
- "value": null
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 4,
- "w": 2,
- "x": 14,
- "y": 8
- },
- "id": 21,
- "options": {
- "colorMode": "value",
- "graphMode": "area",
- "justifyMode": "auto",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "textMode": "auto"
- },
- "pluginVersion": "7.2.0",
- "targets": [
- {
- "refCount": 0,
- "refId": "A",
- "target": "hitcount(stats.discount.homepage_recent_id_checks, '10s')"
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Homepage recent id checks",
- "type": "stat"
- },
- {
- "aliasColors": {},
- "bars": false,
- "cacheTimeout": "",
- "dashLength": 10,
- "dashes": false,
- "datasource": "Graphite",
- "fieldConfig": {
- "defaults": {
- "custom": {},
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- }
- },
- "overrides": [
- {
- "matcher": {
- "id": "byName",
- "options": "movingAverage(stats.timers.discount.time.message_fetch.upper,5)"
- },
- "properties": [
- {
- "id": "displayName",
- "value": "Upper"
- }
- ]
- },
- {
- "matcher": {
- "id": "byName",
- "options": "movingAverage(stats.timers.discount.time.message_fetch.lower,5)"
- },
- "properties": [
- {
- "id": "displayName",
- "value": "Lower"
- }
- ]
- },
- {
- "matcher": {
- "id": "byName",
- "options": "movingAverage(stats.timers.discount.time.message_fetch.mean,5)"
- },
- "properties": [
- {
- "id": "displayName",
- "value": "Average"
- }
- ]
- }
- ]
- },
- "fill": 5,
- "fillGradient": 6,
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 13
- },
- "hiddenSeries": false,
- "id": 6,
- "interval": "",
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "maxDataPoints": 100,
- "nullPointMode": "connected",
- "options": {
- "alertThreshold": true
- },
- "percentage": false,
- "pluginVersion": "7.2.0",
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "hide": false,
- "refCount": 0,
- "refId": "C",
- "target": "movingAverage(stats.timers.discount.time.message_fetch.upper, 5)",
- "textEditor": false
- },
- {
- "hide": false,
- "refCount": 0,
- "refId": "A",
- "target": "movingAverage(stats.timers.discount.time.message_fetch.mean, 5)"
- },
- {
- "refCount": 0,
- "refId": "B",
- "target": "movingAverage(stats.timers.discount.time.message_fetch.lower, 5)"
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Message fetch delay",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- }
- ],
- "refresh": "5s",
- "schemaVersion": 26,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": []
- },
- "time": {
- "from": "now-5m",
- "to": "now"
- },
- "timepicker": {},
- "timezone": "",
- "title": "Discount2",
- "uid": "fuKwplCGk2",
- "version": 12
- }
Advertisement
Add Comment
Please, Sign In to add comment