Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Conf ¶
type Conf struct { BinaryLocation string WorkingDir string WorkerProcesses int WorkerConnections int WorkerShutdownTimeoutSeconds int KeepaliveSeconds int BackendKeepalives int BackendConnectTimeoutSeconds int ServerNamesHashBucketSize int ServerNamesHashMaxSize int HealthPort int TrustedFrontends []string Ports []Port LogLevel string ProxyProtocol bool AccessLog bool AccessLogDir string LogHeaders []string AccessLogHeaders string UpdatePeriod time.Duration SSLPath string OpenTracingPlugin string OpenTracingConfig string HTTPConf }
Conf configuration for nginx
type HTTPConf ¶ added in v1.12.0
type HTTPConf struct { ClientHeaderBufferSize int ClientBodyBufferSize int LargeClientHeaderBufferBlocks int }
HTTPConf configuration for http core module of nginx
type VTSConnections ¶
type VTSConnections struct { Active float64 `json:"active"` Reading float64 `json:"reading"` Writing float64 `json:"writing"` Waiting float64 `json:"waiting"` Accepted float64 `json:"accepted"` Handled float64 `json:"handled"` Requests float64 `json:"requests"` }
VTSConnections represents json of the connections.
type VTSMetrics ¶
type VTSMetrics struct { Connections *VTSConnections `json:"connections"` FilterZones map[string]map[string]VTSRequestData `json:"filterZones"` UpstreamZones map[string][]VTSRequestData `json:"upstreamZones"` }
VTSMetrics represents the json returned by the vts nginx plugin.
type VTSRequestData ¶
type VTSRequestData struct { Server string `json:"server"` InBytes float64 `json:"inBytes"` OutBytes float64 `json:"outBytes"` Responses *VTSResponses `json:"responses"` }
VTSRequestData contains request details.
Click to show internal directories.
Click to hide internal directories.