Loading build.sh +2 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,8 @@ eslint src echo "" echo "+ Installing client packages" mkdir -p $BASEDIR/js-packages install_package meep-auth-svc-client install_package meep-gis-engine-client install_package meep-metrics-engine-client install_package meep-platform-ctrl-client Loading config/.meepctl-repocfg.yaml +54 −3 Original line number Diff line number Diff line version: 1.6.0 version: 1.6.5 repo: name: AdvantEDGE Loading Loading @@ -33,6 +33,9 @@ repo: # authentication & authorization config auth: # enable authentication & authorization enabled: true # Session config session: # session encryption key k8s secret (data: encryption-key) key-secret: meep-session Loading Loading @@ -65,6 +68,18 @@ repo: # OAuth k8s secret (data: client-id, secret) secret: meep-oauth-gitlab # Default monitoring dashboards dashboards: meep-session-info: dashboards/meep-session-info.json meep-node-exporter: dashboards/meep-node-exporter.json #------------------------------ # Resource Prerequisites #------------------------------ resource-prerequisites: # k8s Custom Resource Definitions crds: servicemonitors.monitoring.coreos.com: charts/kube-prometheus-stack/crds/crd-servicemonitors.yaml #------------------------------ # Core Subsystem Loading @@ -73,6 +88,31 @@ repo: # Go Applications go-apps: meep-auth-svc: # location of source code src: go-apps/meep-auth-svc # location of binary bin: bin/meep-auth-svc # location of deployment chart chart: charts/meep-auth-svc # user supplied value file located @ .meep/user/values (use below file name) chart-user-values: meep-auth-svc.yaml # enable meepctl build build: true # enable meepctl dockerize dockerize: true # enable meepctl deploy/delete deploy: true # supports code coverage measurement when built in codecov mode codecov: true # supports linting lint: true # location of API specification api: go-apps/meep-auth-svc/api/swagger.yaml # AdvantEDGE resources included in Docker container image docker-data: # location of REST API permissions file 'permissions.yaml': config/permissions.yaml meep-ingress-certs: # enable meepctl build build: false Loading Loading @@ -122,6 +162,7 @@ repo: - meep-open-map-tiles - meep-postgis - meep-redis - meep-prometheus # list of platform pods to monitor core-pods: - meep-mon-engine Loading Loading @@ -165,8 +206,6 @@ repo: swagger: bin/meep-platform-swagger-ui # location of AdvantEDGE frontend frontend: bin/meep-frontend # location of REST API permissions file 'permissions.yaml': config/permissions.yaml meep-virt-engine: # location of source code src: go-apps/meep-virt-engine Loading Loading @@ -271,6 +310,7 @@ repo: lint: false # list of platform level swagger specs api-bundle: - core.go-apps.meep-auth-svc - core.go-apps.meep-platform-ctrl - core.go-apps.meep-mon-engine meep-sandbox-swagger-ui: Loading Loading @@ -616,6 +656,17 @@ repo: chart: charts/postgis # user supplied value file located @ .meep/user/values (use below file name) chart-user-values: meep-postgis.yaml meep-prometheus: # enable meepctl build -> deps are never built build: false # enable meepctl dockerize -> deps are never dockerized dockerize: false # enable meepctl deploy/delete deploy: true # location of deployment chart chart: charts/kube-prometheus-stack # user supplied value file located @ .meep/user/values (use below file name) chart-user-values: meep-prometheus.yaml #------------------------------ # Packages Loading config/dashboards/meep-node-exporter.json 0 → 100644 +13623 −0 File added.File size exceeds preview limit. View file config/dashboards/meep-session-info.json 0 → 100644 +807 −0 Original line number Diff line number Diff line { "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, "links": [], "panels": [ { "collapsed": false, "datasource": null, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, "id": 4, "panels": [], "title": "Session Info", "type": "row" }, { "datasource": "Prometheus", "fieldConfig": { "defaults": { "custom": {}, "decimals": 0, "mappings": [], "max": 10, "min": 0, "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "orange", "value": 7 }, { "color": "red", "value": 9 } ] } }, "overrides": [] }, "gridPos": { "h": 5, "w": 4, "x": 0, "y": 1 }, "id": 2, "options": { "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true }, "pluginVersion": "7.3.5", "targets": [ { "expr": "auth_svc_session_active", "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Active Sessions", "type": "gauge" }, { "datasource": "Prometheus", "fieldConfig": { "defaults": { "custom": {}, "decimals": 0, "mappings": [], "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "orange", "value": 7 }, { "color": "red", "value": 10 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 5, "w": 3, "x": 4, "y": 1 }, "id": 20, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "value" }, "pluginVersion": "7.3.5", "targets": [ { "expr": "max(max_over_time(auth_svc_session_active[$__range]))", "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Max Concurrent Sessions", "type": "stat" }, { "datasource": "meep-influxdb", "fieldConfig": { "defaults": { "custom": {}, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "blue", "value": null } ] } }, "overrides": [] }, "gridPos": { "h": 5, "w": 4, "x": 7, "y": 1 }, "id": 28, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "7.3.5", "targets": [ { "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "orderByTime": "ASC", "policy": "default", "query": "SELECT count(distinct(userid)) FROM global_session_metrics.autogen.session", "rawQuery": true, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [] } ], "timeFrom": null, "timeShift": null, "title": "All-time Unique Users", "type": "stat" }, { "datasource": "Prometheus", "fieldConfig": { "defaults": { "custom": {}, "decimals": 0, "mappings": [], "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "blue", "value": null } ] }, "unit": "m" }, "overrides": [] }, "gridPos": { "h": 5, "w": 4, "x": 11, "y": 1 }, "id": 14, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "value" }, "pluginVersion": "7.3.5", "targets": [ { "expr": "sum(increase(auth_svc_session_duration_sum [$__range])) / sum(increase(auth_svc_session_duration_count [$__range]))", "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Average Session Duration", "type": "stat" }, { "datasource": "Prometheus", "fieldConfig": { "defaults": { "custom": {}, "decimals": 0, "mappings": [], "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] } }, "overrides": [] }, "gridPos": { "h": 5, "w": 3, "x": 15, "y": 1 }, "id": 12, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "value" }, "pluginVersion": "7.3.5", "targets": [ { "expr": "sum(increase(auth_svc_session_success_total{container=\"meep-auth-svc\"} [$__range]))", "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Sessions Created", "type": "stat" }, { "datasource": "Prometheus", "fieldConfig": { "defaults": { "custom": {}, "decimals": 0, "mappings": [], "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "super-light-orange", "value": null } ] } }, "overrides": [] }, "gridPos": { "h": 5, "w": 3, "x": 18, "y": 1 }, "id": 10, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "value" }, "pluginVersion": "7.3.5", "targets": [ { "expr": "sum(increase(auth_svc_session_timeout_total{container=\"meep-auth-svc\"} [$__range]))", "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Session Timeouts", "type": "stat" }, { "datasource": "Prometheus", "fieldConfig": { "defaults": { "custom": {}, "decimals": 0, "mappings": [], "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "red", "value": null } ] } }, "overrides": [] }, "gridPos": { "h": 5, "w": 3, "x": 21, "y": 1 }, "id": 8, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "value" }, "pluginVersion": "7.3.5", "targets": [ { "expr": "sum(increase(auth_svc_session_fail_total{container=\"meep-auth-svc\"} [$__range]))", "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Session Failures", "type": "stat" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "Prometheus", "decimals": 0, "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fill": 1, "fillGradient": 7, "gridPos": { "h": 8, "w": 11, "x": 0, "y": 6 }, "hiddenSeries": false, "id": 6, "legend": { "alignAsTable": true, "avg": false, "current": true, "hideEmpty": false, "hideZero": false, "max": true, "min": false, "rightSide": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "7.3.5", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": true, "steppedLine": false, "targets": [ { "expr": "auth_svc_session_active", "hide": false, "instant": false, "interval": "", "legendFormat": "", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Active Sessions", "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": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "datasource": "Prometheus", "fieldConfig": { "defaults": { "custom": {}, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "dark-blue", "value": null } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 13, "x": 11, "y": 6 }, "id": 22, "options": { "displayMode": "gradient", "orientation": "auto", "reduceOptions": { "calcs": [ "max" ], "fields": "", "values": false }, "showUnfilled": true }, "pluginVersion": "7.3.5", "targets": [ { "expr": "sum by (le) (max_over_time(auth_svc_session_duration_bucket[$__range]) - min_over_time(auth_svc_session_duration_bucket[$__range]))", "format": "heatmap", "instant": false, "interval": "", "legendFormat": "{{le}}", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Session Duration Distribution (minutes)", "transformations": [], "type": "bargauge" }, { "collapsed": false, "datasource": null, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 14 }, "id": 26, "panels": [], "title": "Platform Status", "type": "row" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "Prometheus", "decimals": 0, "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fill": 3, "fillGradient": 7, "gridPos": { "h": 8, "w": 11, "x": 0, "y": 15 }, "hiddenSeries": false, "id": 24, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": true, "min": true, "rightSide": true, "show": true, "sideWidth": null, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "null as zero", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "7.3.5", "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "sum (kube_pod_status_phase{}) by (phase)", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{ phase }}", "metric": "kube_pod_status_phase", "refId": "A", "step": 10 }, { "expr": "kubelet_running_pod_count{kubernetes_io_role =~ \".*node.*\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{ instance }}", "refId": "B", "step": 10 } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "K8s Pod States", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": null, "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "collapsed": true, "datasource": null, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 23 }, "id": 16, "panels": [], "title": "MEC Service API Usage", "type": "row" } ], "refresh": "15s", "schemaVersion": 26, "style": "dark", "tags": [], "templating": { "list": [] }, "time": { "from": "now-1h", "to": "now" }, "timepicker": { "refresh_intervals": [ "5s", "10s", "15s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ] }, "timezone": "", "title": "MEC Sandbox Dashboard", "uid": "meep-session-info", "version": 1 } No newline at end of file Loading
build.sh +2 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,8 @@ eslint src echo "" echo "+ Installing client packages" mkdir -p $BASEDIR/js-packages install_package meep-auth-svc-client install_package meep-gis-engine-client install_package meep-metrics-engine-client install_package meep-platform-ctrl-client Loading
config/.meepctl-repocfg.yaml +54 −3 Original line number Diff line number Diff line version: 1.6.0 version: 1.6.5 repo: name: AdvantEDGE Loading Loading @@ -33,6 +33,9 @@ repo: # authentication & authorization config auth: # enable authentication & authorization enabled: true # Session config session: # session encryption key k8s secret (data: encryption-key) key-secret: meep-session Loading Loading @@ -65,6 +68,18 @@ repo: # OAuth k8s secret (data: client-id, secret) secret: meep-oauth-gitlab # Default monitoring dashboards dashboards: meep-session-info: dashboards/meep-session-info.json meep-node-exporter: dashboards/meep-node-exporter.json #------------------------------ # Resource Prerequisites #------------------------------ resource-prerequisites: # k8s Custom Resource Definitions crds: servicemonitors.monitoring.coreos.com: charts/kube-prometheus-stack/crds/crd-servicemonitors.yaml #------------------------------ # Core Subsystem Loading @@ -73,6 +88,31 @@ repo: # Go Applications go-apps: meep-auth-svc: # location of source code src: go-apps/meep-auth-svc # location of binary bin: bin/meep-auth-svc # location of deployment chart chart: charts/meep-auth-svc # user supplied value file located @ .meep/user/values (use below file name) chart-user-values: meep-auth-svc.yaml # enable meepctl build build: true # enable meepctl dockerize dockerize: true # enable meepctl deploy/delete deploy: true # supports code coverage measurement when built in codecov mode codecov: true # supports linting lint: true # location of API specification api: go-apps/meep-auth-svc/api/swagger.yaml # AdvantEDGE resources included in Docker container image docker-data: # location of REST API permissions file 'permissions.yaml': config/permissions.yaml meep-ingress-certs: # enable meepctl build build: false Loading Loading @@ -122,6 +162,7 @@ repo: - meep-open-map-tiles - meep-postgis - meep-redis - meep-prometheus # list of platform pods to monitor core-pods: - meep-mon-engine Loading Loading @@ -165,8 +206,6 @@ repo: swagger: bin/meep-platform-swagger-ui # location of AdvantEDGE frontend frontend: bin/meep-frontend # location of REST API permissions file 'permissions.yaml': config/permissions.yaml meep-virt-engine: # location of source code src: go-apps/meep-virt-engine Loading Loading @@ -271,6 +310,7 @@ repo: lint: false # list of platform level swagger specs api-bundle: - core.go-apps.meep-auth-svc - core.go-apps.meep-platform-ctrl - core.go-apps.meep-mon-engine meep-sandbox-swagger-ui: Loading Loading @@ -616,6 +656,17 @@ repo: chart: charts/postgis # user supplied value file located @ .meep/user/values (use below file name) chart-user-values: meep-postgis.yaml meep-prometheus: # enable meepctl build -> deps are never built build: false # enable meepctl dockerize -> deps are never dockerized dockerize: false # enable meepctl deploy/delete deploy: true # location of deployment chart chart: charts/kube-prometheus-stack # user supplied value file located @ .meep/user/values (use below file name) chart-user-values: meep-prometheus.yaml #------------------------------ # Packages Loading
config/dashboards/meep-node-exporter.json 0 → 100644 +13623 −0 File added.File size exceeds preview limit. View file
config/dashboards/meep-session-info.json 0 → 100644 +807 −0 Original line number Diff line number Diff line { "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, "links": [], "panels": [ { "collapsed": false, "datasource": null, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, "id": 4, "panels": [], "title": "Session Info", "type": "row" }, { "datasource": "Prometheus", "fieldConfig": { "defaults": { "custom": {}, "decimals": 0, "mappings": [], "max": 10, "min": 0, "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "orange", "value": 7 }, { "color": "red", "value": 9 } ] } }, "overrides": [] }, "gridPos": { "h": 5, "w": 4, "x": 0, "y": 1 }, "id": 2, "options": { "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true }, "pluginVersion": "7.3.5", "targets": [ { "expr": "auth_svc_session_active", "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Active Sessions", "type": "gauge" }, { "datasource": "Prometheus", "fieldConfig": { "defaults": { "custom": {}, "decimals": 0, "mappings": [], "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "orange", "value": 7 }, { "color": "red", "value": 10 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 5, "w": 3, "x": 4, "y": 1 }, "id": 20, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "value" }, "pluginVersion": "7.3.5", "targets": [ { "expr": "max(max_over_time(auth_svc_session_active[$__range]))", "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Max Concurrent Sessions", "type": "stat" }, { "datasource": "meep-influxdb", "fieldConfig": { "defaults": { "custom": {}, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "blue", "value": null } ] } }, "overrides": [] }, "gridPos": { "h": 5, "w": 4, "x": 7, "y": 1 }, "id": 28, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "7.3.5", "targets": [ { "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "orderByTime": "ASC", "policy": "default", "query": "SELECT count(distinct(userid)) FROM global_session_metrics.autogen.session", "rawQuery": true, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [] } ], "timeFrom": null, "timeShift": null, "title": "All-time Unique Users", "type": "stat" }, { "datasource": "Prometheus", "fieldConfig": { "defaults": { "custom": {}, "decimals": 0, "mappings": [], "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "blue", "value": null } ] }, "unit": "m" }, "overrides": [] }, "gridPos": { "h": 5, "w": 4, "x": 11, "y": 1 }, "id": 14, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "value" }, "pluginVersion": "7.3.5", "targets": [ { "expr": "sum(increase(auth_svc_session_duration_sum [$__range])) / sum(increase(auth_svc_session_duration_count [$__range]))", "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Average Session Duration", "type": "stat" }, { "datasource": "Prometheus", "fieldConfig": { "defaults": { "custom": {}, "decimals": 0, "mappings": [], "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] } }, "overrides": [] }, "gridPos": { "h": 5, "w": 3, "x": 15, "y": 1 }, "id": 12, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "value" }, "pluginVersion": "7.3.5", "targets": [ { "expr": "sum(increase(auth_svc_session_success_total{container=\"meep-auth-svc\"} [$__range]))", "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Sessions Created", "type": "stat" }, { "datasource": "Prometheus", "fieldConfig": { "defaults": { "custom": {}, "decimals": 0, "mappings": [], "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "super-light-orange", "value": null } ] } }, "overrides": [] }, "gridPos": { "h": 5, "w": 3, "x": 18, "y": 1 }, "id": 10, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "value" }, "pluginVersion": "7.3.5", "targets": [ { "expr": "sum(increase(auth_svc_session_timeout_total{container=\"meep-auth-svc\"} [$__range]))", "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Session Timeouts", "type": "stat" }, { "datasource": "Prometheus", "fieldConfig": { "defaults": { "custom": {}, "decimals": 0, "mappings": [], "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "red", "value": null } ] } }, "overrides": [] }, "gridPos": { "h": 5, "w": 3, "x": 21, "y": 1 }, "id": 8, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "value" }, "pluginVersion": "7.3.5", "targets": [ { "expr": "sum(increase(auth_svc_session_fail_total{container=\"meep-auth-svc\"} [$__range]))", "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Session Failures", "type": "stat" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "Prometheus", "decimals": 0, "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fill": 1, "fillGradient": 7, "gridPos": { "h": 8, "w": 11, "x": 0, "y": 6 }, "hiddenSeries": false, "id": 6, "legend": { "alignAsTable": true, "avg": false, "current": true, "hideEmpty": false, "hideZero": false, "max": true, "min": false, "rightSide": false, "show": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "7.3.5", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": true, "steppedLine": false, "targets": [ { "expr": "auth_svc_session_active", "hide": false, "instant": false, "interval": "", "legendFormat": "", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Active Sessions", "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": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "datasource": "Prometheus", "fieldConfig": { "defaults": { "custom": {}, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "dark-blue", "value": null } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 13, "x": 11, "y": 6 }, "id": 22, "options": { "displayMode": "gradient", "orientation": "auto", "reduceOptions": { "calcs": [ "max" ], "fields": "", "values": false }, "showUnfilled": true }, "pluginVersion": "7.3.5", "targets": [ { "expr": "sum by (le) (max_over_time(auth_svc_session_duration_bucket[$__range]) - min_over_time(auth_svc_session_duration_bucket[$__range]))", "format": "heatmap", "instant": false, "interval": "", "legendFormat": "{{le}}", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Session Duration Distribution (minutes)", "transformations": [], "type": "bargauge" }, { "collapsed": false, "datasource": null, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 14 }, "id": 26, "panels": [], "title": "Platform Status", "type": "row" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "Prometheus", "decimals": 0, "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fill": 3, "fillGradient": 7, "gridPos": { "h": 8, "w": 11, "x": 0, "y": 15 }, "hiddenSeries": false, "id": 24, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": true, "min": true, "rightSide": true, "show": true, "sideWidth": null, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "null as zero", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "7.3.5", "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "sum (kube_pod_status_phase{}) by (phase)", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{ phase }}", "metric": "kube_pod_status_phase", "refId": "A", "step": 10 }, { "expr": "kubelet_running_pod_count{kubernetes_io_role =~ \".*node.*\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{ instance }}", "refId": "B", "step": 10 } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "K8s Pod States", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": null, "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "collapsed": true, "datasource": null, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 23 }, "id": 16, "panels": [], "title": "MEC Service API Usage", "type": "row" } ], "refresh": "15s", "schemaVersion": 26, "style": "dark", "tags": [], "templating": { "list": [] }, "time": { "from": "now-1h", "to": "now" }, "timepicker": { "refresh_intervals": [ "5s", "10s", "15s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ] }, "timezone": "", "title": "MEC Sandbox Dashboard", "uid": "meep-session-info", "version": 1 } No newline at end of file