Brighter icon indicating copy to clipboard operation
Brighter copied to clipboard

Support management and Monitoring of ServiceActivator instances

Open iancooper opened this issue 12 years ago • 15 comments

We want both command line and web based monitoring and control of service activator instances. We want to support a view of the message store(s) and sending messages to active instances via a control bus.

The web site should be self-hosted and allow multiple message stores to be viewed in one location.

The control bus ought to accept over-HTTP control inputs. It needs to publish it's statistics. We envisage using the RestMS as a messaging hub to send messages to Brighter, and to publish stats. Those stats could update the message store web interface to show who consumed messages and ack/reject/requeue.

A simple command line like Curl and WGet could then be used to manage instances. In particular we want to report the passage of messages through, and be able to start and stop individual performers. It would be nice to be able to introduce new performers to handle load. Because it might be a pain to keep formatting and sending RestMS control messages we envisage a python script being developed to help automate this.

The web site could then provide a 'nicer' interface but similar functionality

The goal here is to produce something like Celery management and monitoring tools: http://celery.readthedocs.org/en/latest/userguide/monitoring.html


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

iancooper avatar Sep 27 '14 09:09 iancooper

Ian P is looking at displaying the messages from the message store. Ian C is looking at the control bus (initially driving with Fiddler etc, but then with Python)

iancooper avatar Jan 23 '15 14:01 iancooper

Rocksteady may have a similar concept: send messages via a control bus that a monitoring service picks up: https://code.google.com/p/rocksteady/

iancooper avatar Jan 26 '15 12:01 iancooper

A few thoughts abpout this. Whilst looking at montiroing alternatives for Push he found Bosun - Open Source monitoring from the worthy chaps at SO.

Bosun Archicture

Bosun Architecture

Another useful detail of Bosun is the format used - something exotic called OpenTSDB. :

OpenTSDB Architecture

OpenTSDB

penderi avatar Jan 27 '15 13:01 penderi

Netflix uses D3 to show Circuit Breaker trips for Hystrix: http://d3js.org/

iancooper avatar Feb 02 '15 11:02 iancooper

Cloudwatch can be used to monitor custom metrics: http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/publishingMetrics.html

iancooper avatar Feb 02 '15 12:02 iancooper

Servo: https://github.com/Netflix/servo/wiki

iancooper avatar Feb 02 '15 12:02 iancooper

Windows has switched to ETW from performance counters: https://msdn.microsoft.com/en-us/library/windows/desktop/aa363668%28v=vs.85%29.aspx

iancooper avatar Feb 08 '15 18:02 iancooper

Suggestion came in from https://github.com/kiquenet to also consider working with wolfpack: https://wolfpack.codeplex.com/

iancooper avatar Mar 17 '15 17:03 iancooper

Another option to look at is a Glimpse plugin: http://getglimpse.com/Extensions/

iancooper avatar Apr 14 '15 22:04 iancooper

https://dropwizard.github.io/metrics/3.1.0/getting-started/

iancooper avatar Jun 13 '15 15:06 iancooper

Just Eat are using grafana http://grafana.org/ for displaying metrics and Syrene on top of that to manage alerts: https://github.com/scobal/seyren It uses statsD to broadcast events via UDP to graphite: https://github.com/etsy/statsd

iancooper avatar Jul 03 '15 12:07 iancooper

See EasyNetQ for an example of monitoring traffic on RMQ directly from .NET code: https://github.com/EasyNetQ/EasyNetQ/wiki/Management-API-Introduction and http://mikehadlow.blogspot.co.uk/2012/11/a-c-net-client-proxy-for-rabbitmq.html

iancooper avatar Jul 03 '15 14:07 iancooper

Time has moved on, and although we do create the hose we don't give a useful example of how to use that.

One answer here is Prometheus, we could create a tool (most likely in Python) to consume the RMQ monitoring feed and use that to feed a site that can be exposed to Prometheus (probably written in Flask).

iancooper avatar Jan 02 '18 18:01 iancooper

The world has moved on and we probably want to support OpentTracing at this point

iancooper avatar Feb 07 '20 12:02 iancooper

Now replaced by #301

iancooper avatar Feb 07 '20 12:02 iancooper