featurehub-io / featurehub

FeatureHub - cloud native feature flags, A/B testing and remote configuration service. Real-time streaming feature updates. Provided with Java, JavaScript, React, Python, Go, .Net, Ruby, Android, Swift and Flutter SDKs.
https://www.featurehub.io
Other
310 stars 32 forks source link

Prometheus alerts and Grafana dashboards #852

Open marcemv90 opened 2 years ago

marcemv90 commented 2 years ago

Hello!

As all FeatureHub components expose Prometheus metrics, I'm wondering if there's some documentation on the metrics, and/or recommended Prometheus alerts and grafana dashboards to visualize those metrics. I've been searching for those online, but I did not find them, so I'm here 😄 .

Is there any plan for you guys to have the following information?

Many thanks for the hard work!

Regards.

rvowles commented 2 years ago

https://github.com/featurehub-io/featurehub-install/pull/42 is the start of the work for this putting prometheus and grafana in the cluster as options. We will add docs the general documentation on the metrics available and ideally provide some importable Grafana dashboards and a way for people to contribute others.

matejhasul commented 1 year ago

Any grafana dashboard on the way?

rvowles commented 1 year ago

So we have put a lot more metrics in for the last two releases and added documentation for them, but without guidance from the community, creation of dashboards is a bit vague... We aren't sure what people want to see?

matejhasul commented 1 year ago

Ehm, someone from featurehub is asking what should be visualized on a grafana dashboard? Who else should know better? :)

I would definitely appreciate having JVM dashboard or at least link to an existing grafana dashboard which works fine with JVM metrics exposed by featurehub.

matejhasul commented 1 year ago

I've created some grafana dashboards for

I have very little knowledge about featurehub thus I don't know if it makes sense. Consider it (at best) as a starting point for further improvement.

Screenshots: fh-dacha fh-edge fh-jvm fh-mr

Exported dashboards:

JVM ``` { "__inputs": [ { "name": "DS_IAD1-K8S-PROMETHEUS", "label": "iad1-k8s-prometheus", "description": "", "type": "datasource", "pluginId": "prometheus", "pluginName": "Prometheus" } ], "__elements": {}, "__requires": [ { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "9.1.5" }, { "type": "datasource", "id": "prometheus", "name": "Prometheus", "version": "1.0.0" }, { "type": "panel", "id": "timeseries", "name": "Time series", "version": "" } ], "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" } ] }, "description": "JVM Related Metrics", "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": null, "links": [], "liveNow": false, "panels": [ { "collapsed": false, "datasource": { "type": "graphite", "uid": "000000001" }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, "id": 41, "panels": [], "repeat": "kubernetes_pod_name", "repeatDirection": "h", "targets": [ { "datasource": { "type": "graphite", "uid": "000000001" }, "refId": "A" } ], "title": "$job - $pod", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "$datasource" }, "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": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "line" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "transparent", "value": null }, { "color": "red", "value": 100 } ] }, "unit": "percent" }, "overrides": [] }, "gridPos": { "h": 6, "w": 6, "x": 0, "y": 1 }, "id": 4, "links": [], "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": false }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "8.4.5", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_IAD1-K8S-PROMETHEUS}" }, "editorMode": "code", "exemplar": true, "expr": "irate(process_cpu_seconds_total{namespace=\"${namespace}\", job=\"${job}\", pod=~\"${pod}\"}[30s]) * 100", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}}", "metric": "process_cpu_seconds_total", "range": true, "refId": "A", "step": 20 } ], "title": "CPU", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "$datasource" }, "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": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "decbytes" }, "overrides": [] }, "gridPos": { "h": 6, "w": 6, "x": 6, "y": 1 }, "id": 1, "links": [], "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": false }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "8.4.5", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_IAD1-K8S-PROMETHEUS}" }, "editorMode": "code", "exemplar": true, "expr": "sum(jvm_memory_bytes_committed{namespace=\"${namespace}\", job=\"${job}\", pod=~\"$pod\", area=\"heap\"})", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "Committed", "metric": "jvm_memory_bytes_committed", "range": true, "refId": "A", "step": 20 }, { "datasource": { "type": "prometheus", "uid": "${DS_IAD1-K8S-PROMETHEUS}" }, "editorMode": "code", "exemplar": true, "expr": "sum(jvm_memory_bytes_used{namespace=\"${namespace}\", job=\"${job}\", pod=~\"$pod\", area=\"heap\"})", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "Used", "metric": "jvm_memory_bytes_used", "range": true, "refId": "B", "step": 20 }, { "datasource": { "type": "prometheus", "uid": "${DS_IAD1-K8S-PROMETHEUS}" }, "editorMode": "code", "exemplar": true, "expr": "sum(jvm_memory_bytes_max{namespace=\"${namespace}\", job=\"${job}\", pod=~\"$pod\", area=\"heap\"})", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "Max", "metric": "jvm_memory_bytes_max", "range": true, "refId": "C", "step": 20 } ], "title": "Heap Memory", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "$datasource" }, "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": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "decbytes" }, "overrides": [] }, "gridPos": { "h": 6, "w": 6, "x": 12, "y": 1 }, "id": 42, "links": [], "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": false }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "8.4.5", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_IAD1-K8S-PROMETHEUS}" }, "editorMode": "code", "exemplar": true, "expr": "sum(jvm_memory_bytes_committed{namespace=\"${namespace}\", job=\"${job}\", pod=~\"$pod\", area=\"nonheap\"})", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "Committed", "metric": "jvm_memory_bytes_committed", "range": true, "refId": "A", "step": 20 }, { "datasource": { "type": "prometheus", "uid": "${DS_IAD1-K8S-PROMETHEUS}" }, "editorMode": "code", "exemplar": true, "expr": "sum(jvm_memory_bytes_used{namespace=\"${namespace}\", job=\"${job}\", pod=~\"$pod\", area=\"nonheap\"})", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "Used", "metric": "jvm_memory_bytes_used", "range": true, "refId": "B", "step": 20 }, { "datasource": { "type": "prometheus", "uid": "${DS_IAD1-K8S-PROMETHEUS}" }, "editorMode": "code", "exemplar": true, "expr": "sum(jvm_memory_bytes_max{namespace=\"${namespace}\", job=\"${job}\", pod=~\"$pod\", area=\"nonheap\"})", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "Max", "metric": "jvm_memory_bytes_max", "range": true, "refId": "C", "step": 20 } ], "title": "Non-heap Memory", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "$datasource" }, "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", "lineStyle": { "fill": "solid" }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "s" }, "overrides": [ { "matcher": { "id": "byName", "options": "old count" }, "properties": [ { "id": "unit", "value": "short" }, { "id": "custom.axisPlacement", "value": "hidden" } ] }, { "matcher": { "id": "byName", "options": "young count" }, "properties": [ { "id": "unit", "value": "short" }, { "id": "custom.axisPlacement", "value": "hidden" } ] } ] }, "gridPos": { "h": 6, "w": 6, "x": 18, "y": 1 }, "id": 3, "links": [], "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": false }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "8.4.5", "targets": [ { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "sum(increase(jvm_gc_collection_seconds_sum{namespace=\"${namespace}\", job=\"${job}\", pod=~\"$pod\"}[30s]))", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "Pause", "metric": "jvm_gc_collection_seconds_count", "range": true, "refId": "B", "step": 20 } ], "title": "GC Pauses", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "$datasource" }, "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": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "decbytes" }, "overrides": [] }, "gridPos": { "h": 6, "w": 6, "x": 12, "y": 7 }, "id": 2, "links": [], "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": false }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "8.4.5", "targets": [ { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "jvm_memory_direct_bytes_used{namespace=\"${namespace}\", job=\"${job}\", pod=~\"$pod\"}\nOR\njvm_buffer_pool_used_bytes{namespace=\"${namespace}\", job=\"${job}\", pod=~\"$pod\", pool=\"direct\"}", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "Used", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "A", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "jvm_memory_direct_bytes_max{namespace=\"${namespace}\", job=\"${job}\", pod=~\"$pod\"}\nOR\njvm_buffer_pool_capacity_bytes{namespace=\"${namespace}\", job=\"${job}\", pod=~\"$pod\", pool=\"direct\"}", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "Max", "metric": "jvm_memory_direct_bytes_max", "range": true, "refId": "B", "step": 20 } ], "title": "Direct Memory", "type": "timeseries" } ], "refresh": false, "schemaVersion": 37, "style": "dark", "tags": [ "jvm", "panther", "pulsar", "featurehub" ], "templating": { "list": [ { "current": { "selected": false, "text": "iad1-k8s-prometheus", "value": "iad1-k8s-prometheus" }, "description": "Select prometheus", "hide": 0, "includeAll": false, "label": "Prometheus", "multi": false, "name": "datasource", "options": [], "query": "prometheus", "queryValue": "iad", "refresh": 1, "regex": "", "skipUrlSync": false, "type": "datasource" }, { "current": {}, "datasource": { "type": "prometheus", "uid": "${DS_IAD1-K8S-PROMETHEUS}" }, "definition": "label_values(jvm_memory_bytes_used, namespace)", "hide": 0, "includeAll": false, "label": "", "multi": false, "name": "namespace", "options": [], "query": { "query": "label_values(jvm_memory_bytes_used, namespace)", "refId": "StandardVariableQuery" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "current": {}, "datasource": { "type": "prometheus", "uid": "${DS_IAD1-K8S-PROMETHEUS}" }, "definition": "label_values(jvm_memory_bytes_used{namespace=\"${namespace}\"}, job)", "hide": 0, "includeAll": false, "label": "Job", "multi": false, "name": "job", "options": [], "query": { "query": "label_values(jvm_memory_bytes_used{namespace=\"${namespace}\"}, job)", "refId": "StandardVariableQuery" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "current": {}, "datasource": { "uid": "$datasource" }, "definition": "label_values(jvm_memory_bytes_used{namespace=\"${namespace}\", job=~\"${job}\"}, pod)", "hide": 0, "includeAll": true, "label": "", "multi": true, "name": "pod", "options": [], "query": { "query": "label_values(jvm_memory_bytes_used{namespace=\"${namespace}\", job=~\"${job}\"}, pod)", "refId": "StandardVariableQuery" }, "refresh": 2, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false } ] }, "time": { "from": "now-7d", "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": "browser", "title": "JVM non-micrometer", "uid": "YHlMurH5Z", "version": 13, "weekStart": "" } ```
Edge ``` { "__inputs": [ { "name": "DS_IAD1-K8S-PROMETHEUS", "label": "iad1-k8s-prometheus", "description": "", "type": "datasource", "pluginId": "prometheus", "pluginName": "Prometheus" } ], "__elements": {}, "__requires": [ { "type": "panel", "id": "bargauge", "name": "Bar gauge", "version": "" }, { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "9.1.5" }, { "type": "panel", "id": "heatmap", "name": "Heatmap", "version": "" }, { "type": "datasource", "id": "prometheus", "name": "Prometheus", "version": "1.0.0" }, { "type": "panel", "id": "timeseries", "name": "Time series", "version": "" } ], "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" } ] }, "description": "Featurehub edge metrics", "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": null, "links": [], "liveNow": false, "panels": [ { "datasource": { "type": "prometheus", "uid": "$datasource" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 6, "w": 6, "x": 0, "y": 0 }, "id": 43, "links": [], "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "9.1.5", "targets": [ { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(response_2xx_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - 2xx ", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "A", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(response_3xx_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - 3xx ", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "B", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(response_4xx_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - 4xx ", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "C", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(response_5xx_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - 5xx ", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "D", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(requests_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - total", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "E", "step": 20 } ], "title": "Response", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "$datasource" }, "description": "Stats for results", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 6, "w": 6, "x": 6, "y": 0 }, "id": 45, "links": [], "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "9.1.5", "targets": [ { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(edge_stat_result_no_change_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - no_change", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "A", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(edge_stat_result_update_nonsense_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - update_nonsens", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "B", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(edge_stat_result_update_no_change_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - update_no_change", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "C", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(edge_stat_result_forbidden_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - forbidden", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "D", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(edge_stat_result_success_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - success", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "E", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(edge_stat_result_failed_to_write_on_init_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - failed_to_write_on_init", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "F", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(edge_stat_result_success_until_kicked_off_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - success_until_kicked_off", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "G", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(edge_stat_result_failed_to_process_request_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - failed_to_process_request", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "H", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(edge_stat_result_missed_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - missed", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "I", "step": 20 } ], "title": "Result stats", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "$datasource" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 6, "w": 6, "x": 12, "y": 0 }, "id": 46, "links": [], "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "9.1.5", "targets": [ { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(edge_publish_success_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - success", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "A", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(edge_publish_failure_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - failure", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "B", "step": 20 } ], "title": "Publishing", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "$datasource" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 6, "w": 6, "x": 18, "y": 0 }, "id": 47, "links": [], "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "9.1.5", "targets": [ { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(dacha_client_cache_hit_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - hit", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "A", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(dacha_client_cache_miss_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - miss", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "B", "step": 20 } ], "title": "Dacha cache", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "$datasource" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 6, "w": 6, "x": 0, "y": 6 }, "id": 44, "links": [], "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "9.1.5", "targets": [ { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(edge_stat_hitsource_eventsource_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - hitsource_eventsource", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "A", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(edge_stat_hitsource_poll_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - hitsource_poll", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "B", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(edge_stat_hitsource_testsdk_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - hitsource_testsdk", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "C", "step": 20 } ], "title": "Hitsource", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "$datasource" }, "description": "Some random stats", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 6, "w": 6, "x": 6, "y": 6 }, "id": 48, "links": [], "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "9.1.5", "targets": [ { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(edge_stat_api_key_counter_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - edge_stat_api_key_counter_total", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "A", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "edge_cache_sse_listener_count_default{namespace=\"${namespace}\", pod=~\"$pod\"}", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - edge_cache_sse_listener_count_default", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "C", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "rate(edge_get_req{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - edge_get_req", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "D", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "rate(edge_get_inflight_requests{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - edge_get_inflight_requests", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "E", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "edge_envs_sse_listeners{namespace=\"${namespace}\", pod=~\"$pod\"}", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - edge_envs_sse_listeners", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "F", "step": 20 } ], "title": "Other stats", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "$datasource" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "decbytes" }, "overrides": [] }, "gridPos": { "h": 6, "w": 6, "x": 12, "y": 6 }, "id": 49, "links": [], "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "9.1.5", "targets": [ { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "process_resident_memory_bytes{namespace=\"${namespace}\", pod=~\"$pod\"}", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}}", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "A", "step": 20 } ], "title": "Resident memory", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "$datasource" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "log": 2, "type": "log" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 6, "w": 6, "x": 18, "y": 6 }, "id": 50, "links": [], "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "9.1.5", "targets": [ { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "process_max_fds{namespace=\"${namespace}\", pod=~\"$pod\"}", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - max", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "A", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "process_open_fds{namespace=\"${namespace}\", pod=~\"$pod\"}", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - open", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "B", "step": 20 } ], "title": "File descriptors", "type": "timeseries" }, { "collapsed": false, "datasource": { "type": "graphite", "uid": "000000001" }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 12 }, "id": 41, "panels": [], "repeat": "metric", "repeatDirection": "h", "targets": [ { "datasource": { "type": "graphite", "uid": "000000001" }, "refId": "A" } ], "title": "$pod - $metric", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "$datasource" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 6, "w": 24, "x": 0, "y": 13 }, "id": 2, "links": [], "options": { "displayMode": "gradient", "minVizHeight": 10, "minVizWidth": 0, "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showUnfilled": true }, "pluginVersion": "9.1.5", "targets": [ { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "${metric}_bucket{namespace=\"${namespace}\", pod=~\"$pod\"}", "format": "heatmap", "interval": "", "intervalFactor": 2, "legendFormat": "{{le}}", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "A", "step": 20 } ], "title": "Histogram", "type": "bargauge" }, { "datasource": { "type": "prometheus", "uid": "$datasource" }, "fieldConfig": { "defaults": { "custom": { "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "scaleDistribution": { "type": "linear" } } }, "overrides": [] }, "gridPos": { "h": 6, "w": 24, "x": 0, "y": 19 }, "id": 42, "links": [], "maxDataPoints": 25, "options": { "calculate": false, "cellGap": 1, "color": { "exponent": 0.5, "fill": "dark-orange", "mode": "scheme", "reverse": false, "scale": "exponential", "scheme": "Oranges", "steps": 64 }, "exemplars": { "color": "rgba(255,0,255,0.7)" }, "filterValues": { "le": 1e-9 }, "legend": { "show": true }, "rowsFrame": { "layout": "auto" }, "tooltip": { "show": true, "yHistogram": false }, "yAxis": { "axisPlacement": "left", "reverse": false, "unit": "none" } }, "pluginVersion": "9.1.5", "targets": [ { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "sum(increase(${metric}_bucket{namespace=\"${namespace}\", pod=~\"$pod\"}[$__interval])) by (le)", "format": "heatmap", "interval": "", "intervalFactor": 2, "legendFormat": "{{le}}", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "A", "step": 20 } ], "title": "Heatmap", "type": "heatmap" } ], "refresh": false, "schemaVersion": 37, "style": "dark", "tags": [ "panther", "featurehub" ], "templating": { "list": [ { "current": { "selected": true, "text": "iad1-k8s-prometheus", "value": "iad1-k8s-prometheus" }, "description": "Select prometheus", "hide": 0, "includeAll": false, "label": "Prometheus", "multi": false, "name": "datasource", "options": [], "query": "prometheus", "queryValue": "iad", "refresh": 1, "regex": "", "skipUrlSync": false, "type": "datasource" }, { "current": {}, "datasource": { "type": "prometheus", "uid": "${DS_IAD1-K8S-PROMETHEUS}" }, "definition": "label_values(readyness_count, namespace)", "hide": 0, "includeAll": false, "label": "", "multi": false, "name": "namespace", "options": [], "query": { "query": "label_values(readyness_count, namespace)", "refId": "StandardVariableQuery" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "current": {}, "datasource": { "uid": "$datasource" }, "definition": "label_values(readyness_count{namespace=\"${namespace}\", job=\"featurehub-edge\"}, pod)", "hide": 0, "includeAll": true, "label": "", "multi": true, "name": "pod", "options": [], "query": { "query": "label_values(readyness_count{namespace=\"${namespace}\", job=\"featurehub-edge\"}, pod)", "refId": "StandardVariableQuery" }, "refresh": 2, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "current": { "selected": true, "text": [ "getFeatureStates" ], "value": [ "getFeatureStates" ] }, "hide": 0, "includeAll": true, "multi": true, "name": "metric", "options": [ { "selected": false, "text": "All", "value": "$__all" }, { "selected": false, "text": "edge_conn_length_poll", "value": "edge_conn_length_poll" }, { "selected": false, "text": "edge_conn_length_sse", "value": "edge_conn_length_sse" }, { "selected": false, "text": "edge_conn_length_test", "value": "edge_conn_length_test" }, { "selected": false, "text": "edge_publish_time", "value": "edge_publish_time" }, { "selected": false, "text": "features", "value": "features" }, { "selected": true, "text": "getFeatureStates", "value": "getFeatureStates" }, { "selected": false, "text": "liveness", "value": "liveness" }, { "selected": false, "text": "metrics", "value": "metrics" }, { "selected": false, "text": "readyness", "value": "readyness" } ], "query": "edge_conn_length_poll, edge_conn_length_sse, edge_conn_length_test, edge_publish_time, features, getFeatureStates, liveness, metrics, readyness", "queryValue": "", "skipUrlSync": false, "type": "custom" } ] }, "time": { "from": "now-7d", "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": "browser", "title": "Featurehub edge", "uid": "tHFKx3tVz", "version": 19, "weekStart": "" } ```
Dacha ``` { "__inputs": [ { "name": "DS_IAD1-K8S-PROMETHEUS", "label": "iad1-k8s-prometheus", "description": "", "type": "datasource", "pluginId": "prometheus", "pluginName": "Prometheus" } ], "__elements": {}, "__requires": [ { "type": "panel", "id": "bargauge", "name": "Bar gauge", "version": "" }, { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "9.1.5" }, { "type": "panel", "id": "heatmap", "name": "Heatmap", "version": "" }, { "type": "datasource", "id": "prometheus", "name": "Prometheus", "version": "1.0.0" }, { "type": "panel", "id": "timeseries", "name": "Time series", "version": "" } ], "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" } ] }, "description": "Featurehub edge metrics", "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": null, "links": [], "liveNow": false, "panels": [ { "datasource": { "type": "prometheus", "uid": "$datasource" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "decbytes" }, "overrides": [] }, "gridPos": { "h": 6, "w": 6, "x": 0, "y": 0 }, "id": 74, "links": [], "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "9.1.5", "targets": [ { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "process_resident_memory_bytes{namespace=\"${namespace}\", pod=~\"$pod\"}", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}}", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "A", "step": 20 } ], "title": "Resident memory", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "$datasource" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "log": 2, "type": "log" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 6, "w": 6, "x": 6, "y": 0 }, "id": 61, "links": [], "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "9.1.5", "targets": [ { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "process_max_fds{namespace=\"${namespace}\", pod=~\"$pod\"}", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - max", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "A", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "process_open_fds{namespace=\"${namespace}\", pod=~\"$pod\"}", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - open", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "B", "step": 20 } ], "title": "File descriptors", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "$datasource" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 6, "w": 6, "x": 12, "y": 0 }, "id": 43, "links": [], "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "9.1.5", "targets": [ { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(response_2xx_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - 2xx ", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "A", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(response_3xx_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - 3xx ", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "B", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(response_4xx_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - 4xx ", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "C", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(response_5xx_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - 5xx ", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "D", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(requests_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - total", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "E", "step": 20 } ], "title": "Response", "type": "timeseries" }, { "collapsed": false, "datasource": { "type": "graphite", "uid": "000000001" }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 6 }, "id": 41, "panels": [], "repeat": "metric", "repeatDirection": "h", "targets": [ { "datasource": { "type": "graphite", "uid": "000000001" }, "refId": "A" } ], "title": "$pod - $metric", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "$datasource" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 6, "w": 24, "x": 0, "y": 7 }, "id": 2, "links": [], "options": { "displayMode": "gradient", "minVizHeight": 10, "minVizWidth": 0, "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showUnfilled": true }, "pluginVersion": "9.1.5", "targets": [ { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "${metric}_bucket{namespace=\"${namespace}\", pod=~\"$pod\"}", "format": "heatmap", "interval": "", "intervalFactor": 2, "legendFormat": "{{le}}", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "A", "step": 20 } ], "title": "Histogram", "type": "bargauge" }, { "datasource": { "type": "prometheus", "uid": "$datasource" }, "fieldConfig": { "defaults": { "custom": { "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "scaleDistribution": { "type": "linear" } } }, "overrides": [] }, "gridPos": { "h": 6, "w": 24, "x": 0, "y": 13 }, "id": 42, "links": [], "maxDataPoints": 25, "options": { "calculate": false, "cellGap": 1, "color": { "exponent": 0.5, "fill": "dark-orange", "mode": "scheme", "reverse": false, "scale": "exponential", "scheme": "Oranges", "steps": 64 }, "exemplars": { "color": "rgba(255,0,255,0.7)" }, "filterValues": { "le": 1e-9 }, "legend": { "show": true }, "rowsFrame": { "layout": "auto" }, "tooltip": { "show": true, "yHistogram": false }, "yAxis": { "axisPlacement": "left", "reverse": false, "unit": "none" } }, "pluginVersion": "9.1.5", "targets": [ { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "sum(increase(${metric}_bucket{namespace=\"${namespace}\", pod=~\"$pod\"}[$__interval])) by (le)", "format": "heatmap", "interval": "", "intervalFactor": 2, "legendFormat": "{{le}}", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "A", "step": 20 } ], "title": "Heatmap", "type": "heatmap" } ], "refresh": false, "schemaVersion": 37, "style": "dark", "tags": [ "panther", "featurehub" ], "templating": { "list": [ { "current": { "selected": true, "text": "iad1-k8s-prometheus", "value": "iad1-k8s-prometheus" }, "description": "Select prometheus", "hide": 0, "includeAll": false, "label": "Prometheus", "multi": false, "name": "datasource", "options": [], "query": "prometheus", "queryValue": "iad", "refresh": 1, "regex": "", "skipUrlSync": false, "type": "datasource" }, { "current": {}, "datasource": { "type": "prometheus", "uid": "${DS_IAD1-K8S-PROMETHEUS}" }, "definition": "label_values(readyness_count, namespace)", "hide": 0, "includeAll": false, "label": "", "multi": false, "name": "namespace", "options": [], "query": { "query": "label_values(readyness_count, namespace)", "refId": "StandardVariableQuery" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "current": {}, "datasource": { "uid": "$datasource" }, "definition": "label_values(readyness_count{namespace=\"${namespace}\", job=\"featurehub-dacha\"}, pod)", "hide": 0, "includeAll": true, "label": "", "multi": true, "name": "pod", "options": [], "query": { "query": "label_values(readyness_count{namespace=\"${namespace}\", job=\"featurehub-dacha\"}, pod)", "refId": "StandardVariableQuery" }, "refresh": 2, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "current": { "selected": true, "text": [ "getApiKeyDetails" ], "value": [ "getApiKeyDetails" ] }, "hide": 0, "includeAll": true, "multi": true, "name": "metric", "options": [ { "selected": false, "text": "All", "value": "$__all" }, { "selected": false, "text": "liveness", "value": "liveness" }, { "selected": false, "text": "metrics", "value": "metrics" }, { "selected": false, "text": "readyness", "value": "readyness" }, { "selected": true, "text": "getApiKeyDetails", "value": "getApiKeyDetails" }, { "selected": false, "text": "loadBalancerAck", "value": "loadBalancerAck" } ], "query": "liveness, metrics, readyness, getApiKeyDetails, loadBalancerAck", "queryValue": "", "skipUrlSync": false, "type": "custom" } ] }, "time": { "from": "now-7d", "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": "browser", "title": "Featurehub dacha", "uid": "bskmERh4k", "version": 9, "weekStart": "" } ```
Management repository ``` { "__inputs": [ { "name": "DS_IAD1-K8S-PROMETHEUS", "label": "iad1-k8s-prometheus", "description": "", "type": "datasource", "pluginId": "prometheus", "pluginName": "Prometheus" } ], "__elements": {}, "__requires": [ { "type": "panel", "id": "bargauge", "name": "Bar gauge", "version": "" }, { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "9.1.5" }, { "type": "panel", "id": "heatmap", "name": "Heatmap", "version": "" }, { "type": "datasource", "id": "prometheus", "name": "Prometheus", "version": "1.0.0" }, { "type": "panel", "id": "timeseries", "name": "Time series", "version": "" } ], "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" } ] }, "description": "Featurehub management repository metrics", "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": null, "links": [], "liveNow": false, "panels": [ { "datasource": { "type": "prometheus", "uid": "$datasource" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 6, "w": 6, "x": 0, "y": 0 }, "id": 43, "links": [], "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "9.1.5", "targets": [ { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(response_2xx_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - 2xx ", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "A", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(response_3xx_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - 3xx ", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "B", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(response_4xx_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - 4xx ", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "C", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(response_5xx_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - 5xx ", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "D", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "increase(requests_total{namespace=\"${namespace}\", pod=~\"$pod\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - total ", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "E", "step": 20 } ], "title": "Response", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "$datasource" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "decbytes" }, "overrides": [] }, "gridPos": { "h": 6, "w": 6, "x": 6, "y": 0 }, "id": 49, "links": [], "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "9.1.5", "targets": [ { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "process_resident_memory_bytes{namespace=\"${namespace}\", pod=~\"$pod\"}", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}}", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "A", "step": 20 } ], "title": "Resident memory", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "$datasource" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "log": 2, "type": "log" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 6, "w": 6, "x": 12, "y": 0 }, "id": 50, "links": [], "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "9.1.5", "targets": [ { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "process_max_fds{namespace=\"${namespace}\", pod=~\"$pod\"}", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - max", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "A", "step": 20 }, { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "process_open_fds{namespace=\"${namespace}\", pod=~\"$pod\"}", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{pod}} - open", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "B", "step": 20 } ], "title": "File descriptors", "type": "timeseries" }, { "collapsed": false, "datasource": { "type": "graphite", "uid": "000000001" }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 6 }, "id": 41, "panels": [], "repeat": "metric", "repeatDirection": "h", "targets": [ { "datasource": { "type": "graphite", "uid": "000000001" }, "refId": "A" } ], "title": "$pod - $metric", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "$datasource" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 6, "w": 24, "x": 0, "y": 7 }, "id": 2, "links": [], "options": { "displayMode": "gradient", "minVizHeight": 10, "minVizWidth": 0, "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showUnfilled": true }, "pluginVersion": "9.1.5", "targets": [ { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "${metric}_bucket{namespace=\"${namespace}\", pod=~\"$pod\"}", "format": "heatmap", "interval": "", "intervalFactor": 2, "legendFormat": "{{le}}", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "A", "step": 20 } ], "title": "Histogram", "type": "bargauge" }, { "datasource": { "type": "prometheus", "uid": "$datasource" }, "fieldConfig": { "defaults": { "custom": { "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "scaleDistribution": { "type": "linear" } } }, "overrides": [] }, "gridPos": { "h": 6, "w": 24, "x": 0, "y": 13 }, "id": 42, "links": [], "maxDataPoints": 25, "options": { "calculate": false, "cellGap": 1, "color": { "exponent": 0.5, "fill": "dark-orange", "mode": "scheme", "reverse": false, "scale": "exponential", "scheme": "Oranges", "steps": 64 }, "exemplars": { "color": "rgba(255,0,255,0.7)" }, "filterValues": { "le": 1e-9 }, "legend": { "show": true }, "rowsFrame": { "layout": "auto" }, "tooltip": { "show": true, "yHistogram": false }, "yAxis": { "axisPlacement": "left", "reverse": false, "unit": "none" } }, "pluginVersion": "9.1.5", "targets": [ { "datasource": { "uid": "$datasource" }, "editorMode": "code", "expr": "sum(increase(${metric}_bucket{namespace=\"${namespace}\", pod=~\"$pod\"}[$__interval])) by (le)", "format": "heatmap", "interval": "", "intervalFactor": 2, "legendFormat": "{{le}}", "metric": "jvm_memory_direct_bytes_used", "range": true, "refId": "A", "step": 20 } ], "title": "Heatmap", "type": "heatmap" } ], "refresh": false, "schemaVersion": 37, "style": "dark", "tags": [ "panther", "featurehub" ], "templating": { "list": [ { "current": { "selected": true, "text": "iad1-k8s-prometheus", "value": "iad1-k8s-prometheus" }, "description": "Select prometheus", "hide": 0, "includeAll": false, "label": "Prometheus", "multi": false, "name": "datasource", "options": [], "query": "prometheus", "queryValue": "iad", "refresh": 1, "regex": "", "skipUrlSync": false, "type": "datasource" }, { "current": {}, "datasource": { "type": "prometheus", "uid": "${DS_IAD1-K8S-PROMETHEUS}" }, "definition": "label_values(readyness_count, namespace)", "hide": 0, "includeAll": false, "label": "", "multi": false, "name": "namespace", "options": [], "query": { "query": "label_values(readyness_count, namespace)", "refId": "StandardVariableQuery" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "current": {}, "datasource": { "uid": "$datasource" }, "definition": "label_values(readyness_count{namespace=\"${namespace}\", job=\"featurehub-management-repository\"}, pod)", "hide": 0, "includeAll": true, "label": "", "multi": true, "name": "pod", "options": [], "query": { "query": "label_values(readyness_count{namespace=\"${namespace}\", job=\"featurehub-management-repository\"}, pod)", "refId": "StandardVariableQuery" }, "refresh": 2, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "current": { "selected": true, "text": [ "isInstalled" ], "value": [ "isInstalled" ] }, "hide": 0, "includeAll": true, "multi": true, "name": "metric", "options": [ { "selected": false, "text": "All", "value": "$__all" }, { "selected": false, "text": "liveness", "value": "liveness" }, { "selected": false, "text": "metrics", "value": "metrics" }, { "selected": false, "text": "readyness", "value": "readyness" }, { "selected": true, "text": "isInstalled", "value": "isInstalled" }, { "selected": false, "text": "searchServiceAccountsInPortfolio", "value": "searchServiceAccountsInPortfolio" }, { "selected": false, "text": "saveHiddenEnvironments", "value": "saveHiddenEnvironments" }, { "selected": false, "text": "findPortfolios", "value": "findPortfolios" }, { "selected": false, "text": "getPortfolio", "value": "getPortfolio" }, { "selected": false, "text": "findAllFeatureAndFeatureValuesForEnvironmentsByApplication", "value": "findAllFeatureAndFeatureValuesForEnvironmentsByApplication" }, { "selected": false, "text": "getHiddenEnvironments", "value": "getHiddenEnvironments" }, { "selected": false, "text": "findApplications", "value": "findApplications" }, { "selected": false, "text": "validate", "value": "validate" }, { "selected": false, "text": "token", "value": "token" }, { "selected": false, "text": "updateAllFeatureValuesByApplicationForKey", "value": "updateAllFeatureValuesByApplicationForKey" }, { "selected": false, "text": "getPerson", "value": "getPerson" } ], "query": "liveness, metrics, readyness, isInstalled, searchServiceAccountsInPortfolio, saveHiddenEnvironments, findPortfolios, getPortfolio, findAllFeatureAndFeatureValuesForEnvironmentsByApplication, getHiddenEnvironments, findApplications, validate, token, updateAllFeatureValuesByApplicationForKey, getPerson", "queryValue": "", "skipUrlSync": false, "type": "custom" } ] }, "time": { "from": "now-7d", "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": "browser", "title": "Featurehub management repository", "uid": "yhLmURh4z", "version": 4, "weekStart": "" } ```
rvowles commented 1 year ago

Thanks for this contribution - I will include it in the repo and the documentation!