aboutsummaryrefslogtreecommitdiffstats
path: root/flags
diff options
context:
space:
mode:
authorHÃ¥kon Hallingstad <hakon@oath.com>2019-01-16 10:02:15 +0100
committerGitHub <noreply@github.com>2019-01-16 10:02:15 +0100
commit00c24c453d4a79f6d1298e5722ba09398a9d26f4 (patch)
tree8c92d1b5795a097955bc2de3794951228d584dea /flags
parent6c349cc6f15c1dfe5e5393c5425a334000280289 (diff)
parentc8aa5a5ba53c24206f390a1eee39ec3e704a5fc4 (diff)
Merge pull request #8168 from vespa-engine/hakonhall/support-monitoring-health-of-tenant-hosts
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 3d304adc71d..57392ccef55 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.",