Giter VIP home page Giter VIP logo

jmx-cloudwatch-reporter's Introduction

jmx-cloudwatch-reporter

javagent that pushes jmx counters to aws cloudwatch

A library to report jmx counters to cloudwatch for an arbitrary java process. Library is a javaagent that needs to be started together with the java process. It uses https://github.com/blacklocus/metrics-cloudwatch to push counters to cloudwatch

Usage

start the java process like

java -javaagent:cloudwatch-reporter-0.0.1-SNAPSHOT-jar-with-dependencies.jar -Daws.credentials.file={credentials} -Dbeans.file={beans} -Daws.instance={instanceId} -Daws.cloudwatch.endpoint={endpoint} -jar path-to-jar-file

{credential} is a path to a properties file with aws credentials as specified her: http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/auth/PropertiesCredentials.html

{endpoint} is domain name of the endpoint url, could be monitoring.eu-west-1.amazonaws.com

{beans} is a path to textfile with beans names that should be pushed to cloudwatch. The format of a line is:

{beanName}.{attributeName} \t cloudwatch name

An example could be voldemort.client:type=ClientThreadPool.queuedRequests queuedRequests

{instanceId} is an identifier for the machine. Each counter will be submitted with a suffix like " instance={instanceId}*" so we can drill down on the individual instances. The '=' signifies a cloudwatch dimension

all beans registered through jmx will be pushed to stdout

Build

mvn package

jmx-cloudwatch-reporter's People

Contributors

jalkjaer avatar nielsboldt avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.