summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiana Corbacho <diana@rabbitmq.com>2019-04-17 08:50:53 +0100
committerDiana Corbacho <diana@rabbitmq.com>2019-04-17 08:51:45 +0100
commit1dbf14171291f25eeafef59de29b607795a8ec7a (patch)
treefba746ce9aba1ee3bf48a9a418aa0eba65051f72
parent4c6e9b39bbbf934b5df662e5069518f524a4423d (diff)
downloadrabbitmq-server-git-1dbf14171291f25eeafef59de29b607795a8ec7a.tar.gz
Add cuttlefish schema for agent/disable_metrics_collector
[#164376052]
-rw-r--r--deps/rabbitmq_management_agent/priv/schema/rabbitmq_management_agent.schema4
1 files changed, 4 insertions, 0 deletions
diff --git a/deps/rabbitmq_management_agent/priv/schema/rabbitmq_management_agent.schema b/deps/rabbitmq_management_agent/priv/schema/rabbitmq_management_agent.schema
new file mode 100644
index 0000000000..fa8a76725a
--- /dev/null
+++ b/deps/rabbitmq_management_agent/priv/schema/rabbitmq_management_agent.schema
@@ -0,0 +1,4 @@
+%% Agent collectors won't start if metrics collection is disabled, only external stats are enabled.
+%% Also the management application will refuse to start if metrics collection is disabled
+{mapping, "management_agent.disable_metrics_collector", "rabbitmq_management_agent.disable_metrics_collector",
+ [{datatype, {enum, [true, false]}}]}.