diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 11:19:16 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 12:07:37 +0000 |
commit | b485aab7e71c1625cfc27e0f92c9509f42378458 (patch) | |
tree | ae9abe108601079d1679194de237c9a435ae5b55 /src/go/collectors/go.d.plugin/modules/couchbase/charts.go | |
parent | Adding upstream version 1.44.3. (diff) | |
download | netdata-b485aab7e71c1625cfc27e0f92c9509f42378458.tar.xz netdata-b485aab7e71c1625cfc27e0f92c9509f42378458.zip |
Adding upstream version 1.45.3+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/go/collectors/go.d.plugin/modules/couchbase/charts.go')
-rw-r--r-- | src/go/collectors/go.d.plugin/modules/couchbase/charts.go | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/src/go/collectors/go.d.plugin/modules/couchbase/charts.go b/src/go/collectors/go.d.plugin/modules/couchbase/charts.go new file mode 100644 index 000000000..792718095 --- /dev/null +++ b/src/go/collectors/go.d.plugin/modules/couchbase/charts.go @@ -0,0 +1,84 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + +package couchbase + +import ( + "github.com/netdata/netdata/go/go.d.plugin/agent/module" +) + +type ( + Charts = module.Charts + Chart = module.Chart + Dim = module.Dim +) + +var bucketQuotaPercentUsedChart = Chart{ + ID: "bucket_quota_percent_used", + Title: "Quota Percent Used Per Bucket", + Units: "%", + Fam: "buckets basic stats", + Ctx: "couchbase.bucket_quota_percent_used", +} + +var bucketOpsPerSecChart = Chart{ + ID: "bucket_ops_per_sec", + Title: "Operations Per Second Per Bucket", + Units: "ops/s", + Fam: "buckets basic stats", + Ctx: "couchbase.bucket_ops_per_sec", + Type: module.Stacked, +} + +var bucketDiskFetchesChart = Chart{ + ID: "bucket_disk_fetches", + Title: "Disk Fetches Per Bucket", + Units: "fetches", + Fam: "buckets basic stats", + Ctx: "couchbase.bucket_disk_fetches", + Type: module.Stacked, +} + +var bucketItemCountChart = Chart{ + ID: "bucket_item_count", + Title: "Item Count Per Bucket", + Units: "items", + Fam: "buckets basic stats", + Ctx: "couchbase.bucket_item_count", + Type: module.Stacked, +} + +var bucketDiskUsedChart = Chart{ + ID: "bucket_disk_used_stats", + Title: "Disk Used Per Bucket", + Units: "bytes", + Fam: "buckets basic stats", + Ctx: "couchbase.bucket_disk_used_stats", + Type: module.Stacked, +} + +var bucketDataUsedChart = Chart{ + ID: "bucket_data_used", + Title: "Data Used Per Bucket", + Units: "bytes", + Fam: "buckets basic stats", + Ctx: "couchbase.bucket_data_used", + Type: module.Stacked, +} + +var bucketMemUsedChart = Chart{ + ID: "bucket_mem_used", + Title: "Memory Used Per Bucket", + Units: "bytes", + Fam: "buckets basic stats", + Ctx: "couchbase.bucket_mem_used", + Type: module.Stacked, +} + +var bucketVBActiveNumNonResidentChart = Chart{ + ID: "bucket_vb_active_num_non_resident_stats", + Title: "Number Of Non-Resident Items Per Bucket", + Units: "items", + Fam: "buckets basic stats", + Ctx: "couchbase.bucket_vb_active_num_non_resident", + Type: module.Stacked, +} |