aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego <diegolparra@gmail.com>2014-05-12 22:17:17 -0300
committerDiego <diegolparra@gmail.com>2014-05-12 22:17:17 -0300
commit4da99bff39028cc055a669281def52b40de10fd4 (patch)
tree50bab3f457214edfbf74a6e41c1137a12d92855a
parent002ced85cf207b2aefbcbc496cc6787ef7b844cd (diff)
downloadKamon-4da99bff39028cc055a669281def52b40de10fd4.tar.gz
Kamon-4da99bff39028cc055a669281def52b40de10fd4.tar.bz2
Kamon-4da99bff39028cc055a669281def52b40de10fd4.zip
+ datadog: create datadog documentation
-rw-r--r--site/src/main/jekyll/_includes/navigation-bar.html1
-rw-r--r--site/src/main/jekyll/datadog/index.md85
2 files changed, 86 insertions, 0 deletions
diff --git a/site/src/main/jekyll/_includes/navigation-bar.html b/site/src/main/jekyll/_includes/navigation-bar.html
index 1abdaea3..fc289235 100644
--- a/site/src/main/jekyll/_includes/navigation-bar.html
+++ b/site/src/main/jekyll/_includes/navigation-bar.html
@@ -22,6 +22,7 @@
<ul class="dropdown-menu" aria-labelledby="download">
<li><a tabindex="-1" href="/spray"><i class="fa fa-gears"></i> Spray</a></li>
<li><a tabindex="-1" href="/statsd"><i class="fa fa-tasks"></i> StatsD</a></li>
+ <li><a tabindex="-1" href="/datadog"><i class="fa fa-tag"></i> Datadog</a></li>
<li><a tabindex="-1" href="/newrelic"><i class="fa fa-bar-chart-o"></i> New Relic</a></li>
</ul>
</li>
diff --git a/site/src/main/jekyll/datadog/index.md b/site/src/main/jekyll/datadog/index.md
new file mode 100644
index 00000000..0d840951
--- /dev/null
+++ b/site/src/main/jekyll/datadog/index.md
@@ -0,0 +1,85 @@
+---
+title: Kamon | Datadog | Documentation
+layout: default
+---
+
+Reporting Metrics to Datadog
+===========================
+<hr>
+
+[Datadog](http://www.datadoghq.com/) Datadog is a monitoring service for IT, Operations and Development teams who write
+and run applications at scale, and want to turn the massive amounts of data produced by their apps,
+tools and services into actionable insight.
+
+Installation
+------------
+
+To use the Datadog module just add the `kamon-datadog` dependency to your project and start your application using the
+Aspectj Weaver agent. Please refer to our [get started](/get-started) page for more info on how to add dependencies to
+your project and starting your application with the AspectJ Weaver.
+
+
+Configuration
+-------------
+
+First, include the Kamon(Datadog) extension under the `akka.extensions` key of your configuration files as shown here:
+
+```scala
+akka {
+ extensions = ["kamon.statsd.Datadog"]
+}
+```
+
+Then, tune the configuration settings according to your needs. Here is the `reference.conf` that ships with kamon-datadog
+which includes a brief explanation of each setting:
+
+```
+kamon {
+ datadog {
+ # Hostname and port in which your StatsD is running. Remember that Datadog packets are sent using UDP and
+ # setting unreachable hosts and/or not open ports wont be warned by the Kamon, your data wont go anywhere.
+ hostname = "127.0.0.1"
+ port = 8125
+
+ # Interval between metrics data flushes to Datadog. It's value must be equal or greater than the
+ # kamon.metrics.tick-interval setting.
+ flush-interval = 1 second
+
+ # Max packet size for UDP metrics data sent to Datadog.
+ max-packet-size = 1024 bytes
+
+ # Subscription patterns used to select which metrics will be pushed to Datadog. Note that first, metrics
+ # collection for your desired entities must be activated under the kamon.metrics.filters settings.
+ includes {
+ actor = [ "*" ]
+ trace = [ "*" ]
+ }
+
+ simple-metric-key-generator {
+ # Application prefix for all metrics pushed to Datadog. The default namespacing scheme for metrics follows
+ # this pattern:
+ # application.host.entity.entity-name.metric-name
+ application = "kamon"
+ }
+ }
+}
+```
+
+
+Integration Notes
+-----------------
+
+* Contrary to many Datadog client implementations, we don't flush the metrics data as soon as the measurements are taken
+ but instead, all metrics data is buffered by the `Kamon(Datadog)` extension and flushed periodically using the
+ configured `kamon.statsd.flush-interval` and `kamon.statsd.max-packet-size` settings.
+* Currently only Actor and Trace metrics are being sent to Datadog.
+* All timing measurements are sent in nanoseconds, make sure you correctly set the scale when plotting or using the
+ metrics data.
+* It is advisable to experiment with the `kamon.statsd.flush-interval` and `kamon.statsd.max-packet-size` settings to
+ find the right balance between network bandwidth utilization and granularity on your metrics data.
+
+
+
+Visualization and Fun
+---------------------
+