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.

    hot_restart_version

    (string) Hot restart version.

    command_line_options

    () Command line options the server is currently running with.

    [admin.v3.ServerInfo.State proto]

    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).

    1. "base_id": "...",
    2. "concurrency": "...",
    3. "config_path": "...",
    4. "config_yaml": "...",
    5. "reject_unknown_dynamic_fields": "...",
    6. "admin_address_path": "...",
    7. "local_address_ip_version": "...",
    8. "log_level": "...",
    9. "component_log_level": "...",
    10. "log_format": "...",
    11. "log_format_escaped": "...",
    12. "log_path": "...",
    13. "service_cluster": "...",
    14. "service_node": "...",
    15. "drain_time": "{...}",
    16. "parent_shutdown_time": "{...}",
    17. "mode": "...",
    18. "disable_hot_restart": "...",
    19. "enable_mutex_tracing": "...",
    20. "restart_epoch": "...",
    21. "cpuset_threads": "...",
    22. "disabled_extensions": []
    23. }

    base_id

    (uint64) See for details.

    concurrency

    (uint32) See for details.

    (string) See for details.

    config_yaml

    (string) See for details.

    allow_unknown_static_fields

    (bool) See for details.

    reject_unknown_dynamic_fields

    (bool) See for details.

    admin_address_path

    (string) See for details.

    local_address_ip_version

    (admin.v3.CommandLineOptions.IpVersion) See for details.

    log_level

    (string) See for details.

    component_log_level

    (string) See for details.

    log_format

    (string) See for details.

    log_format_escaped

    (bool) See for details.

    log_path

    (string) See for details.

    service_cluster

    (string) See for details.

    service_node

    (string) See for details.

    service_zone

    (string) See for details.

    (Duration) See for details.

    drain_time

    (Duration) See for details.

    parent_shutdown_time

    (Duration) See for details.

    mode

    (admin.v3.CommandLineOptions.Mode) See for details.

    disable_hot_restart

    (bool) See for details.

    enable_mutex_tracing

    (bool) See for details.

    restart_epoch

    (uint32) See for details.

    cpuset_threads

    (bool) See for details.

    disabled_extensions

    (string) See for details.

    [admin.v3.CommandLineOptions.IpVersion proto]

    v4

    (DEFAULT)

    v6

    Serve

    (DEFAULT) ⁣Validate configs and then serve traffic normally.

    Validate

    ⁣Validate configs and exit.

    ⁣Completely load and initialize the config, and then exit without running the listener loop.