master
go 37 lines 822 Bytes
Raw
1 // SPDX-License-Identifier: GPL-3.0-or-later
2
3 package fluentd
4
5 import "github.com/netdata/netdata/go/plugins/plugin/framework/collectorapi"
6
7 type (
8 // Charts is an alias for collectorapi.Charts
9 Charts = collectorapi.Charts
10 // Dim is an alias for collectorapi.Dim
11 Dim = collectorapi.Dim
12 )
13
14 // TODO: units for buffer charts
15 var charts = Charts{
16 {
17 ID: "retry_count",
18 Title: "Plugin Retry Count",
19 Units: "count",
20 Fam: "retry count",
21 Ctx: "fluentd.retry_count",
22 },
23 {
24 ID: "buffer_queue_length",
25 Title: "Plugin Buffer Queue Length",
26 Units: "queue length",
27 Fam: "buffer",
28 Ctx: "fluentd.buffer_queue_length",
29 },
30 {
31 ID: "buffer_total_queued_size",
32 Title: "Plugin Buffer Total Size",
33 Units: "buffer total size",
34 Fam: "buffer",
35 Ctx: "fluentd.buffer_total_queued_size",
36 },
37 }