summaryrefslogtreecommitdiffstats
path: root/src/go/collectors/go.d.plugin/modules/fluentd/charts.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/go/collectors/go.d.plugin/modules/fluentd/charts.go37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/go/collectors/go.d.plugin/modules/fluentd/charts.go b/src/go/collectors/go.d.plugin/modules/fluentd/charts.go
new file mode 100644
index 000000000..3b7d0d595
--- /dev/null
+++ b/src/go/collectors/go.d.plugin/modules/fluentd/charts.go
@@ -0,0 +1,37 @@
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+package fluentd
+
+import "github.com/netdata/netdata/go/go.d.plugin/agent/module"
+
+type (
+ // Charts is an alias for module.Charts
+ Charts = module.Charts
+ // Dim is an alias for module.Dim
+ Dim = module.Dim
+)
+
+// TODO: units for buffer charts
+var charts = Charts{
+ {
+ ID: "retry_count",
+ Title: "Plugin Retry Count",
+ Units: "count",
+ Fam: "retry count",
+ Ctx: "fluentd.retry_count",
+ },
+ {
+ ID: "buffer_queue_length",
+ Title: "Plugin Buffer Queue Length",
+ Units: "queue length",
+ Fam: "buffer",
+ Ctx: "fluentd.buffer_queue_length",
+ },
+ {
+ ID: "buffer_total_queued_size",
+ Title: "Plugin Buffer Total Size",
+ Units: "buffer total size",
+ Fam: "buffer",
+ Ctx: "fluentd.buffer_total_queued_size",
+ },
+}