-
Notifications
You must be signed in to change notification settings - Fork 507
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #937 from ctripcorp/feature/keeper_msg_collect
Feature/keeper msg collect
- Loading branch information
Showing
128 changed files
with
1,430 additions
and
3,478 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,6 +52,8 @@ public class CommonConfigBean extends AbstractConfigBean { | |
|
||
public static final String KEY_META_SYNC_EXTERNAL_DC = "meta.sync.external.dc"; | ||
|
||
public static final String KEY_KEEPERCONTAINER_DISK_INFO_COLLECT_INTERVAL_MILLS = "keeper.disk.info.collect.interval"; | ||
|
||
private String defaultRouteChooseStrategyType = RouteChooseStrategyFactory.RouteStrategyType.CRC32_HASH.name(); | ||
|
||
public CommonConfigBean() { | ||
|
@@ -84,6 +86,10 @@ public String getClusterExcludedRegex() { | |
return getProperty(KEY_ALERT_CLUSTER_EXCLUDED_REGEX, ""); | ||
} | ||
|
||
public long getKeeperContainerDiskInfoCollectIntervalMilli() { | ||
return getLongProperty(KEY_KEEPERCONTAINER_DISK_INFO_COLLECT_INTERVAL_MILLS, 10 * 60 * 1000L); | ||
} | ||
|
||
public String getDBAEmails() { | ||
return getProperty(KEY_DBA_EMAILS, "[email protected]"); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
...c/main/java/com/ctrip/xpipe/redis/checker/healthcheck/KeeperHealthCheckActionFactory.java
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
.../main/java/com/ctrip/xpipe/redis/checker/healthcheck/KeeperHealthCheckActionListener.java
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...er/src/main/java/com/ctrip/xpipe/redis/checker/healthcheck/KeeperHealthCheckInstance.java
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
...s-checker/src/main/java/com/ctrip/xpipe/redis/checker/healthcheck/KeeperInstanceInfo.java
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
.../redis-checker/src/main/java/com/ctrip/xpipe/redis/checker/healthcheck/KeeperSupport.java
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
...a/com/ctrip/xpipe/redis/checker/healthcheck/actions/keeper/AbstractKeeperInfoCommand.java
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
...pipe/redis/checker/healthcheck/actions/keeper/AbstractKeeperInfoCommandActionFactory.java
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...a/com/ctrip/xpipe/redis/checker/healthcheck/actions/keeper/AbstractKeeperInfoContext.java
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
...java/com/ctrip/xpipe/redis/checker/healthcheck/actions/keeper/KeeperStatsCheckAction.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.