''
)
)
- .addTemplate(
- $.addTemplateSchema(
- 'topic',
- '$datasource',
- 'label_values(ceph_rgw_topic_persistent_topic_len,topic)',
- 1,
- true,
- 1,
- 'Topic',
- ''
- )
- )
.addPanels([
$.addRowSchema(false,
true,
'short',
|||
(
- ceph_rgw_topic_persistent_topic_len{topic=~"$topic"}
+ ceph_rgw_topic_persistent_topic_len
)
|||,
'{{topic}}',
0,
28,
- 24,
- 7
+ 12,
+ 8
),
RgwOverviewPanel(
'Persistent Topic Size',
'',
- 'bytes',
+ 'deckbytes',
'short',
|||
(
- ceph_rgw_topic_persistent_topic_size{topic=~"$topic"}
+ ceph_rgw_topic_persistent_topic_size
)
|||,
'{{topic}}',
- 0,
- 35,
- 24,
- 7
+ 12,
+ 28,
+ 12,
+ 8
),
]),
'radosgw-detail.json':
"fill": 1,
"fillGradient": 0,
"gridPos": {
- "h": 7,
- "w": 24,
+ "h": 8,
+ "w": 12,
"x": 0,
"y": 28
},
"steppedLine": false,
"targets": [
{
- "expr": "(\n ceph_rgw_topic_persistent_topic_len{topic=~\"$topic\"}\n)\n",
+ "expr": "(\n ceph_rgw_topic_persistent_topic_len\n)\n",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{topic}}",
"fillOpacity": 8,
"showPoints": "never"
},
- "unit": "bytes"
+ "unit": "deckbytes"
}
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
- "h": 7,
- "w": 24,
- "x": 0,
- "y": 35
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 28
},
"id": 16,
"legend": {
"steppedLine": false,
"targets": [
{
- "expr": "(\n ceph_rgw_topic_persistent_topic_size{topic=~\"$topic\"}\n)\n",
+ "expr": "(\n ceph_rgw_topic_persistent_topic_size\n)\n",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{topic}}",
},
"yaxes": [
{
- "format": "bytes",
+ "format": "deckbytes",
"label": null,
"logBase": 1,
"max": null,
"tagsQuery": "",
"type": "query",
"useTags": false
- },
- {
- "allValue": null,
- "current": { },
- "datasource": "$datasource",
- "hide": 0,
- "includeAll": true,
- "label": "Topic",
- "multi": false,
- "name": "topic",
- "options": [ ],
- "query": "label_values(ceph_rgw_topic_persistent_topic_len,topic)",
- "refresh": 1,
- "regex": "",
- "sort": 1,
- "tagValuesQuery": "",
- "tags": [ ],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
}
]
},