I try to add some couchbase metrics such as couchbase cluster ram/disk, but can't identify them, but it seems defined in metrics directory in the repo. BTW what should I do if I need to add more coustom metrics in the future?
"name": "cluster",
"route": "/pools/default",
"list": [
{ "name": "ram_total_bytes", "id": "StorageTotals.ram.total", "description": "Total memory available to the cluster", "labels": [] },
{ "name": "ram_used_bytes", "id": "StorageTotals.ram.used", "description": "Memory used by the cluster", "labels": [] },
{ "name": "ram_used_by_data_bytes", "id": "StorageTotals.ram.usedByData", "description": "Memory used by the data in the cluster", "labels": [] },
{ "name": "ram_quota_total_bytes", "id": "StorageTotals.ram.quotaTotal", "description": "Total memory allocated to Couchbase in the cluster", "labels": [] },
{ "name": "ram_quota_used_bytes", "id": "StorageTotals.ram.quotaUsed", "description": "Memory quota used by the cluster", "labels": [] },
{ "name": "disk_total_bytes", "id": "StorageTotals.hdd.total", "description": "Total disk space available to the cluster", "labels": [] },
{ "name": "disk_used_bytes", "id": "StorageTotals.hdd.used", "description": "Disk space used by the cluster", "labels": [] },
{ "name": "disk_quota_total_bytes", "id": "StorageTotals.hdd.quotaTotal", "description": "Disk space quota for the cluster", "labels": [] },
{ "name": "disk_used_by_data_bytes", "id": "StorageTotals.hdd.usedByData", "description": "Disk space used by the data in the cluster", "labels": [] },
{ "name": "disk_free_bytes", "id": "StorageTotals.hdd.free", "description": "Free disk space in the cluster", "labels": [] },
]
}
I try to add some couchbase metrics such as couchbase cluster ram/disk, but can't identify them, but it seems defined in metrics directory in the repo. BTW what should I do if I need to add more coustom metrics in the future?