dash-server

command
v0.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2022 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

dash-server is the dash command line server.

Usage:

dash-server [-datadir <dirpath>]
            [-http-listen-address <endpoint>]
            [-https-listen-address <endpoint>]
            [-prometheusx.listen-address <endpoint>]
            [-tls-cert <filepath>]
            [-tls-key <filepath>]

The server will listen for incoming DASH experiment requests and will keep serving them until it is interrupted.

By default the server listens for HTTP connections at `:8080` and for HTTPS connections at `:8443`. It assumes the TLS certificate is at `./cert.pem` and the TLS key is at `./key.pem`.

The `-datadir <dirpath>` flag specifies the directory where to write measurement results. By default is the current working directory.

The `-http-listen-address <endpoint>` flag allows to set the TCP endpoint where the server should listen for HTTP clients.

The `-https-listen-address <endpoint>` flag allows to set the TCP endpoint where the server should listen for HTTPS clients.

The `-prometheusx.listen-address <endpoint>` flag controls the TCP endpoint where the server will expose Prometheus metrics.

The `-tls-cert <filepath>` flag allows to set the TLS certificate path.

The `-tls-key <filepath>` flag allows to set the TLS key path.

The server will emit access logs on the standard output using the usual format. The server will emit error logging on the standard error using github.com/apex/log's JSON format.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL