Documentation ¶
Index ¶
Constants ¶
View Source
const MetricEndpointLocal = "local"
MetricEndpointLocal text for local metric endpoint
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Metric metricConfig `toml:"metric"` Logging []zapwriter.Config `toml:"logging"` File fileConfig `toml:"file"` Prometheus promConfig `toml:"prometheus"` TCP tcpConfig `toml:"tcp"` UDP udpConfig `toml:"udp"` Uploader uploaderConfig `toml:"uploader"` }
Config for syphon server
type Duration ¶
Duration wrapper time.Duration for TOML
func (*Duration) MarshalText ¶
MarshalText encode text with TOML format
func (*Duration) UnmarshalText ¶
UnmarshalText from TOML
Click to show internal directories.
Click to hide internal directories.