File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2707,6 +2707,145 @@ data:
27072707 "title": "Advisory account data usage",
27082708 "type": "timeseries"
27092709 },
2710+ {
2711+ "datasource": {
2712+ "type": "prometheus",
2713+ "uid": "$datasource"
2714+ },
2715+ "description": "",
2716+ "fieldConfig": {
2717+ "defaults": {
2718+ "color": {
2719+ "mode": "palette-classic"
2720+ },
2721+ "custom": {
2722+ "axisBorderShow": false,
2723+ "axisCenteredZero": false,
2724+ "axisColorMode": "text",
2725+ "axisLabel": "Items",
2726+ "axisPlacement": "auto",
2727+ "barAlignment": 0,
2728+ "barWidthFactor": 0.6,
2729+ "drawStyle": "line",
2730+ "fillOpacity": 0,
2731+ "gradientMode": "none",
2732+ "hideFrom": {
2733+ "legend": false,
2734+ "tooltip": false,
2735+ "viz": false
2736+ },
2737+ "insertNulls": false,
2738+ "lineInterpolation": "linear",
2739+ "lineWidth": 1,
2740+ "pointSize": 5,
2741+ "scaleDistribution": {
2742+ "type": "linear"
2743+ },
2744+ "showPoints": "never",
2745+ "spanNulls": false,
2746+ "stacking": {
2747+ "group": "A",
2748+ "mode": "none"
2749+ },
2750+ "thresholdsStyle": {
2751+ "mode": "off"
2752+ }
2753+ },
2754+ "links": [
2755+
2756+ ],
2757+ "mappings": [
2758+
2759+ ],
2760+ "thresholds": {
2761+ "mode": "absolute",
2762+ "steps": [
2763+ {
2764+ "color": "green"
2765+ },
2766+ {
2767+ "color": "red",
2768+ "value": 80
2769+ }
2770+ ]
2771+ },
2772+ "unit": "none"
2773+ },
2774+ "overrides": [
2775+ {
2776+ "matcher": {
2777+ "id": "byName",
2778+ "options": "hit ratio"
2779+ },
2780+ "properties": [
2781+ {
2782+ "id": "custom.axisLabel",
2783+ "value": "Hit ratio"
2784+ },
2785+ {
2786+ "id": "unit",
2787+ "value": "percentunit"
2788+ },
2789+ {
2790+ "id": "custom.axisPlacement",
2791+ "value": "right"
2792+ }
2793+ ]
2794+ }
2795+ ]
2796+ },
2797+ "gridPos": {
2798+ "h": 6,
2799+ "w": 12,
2800+ "x": 12,
2801+ "y": 34
2802+ },
2803+ "id": 96,
2804+ "options": {
2805+ "legend": {
2806+ "calcs": [
2807+
2808+ ],
2809+ "displayMode": "list",
2810+ "placement": "bottom",
2811+ "showLegend": true
2812+ },
2813+ "tooltip": {
2814+ "hideZeros": false,
2815+ "mode": "multi",
2816+ "sort": "none"
2817+ }
2818+ },
2819+ "pluginVersion": "11.6.3",
2820+ "targets": [
2821+ {
2822+ "datasource": {
2823+ "type": "prometheus",
2824+ "uid": "$datasource"
2825+ },
2826+ "editorMode": "code",
2827+ "expr": "sum(patchman_engine_manager_package_account_data_cache)",
2828+ "hide": false,
2829+ "legendFormat": "items",
2830+ "range": true,
2831+ "refId": "A"
2832+ },
2833+ {
2834+ "datasource": {
2835+ "type": "prometheus",
2836+ "uid": "$datasource"
2837+ },
2838+ "editorMode": "code",
2839+ "expr": "sum(patchman_engine_manager_package_account_data_cache{type=\"hit\"})/sum(patchman_engine_manager_package_account_data_cache)",
2840+ "hide": false,
2841+ "legendFormat": "hit ratio",
2842+ "range": true,
2843+ "refId": "B"
2844+ }
2845+ ],
2846+ "title": "Package account data usage",
2847+ "type": "timeseries"
2848+ },
27102849 {
27112850 "collapsed": false,
27122851 "gridPos": {
You can’t perform that action at this time.
0 commit comments