1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 // Arvados-ws exposes Arvados APIs (currently just one, the
6 // cache-invalidation event feed at "ws://.../websocket") to
9 // Installation and configuration
11 // See https://doc.arvados.org/install/install-ws.html.
15 // See https://dev.arvados.org/projects/arvados/wiki/Hacking_websocket_server.
19 // arvados-ws [-legacy-ws-config /etc/arvados/ws/ws.yml] [-dump-config]
23 // -legacy-ws-config path
25 // Load legacy configuration from the given file instead of the default
26 // /etc/arvados/ws/ws.yml, legacy config overrides the clusterwide config.yml.
30 // Print the loaded configuration to stdout and exit.
34 // Logs are printed to stderr, formatted as JSON.
36 // A log is printed each time a client connects or disconnects.
38 // Enable additional logs by configuring:
44 // GET /debug.json responds with debug stats.
46 // GET /status.json responds with health check results and
47 // activity/usage metrics.