Git Product home page Git Product logo

activemq-integration's Introduction

activemq-integration

This is a tool that measures the age of messages in ActiveMQ queues, and publishes the results to SignalFx. These metrics are different from the metrics that ActiveMQ reports to JMX: this tool inspects the messages that are waiting to be delivered in each queue, whereas ActiveMQ reports to JMX the ages of only those messages that have been successfully delivered. For this reason, this tool is especially useful for detecting messages that are "stuck" in ActiveMQ queues and unable to be delivered.

Metrics Reported

  • message.age.average (type:gauge): Average age of messages in each queue, in milliseconds.
  • message.age.maximum (type:gauge): Maximum age of messages in each queue, in milliseconds.

Requirements

  • Linux/Unix
  • Java 1.5 or higher
  • ActiveMQ
  • Maven

Installation

  • clone repo (git clone https://github.com/signalfx/activemq-integration.git)
  • Configure the tool by modifying <repo>/amq-message-age/properties (see below)
  • cd <repo>/amq-message-age
  • ./run.sh

Configuration

Modify the properties file to provide values that make sense for your ActiveMQ instance.

property name definition
path Filesystem path to ActiveMQ executable
token SignalFx API token
sfx_host Host to which to transmit data (default: https://ingest.signalfx.com)
interval Interval at which to measure message age, in milliseconds. (default: 3000)
host URL at which to connect to ActiveMQ broker. (default: tcp://localhost:61616)
host_name Name of this ActiveMQ host. This value appears in the dimension "host" in SignalFx.
broker_name Name of this ActiveMQ broker. This value appears in the dimension "broker" in SignalFx.

License

This tool is licensed under the Apache License, Version 2.0. See LICENSE for full license text.

activemq-integration's People

Contributors

beccatortell avatar lganzzzo avatar mdubbyap avatar pquincyl 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.