From 38ac9d2ecf763e565c63b56a9357f8fa2d445847 Mon Sep 17 00:00:00 2001 From: Sergio Jimenez Date: Thu, 11 Feb 2016 01:37:24 +0100 Subject: [PATCH] List mesos in main README And on the test configuration file --- README.md | 1 + internal/config/testdata/telegraf-agent.toml | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/README.md b/README.md index 407107602..a2b7c39c9 100644 --- a/README.md +++ b/README.md @@ -169,6 +169,7 @@ Currently implemented sources: * lustre2 * mailchimp * memcached +* mesos * mongodb * mysql * net_response diff --git a/internal/config/testdata/telegraf-agent.toml b/internal/config/testdata/telegraf-agent.toml index b2ffa0cf0..e1430b954 100644 --- a/internal/config/testdata/telegraf-agent.toml +++ b/internal/config/testdata/telegraf-agent.toml @@ -184,6 +184,18 @@ # If no servers are specified, then localhost is used as the host. servers = ["localhost"] +# Telegraf plugin for gathering metrics from N Mesos masters +[[inputs.mesos]] + # Timeout, in ms. + timeout = 100 + # A list of Mesos masters. e.g. master1:5050, master2:5080, etc. + # The port can be skipped if using the default (5050) + # Default value is localhost:5050. + masters = ["localhost:5050"] + # Metrics groups to be collected. + # Default, all enabled. + master_collections = ["resources","master","system","slaves","frameworks","messages","evqueue","registrar"] + # Read metrics from one or many MongoDB servers [[inputs.mongodb]] # An array of URI to gather stats about. Specify an ip or hostname