diff options
Diffstat (limited to 'security/trillian/files/trillian_log_server.conf')
-rw-r--r-- | security/trillian/files/trillian_log_server.conf | 141 |
1 files changed, 141 insertions, 0 deletions
diff --git a/security/trillian/files/trillian_log_server.conf b/security/trillian/files/trillian_log_server.conf new file mode 100644 index 000000000000..223f0afeca24 --- /dev/null +++ b/security/trillian/files/trillian_log_server.conf @@ -0,0 +1,141 @@ +# NOTE: Comments are NOT allowed. Please remove ALL comments (including this +# one) and add each command line argument desired. See +# https://github.com/google/trillian/issues/2724 for details. + +# log to standard error as well as files +#--alsologtostderr + +# Fraction of merkle keyspace to dequeue from, set to zero to disable. (default 0.75) +#--cloudspanner_dequeue_bucket_fraction float + +# Interval betweek pinging sessions. +#--cloudspanner_healthcheck_interval duration + +# Max concurrent create session requests. +#--cloudspanner_max_burst_sessions uint + +# Max idle sessions. +#--cloudspanner_max_idle_sessions uint + +# Max open sessions. +#--cloudspanner_max_open_sessions uint + +# Min open sessions. +#--cloudspanner_min_open_sessions uint + +# Number of gRPC channels to use to talk to CloudSpanner. +#--cloudspanner_num_channels int + +# Number of health check workers for Spanner session pool. +#--cloudspanner_num_healthcheckers int + +# How far in the past to perform readonly operations. Within limits, raising this should help to increase performance/reduce latency. (default 1m0s) +#--cloudspanner_readonly_staleness duration + +# determines whether the session pool will keep track of the stacktrace of the goroutines that take sessions from the pool. +#--cloudspanner_track_session_handles + +# Connection URI for CloudSpanner database +#--cloudspanner_uri string + +# Fraction of write capable sessions to maintain. +#--cloudspanner_write_sessions float + +# Config file containing flags, file contents can be overridden by command line flags +#--config string + +# If set, write CPU profile to this file +#--cpuprofile string + +# Service name to announce our HTTP endpoint under (default "trillian-logserver-http") +#--etcd_http_service string + +# A comma-separated list of etcd servers; no etcd registration if empty +#--etcd_servers string + +# Service name to announce ourselves under (default "trillian-logserver") +#--etcd_service string + +# Timeout used during healthz checks (default 5s) +#--healthz_timeout duration + +# Endpoint for HTTP metrics (host:port, empty means disabled) (default "localhost:8091") +#--http_endpoint string + +# when logging hits line file:N, emit a stack trace +#--log_backtrace_at value + +# If non-empty, write log files in this directory +#--log_dir string + +# log to standard error instead of files +#--logtostderr + +# Max number of unsequenced rows before rate limiting kicks in. Only effective for quota_system=mysql. (default 500000) +#--max_unsequenced_rows int + +# If set, write memory profile to this file +#--memprofile string + +# Maximum connections to the database +#--mysql_max_conns int + +# Maximum idle database connections in the connection pool (default -1) +#--mysql_max_idle_conns int + +# Connection URI for MySQL database (default "test:zaphod@tcp(127.0.0.1:3306)/test") +#--mysql_uri string + +# Max number of concurrent workers concurrently populating subtrees (default 256) +#--populate_subtree_concurrency int + +# If true no requests are blocked due to lack of tokens +#--quota_dry_run + +# Max number of quota specs in the quota cache. Zero or lower means batching is disabled. Applicable for etcd quotas. (default 1000) +#--quota_max_cache_entries int + +# Minimum number of tokens to request from the quota system. Zero or lower means batching is disabled. Applicable for etcd quotas. (default 100) +#--quota_min_batch_size int + +# Quota system to use. One of: [noop etcd mysql] (default "mysql") +#--quota_system string + +# Endpoint for RPC requests (host:port) (default "localhost:8090") +#--rpc_endpoint string + +# logs at or above this threshold go to stderr +#--stderrthreshold value + +# Storage system to use. One of: [mysql cloud_spanner] (default "mysql") +#--storage_system string + +# Path to the TLS server certificate. If unset, the server will use unsecured connections. +#--tls_cert_file string + +# Path to the TLS server key. If unset, the server will use unsecured connections. +#--tls_key_file string + +# If true opencensus Stackdriver tracing will be enabled. See https://opencensus.io/. +#--tracing + +# Percent of requests to be traced. Zero is a special case to use the DefaultSampler +#--tracing_percent int + +# project ID to pass to stackdriver. Can be empty for GCP, consult docs for other platforms. +#--tracing_project_id string + +# Minimum interval between tree garbage collection sweeps. Actual runs happen randomly between [minInterval,2*minInterval). (default 4h0m0s) +#--tree_delete_min_run_interval duration + +# Minimum period a tree has to remain deleted before being hard-deleted (default 168h0m0s) +#--tree_delete_threshold duration + +# If true, tree garbage collection (hard-deletion) is periodically performed (default true) +#--tree_gc + +# log level for V logs +#--v value + +# comma-separated list of pattern=N settings for file-filtered logging +#--vmodule value |