Leon


Author

What's going on?

Sometimes the applications just freeze and you know that something going on but not what. Something just seems to hang there. If a similar thing happens to a database you have your slow query log (if you were lucky enough to enable it), but there is no such thing for a regular web-application. You could try to analyse what's happening with jstack, but this is a cumbersome undertaking. That's where Now Running jumps in. (more…)

Leon December 10, 2020

Kill'em all

People have been asking us time over time, if it's possible to disable MoSKito in a running system completely. Also we don't understand why you'd ever want to do it, after first pull request for this feature has been opened, we understood that people are quite serious about it. Well your wish, is our command, so here it goes. (more…)

Leon March 30, 2019

Better MoSKito Dashboard with Chart and Producer Patterns

Custom dashboards are clearly one of the most useful visualization features MoSKito has to offer. The ability to see all related information at a glance collected in one place improves the analytic capabilities and help tracking the anomalies. However, until now, configuring a dashboard could be cumbersome especially with high amount of charts and producers. Also adding a new producer to the system would require to add it to the dashboard explicitly, a step that could easily be overlooked. With MoSKito 2.8.7 we improved! (more…)

Leon April 21, 2018

Distributed subject observer pattern with ano-plass and DistributeMe

Asynchronous notification aka publisher/subscriber model is a powerful pattern. Both ano-plass and DistributeMe offered a way to do it, one with subject/observer pattern, the other with the classical EventChannels. The ano-plass subject/observer pattern was limited to the current vm. Now it can become global. (more…)

Leon April 16, 2018

Recipe: Monitoring a simple process with counters

From time to time we are asked by the users of MoSKito, how to do this or that, and how to implement a specific use-case with MoSKito. This is why we started a recipes section in our documentation and now also on the blog. A recipe will describe how to achieve a specific goal. So the original question which led to this recipe: "Lets say I have a process, some kind of job, which is running every x seconds, and I want to monitor the number of successful and unsuccessful executions, with least possible effort". And here how it goes. (more…)

Leon February 4, 2018

All my errors.

We programmers never make mistakes. Or so we think and say. However, from time to time errors manage to sneak to production systems and no one seems to know how. Well MoSKito won't change this, but it can help you hunting errors. And here is how. (more…)

Leon June 13, 2017

How to control your loadbalancer

Applications grow. At least successful applications. At some point your growing application will require a loadbalancer. It may be for scaling or availability purpose or something else. The day your application runs behind the loadbalancer first time will make you proud. And it will make you ask, how can I control what the loadbalancer thinks of my application availability? This is how. (more…)

Leon May 11, 2017

Merry Christmas and Happy New Year

wishes MoSKito to all its users and monitored systems.

Leon December 22, 2016

Newest. Hottest. Tracers.

Today MoSKito 2.7.3 is released, and it contains the hottest feature since long time. But decide for yourself. The feature request goes back some years to Dec 02, 2010 to my time at Parship, as Malte once asked, if it would be possible to know where a call to a method actually came from. It was on the list since then, but time was hard to find. So what are tracers anyway? Tracers have 3 purposes or aspects: Tracers allow you to find out which part of your code has been calling some methods in a class of your application you are interested in. They achieve it by guarding the class in question (works with most monitoring points) and triggering and saving a stack trace once something passes by. This is useful if you see strange behavior of some method/class in the MoSKito monitoring, but don't know who is actually using this class. After the execution has passed the tracer, the tracer start to record everything that happens afterwards. This means that a TracedCall (part of MoSKito Journey) is created on the fly and recorded. Every call on the monitored class will be noted, along with parameters and return values. To round this up, tracer will gather some amount of traces (code passing by). Depending on how you configured MoSKito, the tracers could collect only calls with largest duration or simply oldest or newest calls. This way you can run a tracer over a long period of time, collect all slow calls and investigate what slows them down. (more…)

Leon April 12, 2016

Enable logback in JBoss

About 10 years ago log4j was the logging framework for java. Years passed and many logging frameworks emerged. For many people, including myself, logback is the new log4j (and that is not only because of Ceki). Unfortunately it is not possible to run logback as slf4j implementation OOTB in JBoss like in Tomcat. The following 5 steps explain you how to get it running. (more…)

Leon March 16, 2015

MoSKito Hackathon in Kiev - a report

The first MoSKito Hackathon this year took place in Kiev on June 17th. This is the report. (more…)

Leon June 23, 2014

Case Study: Monitoring a cluster of java daemon processes

Hello, today I am going to speak about a concrete example of the MoSKito Control capabilities. Today we will build up a monitoring system, but not for WebApps as in previous posts, but for just plain java processes, that we are going to call daemons. Daemon, in my understanding, is just a plain old java bean/thread running in background in a separate JVM and doing some work. To make the post easier to write I created a small project on github that serves me as example: https://github.com/dvayanu/moskito-control-rmi-cluster-example (more…)

Leon April 11, 2014

Id Based Locking

We ‘invented’ (at least we say we invented it, until…

Leon January 30, 2014

The complete MoSKito integration guide – Step 3 – Custom producers

In previous steps, we spoke about general integration of MoSKito and WebUI and adding custom counters. Today, we are going to dive deeper and build own stats object. (more…)

Leon December 13, 2013

The complete MoSKito integration guide – Step 2 - Add some counters

In previous post, we performed general integration of MoSKito into the target project. In today's step (rather short), we're going to add some business-value-related information with a Counter. (more…)

Leon December 8, 2013

The complete MoSKito integration guide – Step 1

After we created our guinea pig in the previous step, it's now time to integrate MoSKito-Essential into our application. Our plan for today is: Add monitoring to the core parts of our code. Download and connect MoSKito Inspect Learn about WebFilters and Listeners At the end of the guide we want to: see the access data in MoSKito Inspect, record a Journey. Lets go! (more…)

Leon December 6, 2013