Documentation ¶
Index ¶
Constants ¶
View Source
const MetricEndpointLocal = "local"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type App ¶
type App struct { sync.RWMutex Config *Config Writer *writer.Writer Uploader *uploader.Uploader UDP receiver.Receiver TCP receiver.Receiver Collector *Collector // (!!!) Should be re-created on every change config/modules // contains filtered or unexported fields }
func (*App) ClearTreeExistsCache ¶ added in v0.3.1
func (app *App) ClearTreeExistsCache()
ClearTreeExistsCache in Uploader
type Collector ¶
func NewCollector ¶
type Config ¶
type Config struct { Common commonConfig `toml:"common"` Logging loggingConfig `toml:"logging"` ClickHouse clickhouseConfig `toml:"clickhouse"` Data dataConfig `toml:"data"` Udp udpConfig `toml:"udp"` Tcp tcpConfig `toml:"tcp"` Pprof pprofConfig `toml:"pprof"` }
Config ...
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.