[metric] # Endpoint for store internal carbon metrics. # Valid values: "" or "local", "tcp://host:port", "udp://host:port" endpoint = "local" # Interval of storing internal metrics. Like CARBON_METRIC_INTERVAL interval = "1m0s" [[uploader.udp]] enabled = false host = "127.0.0.1" port = 2004 [[uploader.tcp]] enabled = false host = "127.0.0.1" port = 2004 [[uploader.file]] enabled = true path = "metrics_received.txt" # RegEx pattern to use to Determine if metric should be sent # Supports full regex from https://docs.rs/regex/1.3.6/regex/ pattern="metric.path*" # Designed for use with carbon-clickhouse # https://github.com/lomik/carbon-clickhouse/blob/master/grpc/carbon.proto [[uploader.grpc]] enabled = false host = "127.0.0.1" port = 2005 [file] enabled = true path = "metrics.txt" [udp] enabled = true listen = "127.0.0.1:2003" # Setting mode to promiscuous sets the interface to promiscuously listen # Allows to see traffic on a port already in use # mode = "promiscuous" [tcp] enabled = true listen = "127.0.0.1:2003" [prometheus] enabled = true listen = "127.0.0.1:2006"