Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.
This repository was archived by the owner on Sep 4, 2024. It is now read-only.

can't identify some couchbase cluster metrics #51

@victorchen2022

Description

@victorchen2022

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": [] },

    ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions