diff options
author | Tony Sun <tony.sun427@gmail.com> | 2021-04-28 09:48:43 -0700 |
---|---|---|
committer | Tony Sun <tony.sun427@gmail.com> | 2021-04-28 09:48:43 -0700 |
commit | ba186bf89265f9e6602492db4efe5797a579e268 (patch) | |
tree | 215149270f40fb4a3d22f50cfeb76d159baf5eca | |
parent | ff2242c5f90fd307eb5df52bc09952b1e580e3f2 (diff) | |
download | couchdb-fix-additional-port-flag.tar.gz |
fix default values for prometheus templatesfix-additional-port-flag
couch_prometheus's additional http server should be off by default
and the port should have a default value of 17986 when running
make release
-rwxr-xr-x | configure | 1 | ||||
-rw-r--r-- | rel/overlay/etc/default.ini | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -220,6 +220,7 @@ cat > rel/couchdb.config << EOF {node_name, "-name couchdb@127.0.0.1"}. {cluster_port, 5984}. {backend_port, 5986}. +{prometheus_port, 17986}. EOF cat > install.mk << EOF diff --git a/rel/overlay/etc/default.ini b/rel/overlay/etc/default.ini index 58cd6a0a4..e267b4a30 100644 --- a/rel/overlay/etc/default.ini +++ b/rel/overlay/etc/default.ini @@ -694,6 +694,6 @@ writer = stderr ;cache_expiration_check_sec = 10 [prometheus] -additional_port = true +additional_port = false bind_address = 127.0.0.1 port = {{prometheus_port}} |