Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

Commit d3dcff3

Browse files
committed
Update documentation/config examples to show how to use port in DiscoveryIgnoreReplicaHostnameFilters.
1 parent 30e93e5 commit d3dcff3

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

conf/orchestrator-sample-sqlite.conf.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"InstancePollSeconds": 5,
1919
"DiscoveryIgnoreReplicaHostnameFilters": [
2020
"a_host_i_want_to_ignore[.]example[.]com",
21-
".*[.]ignore_all_hosts_from_this_domain[.]example[.]com"
21+
".*[.]ignore_all_hosts_from_this_domain[.]example[.]com",
22+
"a_host_with_extra_port_i_want_to_ignore[.]example[.]com:3307"
2223
],
2324
"UnseenInstanceForgetHours": 240,
2425
"SnapshotTopologiesIntervalHours": 0,

conf/orchestrator-sample.conf.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
"InstancePollSeconds": 5,
2828
"DiscoveryIgnoreReplicaHostnameFilters": [
2929
"a_host_i_want_to_ignore[.]example[.]com",
30-
".*[.]ignore_all_hosts_from_this_domain[.]example[.]com"
30+
".*[.]ignore_all_hosts_from_this_domain[.]example[.]com",
31+
"a_host_with_extra_port_i_want_to_ignore[.]example[.]com:3307"
3132
],
3233
"UnseenInstanceForgetHours": 240,
3334
"SnapshotTopologiesIntervalHours": 0,

conf/orchestrator-simple.conf.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"InstancePollSeconds": 5,
2020
"DiscoveryIgnoreReplicaHostnameFilters": [
2121
"a_host_i_want_to_ignore[.]example[.]com",
22-
".*[.]ignore_all_hosts_from_this_domain[.]example[.]com"
22+
".*[.]ignore_all_hosts_from_this_domain[.]example[.]com",
23+
"a_host_with_extra_port_i_want_to_ignore[.]example[.]com:3307"
2324
],
2425
"HostnameResolveMethod": "default",
2526
"MySQLHostnameResolveMethod": "@@hostname",

docs/configuration-sample.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ The following is a production configuration file, with some details redacted.
3131
"InstancePollSeconds": 5,
3232
"DiscoveryIgnoreReplicaHostnameFilters": [
3333
"a_host_i_want_to_ignore[.]example[.]com",
34-
".*[.]ignore_all_hosts_from_this_domain[.]example[.]com"
34+
".*[.]ignore_all_hosts_from_this_domain[.]example[.]com",
35+
"a_host_with_extra_port_i_want_to_ignore[.]example[.]com:3307"
3536
],
3637
"ReadLongRunningQueries": false,
3738
"SkipMaxScaleCheck": true,

0 commit comments

Comments
 (0)