aboutsummaryrefslogtreecommitdiffstats
path: root/flags
diff options
context:
space:
mode:
authorHåkon Hallingstad <hakon@oath.com>2019-01-16 08:14:14 +0100
committerHåkon Hallingstad <hakon@oath.com>2019-01-16 08:14:14 +0100
commitc8aa5a5ba53c24206f390a1eee39ec3e704a5fc4 (patch)
treea1b5cbbda6b79263db725454fea7e750f75e2600 /flags
parent7b210b2bda57003de6fff1dbe28348fe6685fa0c (diff)
Support monitoring health of tenant hosts
Diffstat (limited to 'flags')
-rw-r--r--flags/src/main/java/com/yahoo/vespa/flags/Flags.java6
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.",