{ "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "datasource", "uid": "grafana" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "target": { "limit": 100, "matchAny": false, "tags": [], "type": "dashboard" }, "type": "dashboard" } ] }, "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 1, "id": 267, "links": [], "liveNow": false, "panels": [ { "datasource": { "uid": "$data_source" }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, "id": 14, "title": "Requests", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "$data_source" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "reqps" }, "overrides": [] }, "gridPos": { "h": 9, "w": 12, "x": 0, "y": 1 }, "id": 2, "links": [], "options": { "legend": { "calcs": [ "mean", "lastNotNull", "max", "min" ], "displayMode": "list", "placement": "right", "showLegend": false }, "tooltip": { "mode": "multi", "sort": "desc" } }, "pluginVersion": "9.5.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "KYjfLqS7z" }, "editorMode": "code", "exemplar": true, "expr": "sum(\n irate(\n traefik_router_requests_total{url=~\"$url\", ingress=~\"$ingress\", namespace=~\"$namespace\", cluster=~\"$cluster\"}[2m]\n )\n) by (cluster, namespace, ingress, url)", "format": "time_series", "instant": false, "interval": "", "intervalFactor": 1, "legendFormat": "{{ url }} ({{ cluster }}/{{ namespace }}/{{ ingress }})", "refId": "A" } ], "title": "Request rate", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "$data_source" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 9, "w": 12, "x": 12, "y": 1 }, "id": 4, "links": [], "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "pluginVersion": "9.5.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "KYjfLqS7z" }, "editorMode": "code", "exemplar": true, "expr": "sum(irate(traefik_router_requests_total{url=~\"$url\", ingress=~\"$ingress\", namespace=~\"$namespace\", cluster=~\"$cluster\"}[1m])) by (code)", "format": "time_series", "instant": false, "interval": "", "intervalFactor": 1, "legendFormat": "{{ code }}", "refId": "A" } ], "title": "Response Status rate", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "$data_source" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 9, "w": 12, "x": 0, "y": 10 }, "id": 9, "links": [], "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": false }, "tooltip": { "mode": "multi", "sort": "desc" } }, "pluginVersion": "9.5.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "KYjfLqS7z" }, "editorMode": "code", "exemplar": true, "expr": "sum(traefik_router_open_connections{url=~\"$url\", ingress=~\"$ingress\", namespace=~\"$namespace\", cluster=~\"$cluster\"}) by (cluster, namespace, ingress)", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "{{ cluster }}/{{ namespace }}/{{ ingress }}", "range": true, "refId": "A" } ], "title": "Open Connections", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "$data_source" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "bars", "fillOpacity": 100, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "normal" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "short" }, "overrides": [ { "matcher": { "id": "byName", "options": "Total" }, "properties": [ { "id": "custom.drawStyle", "value": "line" }, { "id": "custom.fillOpacity", "value": 0 }, { "id": "custom.stacking", "value": { "group": "A", "mode": "none" } } ] } ] }, "gridPos": { "h": 9, "w": 12, "x": 12, "y": 10 }, "id": 5, "interval": "1m", "links": [], "maxDataPoints": 100, "options": { "legend": { "calcs": [ "lastNotNull", "sum" ], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "pluginVersion": "9.5.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "KYjfLqS7z" }, "editorMode": "code", "exemplar": true, "expr": "sum(increase(traefik_router_requests_total{url=~\"$url\", ingress=~\"$ingress\", namespace=~\"$namespace\", cluster=~\"$cluster\"}[$__interval])) by (code)", "format": "time_series", "hide": false, "instant": false, "interval": "", "intervalFactor": 1, "legendFormat": "{{ code }}", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "KYjfLqS7z" }, "editorMode": "code", "exemplar": true, "expr": "sum(increase(traefik_router_requests_total{url=~\"$url\", ingress=~\"$ingress\", namespace=~\"$namespace\", cluster=~\"$cluster\"}[$__interval]))", "format": "time_series", "hide": false, "instant": false, "interval": "", "intervalFactor": 1, "legendFormat": "Total", "refId": "B" } ], "title": "response status per minute", "type": "timeseries" }, { "collapsed": false, "datasource": { "uid": "$data_source" }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 19 }, "id": 16, "panels": [], "title": "Response Time", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "$data_source" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 9, "w": 12, "x": 0, "y": 20 }, "id": 12, "links": [], "maxDataPoints": 300, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "pluginVersion": "9.5.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "KYjfLqS7z" }, "editorMode": "code", "exemplar": true, "expr": "histogram_quantile(0.99, sum(rate(traefik_router_request_duration_seconds_bucket{url=~\"$url\",cluster=~\"$cluster\"}[$__interval])) by (le))", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "99th Percentile", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "KYjfLqS7z" }, "editorMode": "code", "exemplar": true, "expr": "histogram_quantile(0.95, sum(rate(traefik_router_request_duration_seconds_bucket{url=~\"$url\",cluster=~\"$cluster\"}[$__interval])) by (le))", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "95th percentile", "range": true, "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "KYjfLqS7z" }, "editorMode": "code", "exemplar": true, "expr": "histogram_quantile(0.90, sum(rate(traefik_router_request_duration_seconds_bucket{url=~\"$url\",cluster=~\"$cluster\"}[$__interval])) by (le))", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 1, "legendFormat": "90th Percentile", "range": true, "refId": "C" } ], "title": "Request Duration Percentile", "type": "timeseries" }, { "cards": {}, "color": { "cardColor": "#b4ff00", "colorScale": "linear", "colorScheme": "interpolateOranges", "exponent": 0.5, "mode": "opacity" }, "dataFormat": "tsbuckets", "datasource": { "type": "prometheus", "uid": "$data_source" }, "fieldConfig": { "defaults": { "custom": { "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "scaleDistribution": { "type": "linear" } } }, "overrides": [] }, "gridPos": { "h": 9, "w": 12, "x": 12, "y": 20 }, "heatmap": {}, "hideZeroBuckets": false, "highlightCards": true, "id": 7, "interval": "2m", "legend": { "show": true }, "links": [], "maxDataPoints": 50, "options": { "calculate": false, "calculation": {}, "cellGap": 2, "cellValues": {}, "color": { "exponent": 0.5, "fill": "#b4ff00", "mode": "opacity", "reverse": false, "scale": "exponential", "scheme": "Oranges", "steps": 128 }, "exemplars": { "color": "rgba(255,0,255,0.7)" }, "filterValues": { "le": 1e-9 }, "legend": { "show": true }, "rowsFrame": { "layout": "auto" }, "showValue": "never", "tooltip": { "show": true, "yHistogram": true }, "yAxis": { "axisPlacement": "left", "reverse": false, "unit": "s" } }, "pluginVersion": "9.5.1", "reverseYBuckets": false, "targets": [ { "datasource": { "type": "prometheus", "uid": "KYjfLqS7z" }, "editorMode": "code", "exemplar": true, "expr": "sum(increase(traefik_router_request_duration_seconds_bucket{url=~\"$url\",cluster=~\"$cluster\"}[$__interval])) by (le)", "format": "heatmap", "interval": "1m", "intervalFactor": 1, "legendFormat": "{{ le }}", "range": true, "refId": "A" } ], "title": "Response time", "tooltip": { "show": true, "showHistogram": true }, "type": "heatmap", "xAxis": { "show": true }, "yAxis": { "format": "s", "logBase": 1, "show": true }, "yBucketBound": "auto" }, { "datasource": { "type": "prometheus", "uid": "$data_source" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 6, "x": 0, "y": 29 }, "id": 11, "links": [], "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "9.5.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "KYjfLqS7z" }, "editorMode": "code", "exemplar": true, "expr": "sum(increase(traefik_router_requests_total{url=~\"$url\",cluster=~\"$cluster\"}[$__range]))", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 1, "legendFormat": "", "range": true, "refId": "A" } ], "title": "Total Requests Count", "type": "stat" } ], "refresh": "1m", "schemaVersion": 38, "style": "dark", "tags": [], "templating": { "list": [ { "current": { "selected": false, "text": "central", "value": "central" }, "hide": 0, "includeAll": false, "multi": false, "name": "data_source", "options": [], "query": "prometheus", "queryValue": "", "refresh": 1, "regex": "", "skipUrlSync": false, "type": "datasource" }, { "current": { "selected": true, "text": [ "hamravesh-c18" ], "value": [ "hamravesh-c18" ] }, "datasource": { "type": "prometheus", "uid": "$data_source" }, "definition": "label_values(cluster)", "hide": 0, "includeAll": true, "label": "Cluster", "multi": false, "name": "cluster", "options": [], "query": { "query": "label_values(cluster)", "refId": "StandardVariableQuery" }, "refresh": 2, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": ".*", "current": { "selected": true, "text": [ "All" ], "value": [ "$__all" ] }, "datasource": { "type": "prometheus", "uid": "$data_source" }, "definition": "label_values(kube_namespace_created{cluster=~\"$cluster\"},namespace)", "hide": 0, "includeAll": true, "label": "Namespace", "multi": false, "name": "namespace", "options": [], "query": { "query": "label_values(kube_namespace_created{cluster=~\"$cluster\"},namespace)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": ".*", "current": { "selected": false, "text": "All", "value": "$__all" }, "datasource": { "type": "prometheus", "uid": "${data_source}" }, "definition": "label_values(traefik_config_reloads_failure_total{cluster=~\"$cluster\",namespace=~\"$namespace\"},job)", "hide": 2, "includeAll": true, "multi": true, "name": "job", "options": [], "query": { "query": "label_values(traefik_config_reloads_failure_total{cluster=~\"$cluster\",namespace=~\"$namespace\"},job)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "type": "query" }, { "allValue": ".*", "current": { "selected": true, "text": [ "All" ], "value": [ "$__all" ] }, "datasource": { "type": "prometheus", "uid": "$data_source" }, "definition": "label_values(traefik_router_requests_total{cluster=~\"$cluster\", namespace=~\"$namespace\"}, url)", "hide": 0, "includeAll": true, "label": "Url", "multi": true, "name": "url", "options": [], "query": { "query": "label_values(traefik_router_requests_total{cluster=~\"$cluster\", namespace=~\"$namespace\"}, url)", "refId": "StandardVariableQuery" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": ".*", "current": { "selected": true, "text": [ "All" ], "value": [ "$__all" ] }, "datasource": { "type": "prometheus", "uid": "$data_source" }, "definition": "label_values(traefik_router_requests_total{url=~\"$url\", namespace=~\"$namespace\", cluster=~\"$cluster\"}, ingress)", "hide": 0, "includeAll": true, "label": "Ingress", "multi": true, "name": "ingress", "options": [], "query": { "query": "label_values(traefik_router_requests_total{url=~\"$url\", namespace=~\"$namespace\", cluster=~\"$cluster\"}, ingress)", "refId": "StandardVariableQuery" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false } ] }, "time": { "from": "now-1h", "to": "now" }, "timepicker": { "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ], "time_options": [ "5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d" ] }, "timezone": "", "title": "God 2: Traefik", "uid": "PugFVJMVz", "version": 23, "weekStart": "" }