diff options
author | Håkon Hallingstad <hakon@oath.com> | 2019-01-16 08:14:14 +0100 |
---|---|---|
committer | Håkon Hallingstad <hakon@oath.com> | 2019-01-16 08:14:14 +0100 |
commit | c8aa5a5ba53c24206f390a1eee39ec3e704a5fc4 (patch) | |
tree | a1b5cbbda6b79263db725454fea7e750f75e2600 /flags | |
parent | 7b210b2bda57003de6fff1dbe28348fe6685fa0c (diff) |
Support monitoring health of tenant hosts
Diffstat (limited to 'flags')
-rw-r--r-- | flags/src/main/java/com/yahoo/vespa/flags/Flags.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java index d564b21d12a..61164017303 100644 --- a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java +++ b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java @@ -30,6 +30,12 @@ public class Flags { "Takes effect only at bootstrap of config server/controller", HOSTNAME); + public static final UnboundBooleanFlag MONITOR_TENANT_HOST_HEALTH = defineFeatureFlag( + "monitor-tenant-hosts-health", false, + "Whether service monitor will monitor /state/v1/health of the host admins on the tenant hosts.", + "Flag is read when config server starts", + HOSTNAME); + public static final UnboundIntFlag DROP_CACHES = defineIntFlag("drop-caches", 3, "The int value to write into /proc/sys/vm/drop_caches for each tick. " + "1 is page cache, 2 is dentries inodes, 3 is both page cache and dentries inodes, etc.", |