Merge pull request #151 from russellcardullo/add-graphite-sink Add graphite sink for metrics
This adds a metrics sink for graphite. The sink must be configured with the host and port of a graphite node and optionally may be configured with a prefix that will be prepended to all metrics that are sent to graphite. Project: http://git-wip-us.apache.org/repos/asf/incubator-spark/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-spark/commit/859d62dc Tree: http://git-wip-us.apache.org/repos/asf/incubator-spark/tree/859d62dc Diff: http://git-wip-us.apache.org/repos/asf/incubator-spark/diff/859d62dc Branch: refs/heads/master Commit: 859d62dc2a37f56f8c85138df069a359e7fabb45 Parents: 65de73c 1360f62 Author: Matei Zaharia <[email protected]> Authored: Sun Nov 24 16:19:51 2013 -0800 Committer: Matei Zaharia <[email protected]> Committed: Sun Nov 24 16:19:51 2013 -0800 ---------------------------------------------------------------------- conf/metrics.properties.template | 8 ++ core/pom.xml | 4 + .../spark/metrics/sink/GraphiteSink.scala | 82 ++++++++++++++++++++ docs/monitoring.md | 1 + project/SparkBuild.scala | 1 + 5 files changed, 96 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-spark/blob/859d62dc/project/SparkBuild.scala ----------------------------------------------------------------------
