From 156055487243c8a0741fd89c174ad422145133cd Mon Sep 17 00:00:00 2001 From: Tarsis Azevedo Date: Sun, 23 Apr 2017 11:22:38 -0300 Subject: [PATCH] add README --- README.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..d063db9 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +PrometheusSparkMetrics class to instrument spark jobs. +## How to use it + + $ streamingContext.addStreamingListener(new PrometheusSparkMetrics(streamingContext.sparkContext.appName))