MoSKito 2.1.5 introduces REST API


michael.schuetz - March 1, 2013 - 0 comments

Hi MoSKito community,

we published MoSKito version 2.1.5.
First we fixed bug with recently released ThreadStateProducer.

Additionally, we added an integrated RESTful interface, that is parallel to MoSKito user interface. Add accumulator like this:

http://{{url}}:{{port}}/{{app}}/muirest/accumulators/create
{
 "name": "TestAccumulator",
 "producerId": "ThreadCount", 
 "interval": "1m",
 "unit": "MILLISECONDS",
 "statName": "ThreadCount",
 "valueName": "current"
}

Please note:  In order to avoid conflicts with JAR’s delivered by JBoss container you need to update your web.xml, see documentation below.

Further reading

Cheers
Michael

Post a Comment

Your email address will not be published.