summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Sun <tony.sun427@gmail.com>2021-04-28 10:35:05 -0700
committerGitHub <noreply@github.com>2021-04-28 10:35:05 -0700
commit51174995e03dc60090126810c7deaaa726b48add (patch)
treec63cfac0fdca03fb5aa461d031b4713983e92de8
parent82974f60ca0de400e7188ba445feff5b48ee19c0 (diff)
parentba186bf89265f9e6602492db4efe5797a579e268 (diff)
downloadcouchdb-51174995e03dc60090126810c7deaaa726b48add.tar.gz
Merge pull request #3536 from apache/fix-additional-port-flag
fix default values for prometheus templates
-rwxr-xr-xconfigure1
-rw-r--r--rel/overlay/etc/default.ini2
2 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 0cfb469b0..07f02e802 100755
--- a/configure
+++ b/configure
@@ -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}}