<|start_filename|>metrics/cluster.json<|end_filename|>
{
    "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.QuotalTotal", "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": [] },
        { "name": "fts_ram_quota_bytes",     "id": "FtsMemoryQuota",                "description": "Memory quota allocated to full text search buckets", "labels": [] },
        { "name": "index_ram_quota_bytes",   "id": "IndexMemoryQuota",              "description": "Memory quota allocated to Index buckets",            "labels": [] },
        { "name": "data_ram_quota_bytes",    "id": "MemoryQuota",                   "description": "Memory quota allocated to Data buckets",             "labels": [] },
        { "name": "rebalance_status",        "id": "RebalanceStatus",               "description": "Rebalance status. 1:rebalancing",                    "labels": [] },
        { "name": "max_bucket_count",        "id": "MaxBucketCount",                "description": "Maximum number of buckets allowed",                  "labels": [] },
        { "name": "failover_node_count",     "id": "Counters.FailoverNode",         "description": "Number of failovers since cluster is up",            "labels": [] },
        { "name": "rebalance_success_count", "id": "Counters.RebalanceSuccess",     "description": "Number of rebalance successes since cluster is up",  "labels": [] },
        { "name": "rebalance_start_count",   "id": "Counters.RebalanceStart",       "description": "Number of rebalance starts since cluster is up",     "labels": [] },
        { "name": "rebalance_fail_count",    "id": "Counters.RebalanceFail",        "description": "Number of rebalance fails since cluster is up",      "labels": [] },
        { "name": "balanced",                "id": "Balanced",                      "description": "Status of cluster balance",                          "labels": [] }
    ]
}

<|start_filename|>metrics/bucket.json<|end_filename|>
{
    "name": "bucket",
    "route": "/pools/default/buckets",
    "list": [
        { "name": "ram_quota_percent_used", "id": "BasicStats.QuotaPercentUsed", "description": "Memory used by the bucket in percent",          "labels": ["bucket"] },
        { "name": "ops_per_second",         "id": "BasicStats.OpsPerSec",        "description": "Number of operations per second in the bucket", "labels": ["bucket"] },
        { "name": "disk_fetches",           "id": "BasicStats.DiskFetches",      "description": "Disk fetches for the bucket",                   "labels": ["bucket"] },
        { "name": "item_count",             "id": "BasicStats.ItemCount",        "description": "Number of items in the bucket",                 "labels": ["bucket"] },
        { "name": "disk_used_bytes",        "id": "BasicStats.DiskUsed",         "description": "Disk used by the bucket",                       "labels": ["bucket"] },
        { "name": "data_used_bytes",        "id": "BasicStats.DataUsed",         "description": "Data loaded in memory",                         "labels": ["bucket"] },
        { "name": "ram_used_bytes",         "id": "BasicStats.MemUsed",          "description": "Bucket RAM used",                               "labels": ["bucket"] }
    ]
}