Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the DiscoveryIgnoreReplicaHostnameFilters in the sample configuration. #815

Merged
merged 2 commits into from
Mar 2, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions conf/orchestrator-sample-sqlite.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
"DefaultInstancePort": 3306,
"DiscoverByShowSlaveHosts": true,
"InstancePollSeconds": 5,
"DiscoveryIgnoreReplicaHostnameFilters": [
"a_host_i_want_to_ignore[.]example[.]com",
".*[.]ignore_all_hosts_from_this_domain[.]example[.]com"
],
"UnseenInstanceForgetHours": 240,
"SnapshotTopologiesIntervalHours": 0,
"InstanceBulkOperationsWaitTimeoutSeconds": 10,
Expand Down
4 changes: 4 additions & 0 deletions conf/orchestrator-sample.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
"DefaultInstancePort": 3306,
"DiscoverByShowSlaveHosts": true,
"InstancePollSeconds": 5,
"DiscoveryIgnoreReplicaHostnameFilters": [
"a_host_i_want_to_ignore[.]example[.]com",
".*[.]ignore_all_hosts_from_this_domain[.]example[.]com"
],
"UnseenInstanceForgetHours": 240,
"SnapshotTopologiesIntervalHours": 0,
"InstanceBulkOperationsWaitTimeoutSeconds": 10,
Expand Down
4 changes: 4 additions & 0 deletions conf/orchestrator-simple.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
"#": "-----",
"DiscoverByShowSlaveHosts": true,
"InstancePollSeconds": 5,
"DiscoveryIgnoreReplicaHostnameFilters": [
"a_host_i_want_to_ignore[.]example[.]com",
".*[.]ignore_all_hosts_from_this_domain[.]example[.]com"
],
"HostnameResolveMethod": "default",
"MySQLHostnameResolveMethod": "@@hostname",
"ReasonableReplicationLagSeconds": 10,
Expand Down
4 changes: 4 additions & 0 deletions docs/configuration-sample.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ The following is a production configuration file, with some details redacted.
"SlaveStartPostWaitMilliseconds": 1000,
"DiscoverByShowSlaveHosts": false,
"InstancePollSeconds": 5,
"DiscoveryIgnoreReplicaHostnameFilters": [
"a_host_i_want_to_ignore[.]example[.]com",
".*[.]ignore_all_hosts_from_this_domain[.]example[.]com"
],
"ReadLongRunningQueries": false,
"SkipMaxScaleCheck": true,
"BinlogFileHistoryDays": 10,
Expand Down