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]

    1. "base_id": "...",
    2. "concurrency": "...",
    3. "config_path": "...",
    4. "allow_unknown_fields": "...",
    5. "admin_address_path": "...",
    6. "local_address_ip_version": "...",
    7. "log_level": "...",
    8. "component_log_level": "...",
    9. "log_format": "...",
    10. "log_path": "...",
    11. "hot_restart_version": "...",
    12. "service_cluster": "...",
    13. "service_zone": "...",
    14. "drain_time": "{...}",
    15. "parent_shutdown_time": "{...}",
    16. "mode": "...",
    17. "max_stats": "...",
    18. "max_obj_name_len": "...",
    19. "disable_hot_restart": "...",
    20. "enable_mutex_tracing": "...",
    21. }

    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

    () See for details.

    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

    () See for details.

    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