Server State
Proto representation of the value returned by /server_info, containing server version/server status information.
version
(string) Server version.
state
() State of the server.
uptime_current_epoch
(Duration) Uptime since current epoch was started.
uptime_all_epochs
() Uptime since the start of the first epoch.
command_line_options
(admin.v2alpha.CommandLineOptions) Command line options the server is currently running with.
LIVE
(DEFAULT) Server is live and serving traffic.
DRAINING
Server is draining listeners in response to external health checks failing.
PRE_INITIALIZING
Server has not yet completed cluster manager initialization.
INITIALIZING
Server is running the cluster manager initialization callbacks (e.g., RDS).
[admin.v2alpha.CommandLineOptions proto]
"base_id": "...",
"concurrency": "...",
"config_path": "...",
"allow_unknown_fields": "...",
"admin_address_path": "...",
"local_address_ip_version": "...",
"log_level": "...",
"component_log_level": "...",
"log_format": "...",
"log_path": "...",
"hot_restart_version": "...",
"service_cluster": "...",
"service_zone": "...",
"drain_time": "{...}",
"parent_shutdown_time": "{...}",
"mode": "...",
"max_stats": "...",
"max_obj_name_len": "...",
"disable_hot_restart": "...",
"enable_mutex_tracing": "...",
}
base_id
() See --base-id
for details.
concurrency
() See --concurrency
for details.
config_path
config_yaml
() See --config-yaml
for details.
allow_unknown_fields
() See --allow-unknown-fields
for details.
admin_address_path
() See --admin-address-path
for details.
local_address_ip_version
log_level
() See --log-level
for details.
component_log_level
() See --component-log-level
for details.
log_format
() See --log-format
for details.
log_path
() See --log-path
for details.
hot_restart_version
() See --hot-restart-version
for details.
service_cluster
() See --service-cluster
for details.
service_node
() See --service-node
for details.
service_zone
() See --service-zone
for details.
file_flush_interval
() See --file-flush-interval-msec
for details.
() See --drain-time-s
for details.
parent_shutdown_time
() See --parent-shutdown-time-s
for details.
mode
() See --mode
for details.
max_stats
() See --max-stats
for details.
max_obj_name_len
() See --max-obj-name-len
for details.
disable_hot_restart
() See --disable-hot-restart
for details.
enable_mutex_tracing
restart_epoch
() See --restart-epoch
for details.
v4
(DEFAULT)
v6
[admin.v2alpha.CommandLineOptions.Mode proto]
Serve
(DEFAULT) Validate configs and then serve traffic normally.
Validate
Validate configs and exit.
InitOnly