Liking cljdoc? Tell your friends :D

metrics-clojure-cloudwatch

A reporter for metrics-clojure that sends metrics to AWS CloudWatch.

clojars badge

Quick Start

(require '[metrics.reporters.cloudwatch :as cloudwatch])

(def CWR (cloudwatch/reporter reg {:namespace "MyNamespace"}))
(cloudwatch/start CWR 60)

This will tell the metrics library to submit the most recent value of each metric to CloudWatch (every 60 seconds) in the MyNamespace custom namespace. Please consult the docstring for reporter to see the complete list of options and information about default values.

For more information about how to use the metrics library as well as information about other reporters, please refer to the metrics-clojure docs.

License

Copyright © 2020 Thomas C. Taylor and contributors.

Distributed under the Eclipse Public License version 2.0.

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close