Module command

Source
Expand description

Contains all types received by and sent from Sōzu

Modules§

filtered_metrics
Nested message and enum types in FilteredMetrics.
ip_address
Nested message and enum types in IpAddress.
protobuf_endpoint
Nested message and enum types in ProtobufEndpoint.
request
Nested message and enum types in Request.
response_content
Nested message and enum types in ResponseContent.

Structs§

ActivateListener
AddBackend
add a backend
AddCertificate
Add a new TLS certificate to an HTTPs listener
AggregatedMetrics
Aggregated metrics of main process & workers
AvailableMetrics
lists of available metrics in a worker, or in the main process (in which case there are no cluster metrics)
BackendMetrics
Bucket
a prometheus histogram bucket
CertificateAndKey
CertificateSummary
domain name and fingerprint of a certificate
CertificatesByAddress
Summaries of certificates for a given address
CertificatesWithFingerprints
to reply to several certificate queries
Cluster
A cluster is what binds a frontend to backends with routing rules
ClusterHashes
ClusterInformation
Information about a given cluster Contains types usually used in requests, because they are readily available in protobuf
ClusterInformations
ClusterMetrics
the metrics of a given cluster, with several backends
CountRequests
CustomHttpAnswers
custom HTTP answers, useful for 404, 503 pages
DeactivateListener
Event
an event produced by a worker to notify about backends status
FilteredHistogram
a histogram meant to be translated to prometheus
FilteredMetrics
A metric, in a “filtered” format, which means: sendable to outside programs.
FilteredTimeSerie
FrontendFilters
list the frontends, filtered by protocol and/or domain
HardStop
HttpEndpoint
HttpListenerConfig
details of an HTTP listener
HttpsListenerConfig
details of an HTTPS listener
InitialState
the Sōzu state, passed to a new worker. Consists in a collection of worker requests
IpAddress
ListListeners
ListOfCertificatesByAddress
Used by workers to reply to some certificate queries
ListWorkers
ListedFrontends
lists of frontends present in the state
ListenersCount
Addresses of listeners, passed to new workers
ListenersList
All listeners, listed
LoadBalancingParams
PathRule
A filter for the path of incoming requests
Percentiles
ProtobufAccessLog
An access log, meant to be passed to another agent
ProtobufEndpoint
QueryCertificatesFilters
Should be either a domain name or a fingerprint. These filter do not compound, use either one but not both. If none of them is specified, all certificates will be returned.
QueryClusterByDomain
QueryClustersHashes
QueryMetricsOptions
Options when querying metrics
RemoveBackend
remove an existing backend
RemoveCertificate
RemoveListener
ReplaceCertificate
Request
A message received by Sōzu to change its state or query information
RequestCounts
RequestHttpFrontend
An HTTP or HTTPS frontend, as order to, or received from, Sōzu
RequestTcpFrontend
Response
Response to a request
ResponseContent
content of a response
ReturnListenSockets
ServerConfig
Used by a worker to start its server loop. The defaults should match those of the config module
ServerMetricsConfig
intended to workers
SocketAddress
matches std::net::SocketAddr in the Rust library beware that the ports are expressed with uint32 here, but they should NOT exceed uint16 value
SoftStop
Status
SubscribeEvents
TcpEndpoint
TcpListenerConfig
details of an TCP listener
Uint128
used to represent the 128 bits of an IPv6 address
UpgradeMain
WorkerInfo
Information about a worker with id, pid, runstate
WorkerInfos
A list of worker infos
WorkerMetrics
All metrics of a worker: proxy and clusters Populated by Options so partial results can be sent
WorkerRequest
This is sent only from Sōzu to Sōzu
WorkerResponse
A response as sent by a worker
WorkerResponses
a map of worker_id -> ResponseContent

Enums§

EventKind
ListenerType
LoadBalancingAlgorithms
LoadMetric
how sozu measures which backend is less loaded
MetricsConfiguration
options to configure metrics collection
PathRuleKind
The kind of filter used for path rules
ProtobufAccessLogFormat
ProxyProtocolConfig
ResponseStatus
RulePosition
TODO: find a proper definition for this
RunState
Runstate of a worker
TlsVersion