File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2584,7 +2584,7 @@ data:
25842584 "axisBorderShow": false,
25852585 "axisCenteredZero": false,
25862586 "axisColorMode": "text",
2587- "axisLabel": "items ",
2587+ "axisLabel": "Items ",
25882588 "axisPlacement": "auto",
25892589 "barAlignment": 0,
25902590 "barWidthFactor": 0.6,
@@ -2635,7 +2635,26 @@ data:
26352635 "unit": "none"
26362636 },
26372637 "overrides": [
2638-
2638+ {
2639+ "matcher": {
2640+ "id": "byName",
2641+ "options": "hit ratio"
2642+ },
2643+ "properties": [
2644+ {
2645+ "id": "custom.axisLabel",
2646+ "value": "Hit ratio"
2647+ },
2648+ {
2649+ "id": "unit",
2650+ "value": "percentunit"
2651+ },
2652+ {
2653+ "id": "custom.axisPlacement",
2654+ "value": "right"
2655+ }
2656+ ]
2657+ }
26392658 ]
26402659 },
26412660 "gridPos": {
@@ -2652,7 +2671,7 @@ data:
26522671 ],
26532672 "displayMode": "list",
26542673 "placement": "bottom",
2655- "showLegend": false
2674+ "showLegend": true
26562675 },
26572676 "tooltip": {
26582677 "hideZeros": false,
@@ -2668,14 +2687,26 @@ data:
26682687 "uid": "$datasource"
26692688 },
26702689 "editorMode": "code",
2671- "expr": "sum(patchman_engine_manager_advisory_detail_cache_size )",
2690+ "expr": "sum(patchman_engine_manager_advisory_account_data_cache )",
26722691 "hide": false,
2673- "legendFormat": "__auto ",
2692+ "legendFormat": "items ",
26742693 "range": true,
26752694 "refId": "A"
2695+ },
2696+ {
2697+ "datasource": {
2698+ "type": "prometheus",
2699+ "uid": "$datasource"
2700+ },
2701+ "editorMode": "code",
2702+ "expr": "sum(patchman_engine_manager_advisory_account_data_cache{type=\"hit\"})/sum(patchman_engine_manager_advisory_account_data_cache)",
2703+ "hide": false,
2704+ "legendFormat": "hit ratio",
2705+ "range": true,
2706+ "refId": "B"
26762707 }
26772708 ],
2678- "title": "Advisory detail cache size ",
2709+ "title": "Advisory account data usage ",
26792710 "type": "timeseries"
26802711 },
26812712 {
You can’t perform that action at this time.
0 commit comments