package
0.10.1
Repository: https://github.com/orangetux/telegraf.git
Documentation: pkg.go.dev

# Functions

GetLocalHost returns the DOCKER_HOST environment variable, parsing out any scheme or ports so that only the IP address is returned.
MockBatchPoints returns a mock BatchPoints object for using in unit tests of telegraf output sinks.
TestPoint Returns a simple test point: measurement -> "test1" or name tags -> "tag1":"value1" value -> value time -> time.Date(2009, time.November, 10, 23, 0, 0, 0, time.UTC).

# Structs

Accumulator defines a mocked out accumulator.
Point defines a single point measurement.