ee0d6603f3
* Actually call config.Validate in diagnose * Wire configuration checks into diagnose and fix resulting bugs. * go mod vendor * Merge to vendorless version * Remove sentinel section to allow diagnose_ok to pass * Fix unit tests
47 lines
899 B
HCL
47 lines
899 B
HCL
disable_cache = true
|
|
disable_mlock = true
|
|
|
|
ui = true
|
|
|
|
listener "tcp" {
|
|
address = "127.0.0.1:1024"
|
|
tls_disable = true
|
|
}
|
|
|
|
backend "consul" {
|
|
address = "127.0.0.1:8500"
|
|
foo = "bar"
|
|
advertise_addr = "foo"
|
|
}
|
|
|
|
ha_backend "consul" {
|
|
address = "127.0.0.1:8500"
|
|
bar = "baz"
|
|
advertise_addr = "https://127.0.0.1:8500"
|
|
disable_clustering = "true"
|
|
}
|
|
|
|
service_registration "consul" {
|
|
address = "127.0.0.1:8500"
|
|
foo = "bar"
|
|
}
|
|
|
|
telemetry {
|
|
statsd_address = "bar"
|
|
usage_gauge_period = "5m"
|
|
maximum_gauge_cardinality = 100
|
|
|
|
statsite_address = "foo"
|
|
dogstatsd_addr = "127.0.0.1:7254"
|
|
dogstatsd_tags = ["tag_1:val_1", "tag_2:val_2"]
|
|
metrics_prefix = "myprefix"
|
|
}
|
|
|
|
max_lease_ttl = "10h"
|
|
default_lease_ttl = "10h"
|
|
cluster_name = "testcluster"
|
|
pid_file = "./pidfile"
|
|
raw_storage_endpoint = true
|
|
disable_sealwrap = true
|
|
disable_printable_check = true
|