Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { LogProviderAddr string `env:"LOGS_PROVIDER_ADDR, required, report"` LogsProviderTLS LogsProviderTLS MetricStoreAddr string `env:"METRIC_STORE_ADDR, required, report"` MetricStoreTLS MetricStoreClientTLS MetricStoreMetricsTLS MetricStoreMetricsTLS IngressAddr string `env:"INGRESS_ADDR, required, report"` HealthPort int `env:"HEALTH_PORT, report"` ShardId string `env:"SHARD_ID, required, report"` TimerRollupBufferSize uint `env:"TIMER_ROLLUP_BUFFER_SIZE, report"` NodeIndex int `env:"NODE_INDEX, report"` LogLevel string `env:"LOG_LEVEL, report"` }
Config is the configuration for a MetricStore.
func LoadConfig ¶
func LoadConfig() *Config
LoadConfig creates Config object from environment variables
type LogsProviderTLS ¶
type LogsProviderTLS struct { LogProviderCA string `env:"LOGS_PROVIDER_CA_PATH, required, report"` LogProviderCert string `env:"LOGS_PROVIDER_CERT_PATH, required, report"` LogProviderKey string `env:"LOGS_PROVIDER_KEY_PATH, required, report"` }
LogsProviderTLS is the LogsProviderTLS configuration for a MetricStore.
type MetricStoreClientTLS ¶
type MetricStoreMetricsTLS ¶ added in v1.3.0
type NozzleApp ¶
type NozzleApp struct {
// contains filtered or unexported fields
}
func (*NozzleApp) DebugAddr ¶
DebugAddr returns the address (host and port) that the debug server is bound to. If the debug server has not been started an empty string will be returned.
Click to show internal directories.
Click to hide internal directories.