collected

package
v1.247356.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SectionKey       = "collectd"
	SectionMappedKey = "socket_listener"
)
"collectd" : {
    "service_address": "udp://127.0.0.1:25826",
    "name_prefix": "collectd_",
    "collectd_auth_file": "/etc/collectd/auth_file",
    "collectd_security_level": "encrypt",
    "collectd_typesdb": ["/usr/share/collectd/types.db"],
    "metrics_aggregation_interval": 60
}
View Source
const SectionKey_AuthFile = "collectd_auth_file"
View Source
const SectionKey_DataFormat = "data_format"
View Source
const SectionKey_MetricsAggregationInterval = "metrics_aggregation_interval"
View Source
const SectionKey_NamePrefix = "name_prefix"
View Source
const SectionKey_SecurityLevel = "collectd_security_level"
View Source
const SectionKey_ServiceAddress = "service_address"
View Source
const SectionKey_TypesDB = "collectd_typesdb"

Variables

View Source
var ChildRule = map[string]translator.Rule{}

Functions

func GetCurPath

func GetCurPath() string

func RegisterRule

func RegisterRule(fieldname string, r translator.Rule)

Types

type AuthFile

type AuthFile struct {
}

func (*AuthFile) ApplyRule

func (obj *AuthFile) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

type CollectD

type CollectD struct {
}

func (*CollectD) ApplyRule

func (obj *CollectD) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

type MetricsAggregationInterval

type MetricsAggregationInterval struct {
}

func (*MetricsAggregationInterval) ApplyRule

func (obj *MetricsAggregationInterval) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

type NamePrefix

type NamePrefix struct {
}

func (*NamePrefix) ApplyRule

func (obj *NamePrefix) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

type ParseTags

type ParseTags struct {
}

func (*ParseTags) ApplyRule

func (obj *ParseTags) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

type SecurityLevel

type SecurityLevel struct {
}

func (*SecurityLevel) ApplyRule

func (obj *SecurityLevel) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

type ServiceAddress

type ServiceAddress struct {
}

func (*ServiceAddress) ApplyRule

func (obj *ServiceAddress) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

type TypesDB

type TypesDB struct {
}

func (*TypesDB) ApplyRule

func (obj *TypesDB) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL