ekg-cloudwatch: An ekg backend for Amazon Cloudwatch

[ bsd3, library, web ] [ Propose Tags ] [ Report a vulnerability ]

Push ekg metrics to Amazon Cloudwatch


[Skip to Readme]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.1.3, 0.0.1.4, 0.0.1.5, 0.0.1.6 (info)
Change log CHANGELOG.md
Dependencies amazonka (>=1.0.0), amazonka-cloudwatch (>=1.0.0), amazonka-core (>=1.0.0), base (>=4.7 && <5), bytestring, ekg-core (>=0.1 && <1.0), lens, resourcet, semigroups, text, time, unordered-containers [details]
License BSD-3-Clause
Copyright 2016 Seller Labs
Author Matt Parsons
Maintainer matt@sellerlabs.com
Category Web
Home page https://github.com/sellerlabs/ekg-cloudwatch#readme
Bug tracker https://github.com/sellerlabs/ekg-cloudwatch/issues
Source repo head: git clone https://github.com/sellerlabs/ekg-cloudwatch
Uploaded by parsonsmatt at 2017-10-19T22:46:33Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2872 total (20 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-10-19 [all 1 reports]

Readme for ekg-cloudwatch-0.0.1.6

[back to package description]

ekg-cloudwatch

Register a thread, and suddenly all your [ekg][ekg] metrics get pushed to Amazon CloudWatch. Neat!

Inspired (and copied) from the [ekg-statsd][ekg-statsd] package.

Usage:

Pass your EKG Store and the Amazonka Env to the function:

import System.Metrics as EKG
import Network.AWS    as AWS

register :: EKG.Store -> AWS.Env -> IO CloudWatchId
register store env =
  forkCloudWatch
    (defaultCloudWatchEnv "MyApplication" env)
    store