Code Monkey home page Code Monkey logo

hawkular-alerts's Introduction

hawkular-alerts

Hawkular Alerting is the alerts module for Hawkular. It is responsible to define conditions rules over data events and fire alerts that can be sent by several action plugins.

Hawkular is a modular systems monitoring suite, that consists of several sub-projects for storing of metrics, alerting on incoming events and more. Those projects are developed in their own GitHub repositories and integrated in this project.

License

Hawkular-Alerts is released under Apache License, Version 2.0 as described in the LICENSE document

   Copyright 2015 Red Hat, Inc.

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

hawkular-alerts's People

Contributors

burmanm avatar dkorn avatar ehsanjavadynia avatar jkremser avatar jmazzitelli avatar josejulio avatar jotak avatar jpkrohling avatar jshaughn avatar lucasponce avatar pgier avatar pilhuhn avatar ppalaga avatar theute avatar tsegismont avatar xeviknal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hawkular-alerts's Issues

Configuration sources

Hi,

Other than Cassendra, do you have any plans to add support for other configuration sources (Ex. elasticsearch) ?

Heavy sorting of alert list result

Hi, I've been working with hawkular alert for a while and I realized that it's really slow on sorting alerts.
When I read the code I found this line:


I'm don't know why you used collection sort. Isn't it better to use pagination and sort of infinispan itself?
instead of :
List<IspnEvent> ispnEvents = queryFactory.create(query.toString()).list();

We can use this and do the pagination in infinispan:

private List<IspnEvent> addPagingIfNecessaryAndGetList(Pager pager, StringBuilder query) {
        if (null != pager && null != pager.getOrder() && !pager.getOrder().isEmpty()) {
            query.append(" ORDER BY ");
            boolean isFirst = true;
            for (Order order : pager.getOrder()) {
                if (isFirst) {
                    isFirst = false;
                } else {
                    query.append(", ");
                }
                query.append(order.getField());
                query.append(order.isAscending() ? " ASC " : " DESC ");
            }
        }

        Query queryDsl = queryFactory.create(query.toString());
        if (null != pager) {
            queryDsl.startOffset(pager.getStart());
            queryDsl.maxResults(pager.getPageSize());
        }
        return queryDsl.list();
    }

Lack of clear tutorial how-to

Hello,
I just wanted to raise the need of a straight forward tutorial inside a non-docker environment. Can we expect to see that?
I have tried her and there and centre trying to set up an environment and failed for that ...there are absolutely no installation-guide...
Appreciate that

Reindex on startup hangs when there are lots of triggers

Hi.
We are using hawkular alert for a while and when we add 4000 triggers hawkular hangs on reindexing it (on startup).
We've tried increasing heap size but it didn't work. We've also tried tuning the indexing properties but nothing worked.
We also tried to connect multiple infinispan together but that didn't work too.
Is there any way to fix this?

Define threshold condition on Elasticsearch data

Hi, I've read the elasticsearch alerter document. but I didn't realize how I can define my condition based on source.
our elasticsearch document is something like this:
{ "key": "my-key", "value": 20 }

I want to define an alert which detect value higher than 45. Is it possible in hawkular?
I've already tried mapping value to text (using mapping field in context) and it didn't work. value won't be mapped to text.
is it possible to write a condition like this:
"conditions": [ { "type": "EVENT", "dataId": "myDataId", "expression": "source.value > 20" } ]
and can we use other condition types with elasticsearch plugin? (threshold, compare, ...).
Could you help me with this? I have spent two days reading documents and trying...
Thanks in advance

ui - the graph looks very small

the graph (left to the pie chart) looks very small (and not proportional) and potentially not very usable when it will have more info.On the contrary, the bottom part of the page is empty and looks like a lot of unused space

REST-interface documentation is not created correctly

Some methods are not visible in the REST-API documentation, such as

router.get(path + "/:triggerId").handler(this::getTrigger);

The Java-code has the API documentation, but it's not in the hawkular.org website generated documentation.

multi-cluster alerting

i have several clusters, and a heapster plugin is installed in each cluster, i hope all clusters use one alert system , is hawkular can meet my needs?

Hawkular alert 2 clustering

Hi!
We've been using hawkular alerts for a while and now we want to make a cluster. I couldn't find any document about clustering version 2.
Can you help me find a document?
Or if there isn't any, could you please tell me what to do in summary?

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.