github.com/netdata/go.d.plugin@v0.58.1/modules/fluentd/charts.go (about)

     1  // SPDX-License-Identifier: GPL-3.0-or-later
     2  
     3  package fluentd
     4  
     5  import "github.com/netdata/go.d.plugin/agent/module"
     6  
     7  type (
     8  	// Charts is an alias for module.Charts
     9  	Charts = module.Charts
    10  	// Dim is an alias for module.Dim
    11  	Dim = module.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  }