[UPDATE] Releases schedule

2014-12-02 Thread Jean-Baptiste Onofré

Hi all,

just a quick update on the releases plan.

I updated the releases schedule:

http://karaf.apache.org/index/community/releases-schedule.html

I'm preparing the 2.4.1 and 3.0.3 release for next week.

On the other hand, the Cellar and Cave releases are planned for end of 
this month.


The second week of January, we should release 2.3.10 and 4.0.0.M2.

Regards
JB
--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: [RESULT][PROPOSAL] Karaf Decanter monitoring

2014-12-02 Thread Jean-Baptiste Onofré

Hi guys,

sorry, I'm very late on this due to some customers engagements.

Tonight (I'm still in Australia up to the end of this week), I'm working 
on the next Karaf releases.
When back to France (this week end), I will move forward on the donation 
of decanter (the git repo is ready, I will do the cleanup and legal 
during the week end).


Sorry again for the delay.

Regards
JB

On 11/15/2014 10:08 AM, Andreas Pieber wrote:

Hey JB,

Thank you very much for the update! I'm already thrilled about that one :-)

Kind regards,
Andreas

On Fri Nov 14 2014 at 7:17:04 PM Achim Nierbeck bcanh...@googlemail.com
wrote:


Hi JB,

awesome. Thanks for the feedback :-)

regards, Achim

2014-11-14 16:40 GMT+01:00 Jean-Baptiste Onofré j...@nanthrax.net:


Hi guys,

just a quick update about Karaf Decanter.

The INFRA created the git repository. I will cleanup the legal files, and
add the latest features. I will push to karaf-decanter later today.

Regards
JB


On 10/19/2014 09:18 PM, Jean-Baptiste Onofré wrote:


Hi all,

this vote passed with only +1.

I will push my latest changes on the github, request the git repo to
INFRA (to push there and remove the github one), and create a component
in Jira.

Thanks all for your vote.

Regards
JB

On 10/14/2014 05:12 PM, Jean-Baptiste Onofré wrote:


Hi all,

First of all, sorry for this long e-mail ;)

Some weeks ago, I blogged about the usage of ELK
(Logstash/Elasticsearch/Kibana) with Karaf, Camel, ActiveMQ, etc to
provide a monitoring dashboard (know what's happen in Karaf and be able
to store it for a long period):

http://blog.nanthrax.net/2014/03/apache-karaf-cellar-camel-
activemq-monitoring-with-elk-elasticsearch-logstash-and-kibana/



If this solution works fine, there are some drawbacks:
- it requires additional middlewares on the machines. Additionally to
Karaf itself, we have to install logstash, elasticsearch nodes, and
kibana console
- it's not usable out of the box: you need at least to configure
logstash (with the different input/output plugins), kibana (to create
the dashboard that you need)
- it doesn't cover all the monitoring needs, especially in term of SLA:
we want to be able to raise some alerts depending of some events (for
instance, when a regex is match in the log messages, when a feature is
uninstalled, when a JMX metric is greater than a given value, etc)

Actually, Karaf (and related projects) already provides most (all) data
required for the monitoring. However, it would be very helpful to have

a

glue, ready to use and more user friendly, including a storage of the
metrics/monitoring data.

Regarding this, I started a prototype of a monitoring solution for

Karaf

and the applications running in Karaf.
The purpose is to be very extendible, flexible, easy to install and

use.


In term of architecture, we can find the following component:

1/ Collectors  SLA Policies
The collectors are services responsible of harvesting monitoring data.
We have two kinds of collectors:
- the polling collectors are invoked by a scheduler periodically.
- the event driven collectors react to some events.
Two collectors are already available:
- the JMX collector is a polling collector which harvest all MBeans
attributes
- the Log collector is a event driven collector, implementing a
PaxAppender which react when a log message occurs
We can planned the following collectors:
- a Camel Tracer collector would be an event driven collector, acting

as

a Camel Interceptor. It would allow to trace any Exchange in Camel.

It's very dynamic (thanks to OSGi services), so it's possible to add a
new custom collector (user/custom implementation).

The Collectors are also responsible of checking the SLA. As the SLA
policies are tight to the collected data, it makes sense that the
collector validates the SLA and call/delegate the alert to SLA

services.


2/ Scheduler
The scheduler service is responsible to call the Polling Collectors,
gather the harvested data, and delegate to the dispatcher.
We already have a simple scheduler (just a thread), but we can plan a
quartz scheduler (for advanced cron/trigger configuration), and another
one leveraging the Karaf scheduler.

3/ Dispatcher
The dispatcher is called by the scheduler or the event driven

collectors

to dispatch the collected data to the appenders.

4/ Appenders
The appender services are responsible to send/store the collected data
to target systems.
For now, we have two appenders:
- a log appender which just log the collected data
- a elasticsearch appender which send the collected data to a
elasticsearch instance. For now, it uses external elasticsearch, but
I'm working on an elasticsearch feature allowing to embed elasticsearch
in Karaf (it's mostly done).
We can plan the following other appenders:
- redis to send the collected data in Redis messaging system
- jdbc to store the collected data in a database
- jms to send the collected data to a JMS broker (like ActiveMQ)
- camel to send the collected data to a Camel 

Re: [UPDATE] Releases schedule

2014-12-02 Thread Jamie G.
Sounds good :)

On Tue, Dec 2, 2014 at 4:55 AM, Jean-Baptiste Onofré j...@nanthrax.net wrote:
 Hi all,

 just a quick update on the releases plan.

 I updated the releases schedule:

 http://karaf.apache.org/index/community/releases-schedule.html

 I'm preparing the 2.4.1 and 3.0.3 release for next week.

 On the other hand, the Cellar and Cave releases are planned for end of this
 month.

 The second week of January, we should release 2.3.10 and 4.0.0.M2.

 Regards
 JB
 --
 Jean-Baptiste Onofré
 jbono...@apache.org
 http://blog.nanthrax.net
 Talend - http://www.talend.com