File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2583,7 +2583,7 @@ data:
25832583 "axisBorderShow": false,
25842584 "axisCenteredZero": false,
25852585 "axisColorMode": "text",
2586- "axisLabel": "items ",
2586+ "axisLabel": "Items ",
25872587 "axisPlacement": "auto",
25882588 "barAlignment": 0,
25892589 "barWidthFactor": 0.6,
@@ -2618,7 +2618,6 @@ data:
26182618 "mappings": [
26192619
26202620 ],
2621- "noValue": "0%",
26222621 "thresholds": {
26232622 "mode": "absolute",
26242623 "steps": [
@@ -2634,7 +2633,26 @@ data:
26342633 "unit": "none"
26352634 },
26362635 "overrides": [
2637-
2636+ {
2637+ "matcher": {
2638+ "id": "byName",
2639+ "options": "hit ratio"
2640+ },
2641+ "properties": [
2642+ {
2643+ "id": "custom.axisLabel",
2644+ "value": "Hit ratio"
2645+ },
2646+ {
2647+ "id": "unit",
2648+ "value": "percentunit"
2649+ },
2650+ {
2651+ "id": "custom.axisPlacement",
2652+ "value": "right"
2653+ }
2654+ ]
2655+ }
26382656 ]
26392657 },
26402658 "gridPos": {
@@ -2651,7 +2669,7 @@ data:
26512669 ],
26522670 "displayMode": "list",
26532671 "placement": "bottom",
2654- "showLegend": false
2672+ "showLegend": true
26552673 },
26562674 "tooltip": {
26572675 "hideZeros": false,
@@ -2667,14 +2685,26 @@ data:
26672685 "uid": "$datasource"
26682686 },
26692687 "editorMode": "code",
2670- "expr": "sum(patchman_engine_manager_advisory_detail_cache_size )",
2688+ "expr": "sum(patchman_engine_manager_advisory_account_data_cache )",
26712689 "hide": false,
2672- "legendFormat": "__auto ",
2690+ "legendFormat": "items ",
26732691 "range": true,
26742692 "refId": "A"
2693+ },
2694+ {
2695+ "datasource": {
2696+ "type": "prometheus",
2697+ "uid": "$datasource"
2698+ },
2699+ "editorMode": "code",
2700+ "expr": "sum(patchman_engine_manager_advisory_account_data_cache{type=\"hit\"})/sum(patchman_engine_manager_advisory_account_data_cache)",
2701+ "hide": false,
2702+ "legendFormat": "hit ratio",
2703+ "range": true,
2704+ "refId": "B"
26752705 }
26762706 ],
2677- "title": "Advisory detail cache size ",
2707+ "title": "Advisory account data usage ",
26782708 "type": "timeseries"
26792709 },
26802710 {
You can’t perform that action at this time.
0 commit comments