summaryrefslogtreecommitdiffstats
path: root/src/go/collectors/go.d.plugin/modules/fluentd/charts.go
blob: 3b7d0d595503990077a981cc15a2a2804271ff5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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",
	},
}