Documentation ¶
Index ¶
Constants ¶
View Source
const SectionKey = "statsd"
"statsd" : { "service_address": ":8125", "metrics_collection_interval": 10, "metrics_aggregation_interval": 60 }
View Source
const SectionKey_AllowedPendingMessages = "allowed_pending_messages"
View Source
const SectionKey_MetricSeparator = "metric_separator"
View Source
const SectionKey_MetricsAggregationInterval = "metrics_aggregation_interval"
View Source
const SectionKey_ParseTags = "parse_data_dog_tags"
View Source
const SectionKey_ServiceAddress = "service_address"
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 AllowedPendingMessages ¶ added in v1.247346.1
type AllowedPendingMessages struct { }
func (*AllowedPendingMessages) ApplyRule ¶ added in v1.247346.1
func (obj *AllowedPendingMessages) ApplyRule(input interface{}) (returnKey string, returnVal interface{})
type MetricSeparator ¶
type MetricSeparator struct { }
func (*MetricSeparator) ApplyRule ¶
func (obj *MetricSeparator) 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 MetricsCollectionInterval ¶
type MetricsCollectionInterval struct { }
func (*MetricsCollectionInterval) ApplyRule ¶
func (obj *MetricsCollectionInterval) 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{})
Click to show internal directories.
Click to hide internal directories.