Skip to content

Commit

Permalink
Migrate btrfs, couchbase, fluentd, gearman dashboards to integration…
Browse files Browse the repository at this point in the history
…s core (DataDog#8678)

* add btrfs

* add couchbase dash

* add fluentd dash

* add gearmand dash
  • Loading branch information
luisgonzalex authored Mar 2, 2021
1 parent f2b6d16 commit 77f53e3
Show file tree
Hide file tree
Showing 8 changed files with 349 additions and 4 deletions.
123 changes: 123 additions & 0 deletions btrfs/assets/dashboards/btrfs_dashboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
{
"title": "System - Btrfs",
"description": "An overview of your Btrfs metrics",
"layout_type": "ordered",
"template_variables": [
{
"default": "*",
"prefix": null,
"name": "scope"
}
],
"widgets": [
{
"definition": {
"requests": [
{
"q": "sum:system.disk.btrfs.total{$scope} by {device}"
}
],
"type": "timeseries",
"title": "Btrfs Total Available Space (bytes)"
}
},
{
"definition": {
"requests": [
{
"q": "sum:system.disk.btrfs.used{$scope} by {device}"
}
],
"type": "timeseries",
"title": "Btrfs Used Space (bytes)"
}
},
{
"definition": {
"requests": [
{
"q": "sum:system.disk.btrfs.free{$scope} by {device}"
}
],
"type": "timeseries",
"title": "Btrfs Free Space (bytes)"
}
},
{
"definition": {
"requests": [
{
"q": "avg:system.disk.btrfs.usage{$scope} by {device,usage_type,replication_type}",
"display_type": "line"
}
],
"type": "timeseries",
"title": "Btrfs Usage (%)"
}
},
{
"definition": {
"requests": [
{
"q": "sum:system.disk.btrfs.unallocated{$scope} by {device}"
}
],
"type": "timeseries",
"title": "Btrfs Unallocated Space (bytes)"
}
},
{
"definition": {
"requests": [
{
"q": "system.cpu.idle{$scope}, system.cpu.system{$scope}, system.cpu.iowait{$scope}, system.cpu.user{$scope}, system.cpu.stolen{$scope}, system.cpu.guest{$scope}"
}
],
"type": "timeseries",
"title": "CPU usage (%)"
}
},
{
"definition": {
"requests": [
{
"q": "sum:system.mem.usable{$scope},sum:system.mem.total{$scope}-sum:system.mem.usable{$scope}"
}
],
"type": "timeseries",
"title": "System memory"
}
},
{
"definition": {
"requests": [
{
"q": "system.load.1{$scope}"
},
{
"q": "system.load.5{$scope}"
},
{
"q": "system.load.15{$scope}"
}
],
"type": "timeseries",
"title": "System load"
}
},
{
"definition": {
"requests": [
{
"q": "sum:system.net.bytes_rcvd{$scope}"
},
{
"q": "sum:system.net.bytes_sent{$scope}"
}
],
"type": "timeseries",
"title": "Network traffic (per sec)"
}
}
]
}
4 changes: 3 additions & 1 deletion btrfs/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
"spec": "assets/configuration/spec.yaml"
},
"monitors": {},
"dashboards": {},
"dashboards": {
"btrfs": "assets/dashboards/btrfs_dashboard.json"
},
"service_checks": "assets/service_checks.json",
"logs": {},
"metrics_metadata": "metadata.csv"
Expand Down
125 changes: 125 additions & 0 deletions couchbase/assets/dashboards/couchbase_dashboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
{
"title": "Couchbase - Metrics",
"description": "This dashboard provides key Couchbase metrics to help you identify which clusters consume the most resources and to spot unexpected changes in network traffic. For further reading on Couchbase monitoring: \n\n- [How to monitoring Couchbase performance with Datadog](https://www.datadoghq.com/blog/monitoring-couchbase-performance-datadog/) \n\n- [Datadog’s Couchbase integration docs](https://docs.datadoghq.com/integrations/couchbase/). \n\nClone this template dashboard to make changes and add your own graph widgets.",
"layout_type": "ordered",
"template_variables": [
{
"default": "*",
"prefix": null,
"name": "scope"
}
],
"widgets": [
{
"definition": {
"requests": [
{
"q": "rate(sum:couchbase.by_bucket.get_hits{$scope})"
}
],
"type": "timeseries",
"title": "Couchbase Hits (per second)"
}
},
{
"definition": {
"requests": [
{
"q": "rate(sum:couchbase.by_bucket.bytes_read{$scope})"
},
{
"q": "rate(sum:couchbase.by_bucket.bytes_written{$scope})"
}
],
"type": "timeseries",
"title": "Couchbase Bytes read and written"
}
},
{
"definition": {
"requests": [
{
"q": "sum:couchbase.by_bucket.curr_connections{$scope}"
}
],
"type": "timeseries",
"title": "Couchbase Current connections"
}
},
{
"definition": {
"requests": [
{
"q": "sum:couchbase.by_bucket.couch_total_disk_size{$scope}"
}
],
"type": "timeseries",
"title": "Couchbase Disk size"
}
},
{
"definition": {
"requests": [
{
"q": "system.load.1{$scope}"
},
{
"q": "system.load.5{$scope}"
},
{
"q": "system.load.15{$scope}"
}
],
"type": "timeseries",
"title": "System load"
}
},
{
"definition": {
"requests": [
{
"q": "system.cpu.idle{$scope}, system.cpu.system{$scope}, system.cpu.iowait{$scope}, system.cpu.user{$scope}, system.cpu.stolen{$scope}, system.cpu.guest{$scope}"
}
],
"type": "timeseries",
"title": "CPU usage (%)"
}
},
{
"definition": {
"requests": [
{
"q": "sum:system.mem.usable{$scope},sum:system.mem.total{$scope}-sum:system.mem.usable{$scope}"
}
],
"type": "timeseries",
"title": "System memory"
}
},
{
"definition": {
"requests": [
{
"q": "sum:system.net.bytes_rcvd{$scope}"
},
{
"q": "sum:system.net.bytes_sent{$scope}"
}
],
"type": "timeseries",
"title": "Network traffic (per sec)"
}
},
{
"definition": {
"requests": [
{
"q": "max:system.cpu.iowait{$scope}"
}
],
"type": "timeseries",
"title": "I/O wait (%)"
}
}
]
}
4 changes: 3 additions & 1 deletion couchbase/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
"spec": "assets/configuration/spec.yaml"
},
"monitors": {},
"dashboards": {},
"dashboards": {
"couchbase": "assets/dashboards/couchbase_dashboard.json"
},
"service_checks": "assets/service_checks.json",
"logs": {},
"metrics_metadata": "metadata.csv",
Expand Down
47 changes: 47 additions & 0 deletions fluentd/assets/dashboards/fluentd_dashboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"title": "Fluentd - Metrics",
"description": "The FluentD dashboard provides a high-level overview of your data collector, so you can see aggregated performance metrics for all of your FluentD plugins. Further reading on FluentD monitoring:\n\n- [Datadog's FluentD integration docs](https://docs.datadoghq.com/integrations/fluentd/)\n\n- [How to monitor FluentD](https://www.datadoghq.com/blog/monitor-fluentd-datadog/)\n\nClone this template dashboard to make changes and add your own graph widgets.",
"layout_type": "ordered",
"template_variables": [
{
"default": "*",
"prefix": null,
"name": "scope"
}
],
"widgets": [
{
"definition": {
"requests": [
{
"q": "fluentd.retry_count{$scope} by {host}"
}
],
"type": "timeseries",
"title": "Fluentd - Retry count"
}
},
{
"definition": {
"requests": [
{
"q": "fluentd.buffer_queue_length{$scope} by {host}"
}
],
"type": "timeseries",
"title": "Fluentd - Buffer queue length (chunks)"
}
},
{
"definition": {
"requests": [
{
"q": "fluentd.buffer_total_queued_size{$scope} by {host}"
}
],
"type": "timeseries",
"title": "Fluentd - Buffer total size (bytes)"
}
}
]
}
4 changes: 3 additions & 1 deletion fluentd/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
"spec": "assets/configuration/spec.yaml"
},
"monitors": {},
"dashboards": {},
"dashboards": {
"fluentd": "assets/dashboards/fluentd_dashboard.json"
},
"service_checks": "assets/service_checks.json",
"logs": {},
"metrics_metadata": "metadata.csv",
Expand Down
42 changes: 42 additions & 0 deletions gearmand/assets/dashboards/gearman_dashboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"title": "Gearman - Metrics",
"description": "An overview of your Gearman metrics",
"layout_type": "ordered",
"template_variables": [
{
"default": "*",
"prefix": null,
"name": "scope"
}
],
"widgets": [
{
"definition": {
"requests": [
{
"q": "sum:gearman.running{$scope}"
},
{
"q": "sum:gearman.queued{$scope}"
},
{
"q": "sum:gearman.workers{$scope}"
}
],
"type": "timeseries",
"title": "Gearman - Tasks and workers"
}
},
{
"definition": {
"requests": [
{
"q": "sum:gearman.unique_tasks{$scope}"
}
],
"type": "timeseries",
"title": "Gearman - Unique tasks"
}
}
]
}
4 changes: 3 additions & 1 deletion gearmand/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
"spec": "assets/configuration/spec.yaml"
},
"monitors": {},
"dashboards": {},
"dashboards": {
"gearman": "assets/dashboards/gearman_dashboard.json"
},
"service_checks": "assets/service_checks.json",
"logs": {
"source": "gearman"
Expand Down

0 comments on commit 77f53e3

Please sign in to comment.