Git Product home page Git Product logo

snap-plugin-collector-jolokia's Introduction

DISCONTINUATION OF PROJECT.

This project will no longer be maintained by Intel.

This project has been identified as having known security escapes.

Intel has ceased development and contributions including, but not limited to, maintenance, bug fixes, new releases, or updates, to this project.

Intel no longer accepts patches to this project.

snap-plugin-collector-jolokia

Assumptions

In our case we have one Jolokia per app/pod (in contrast to having one Jolokia working with many JMX endpoints) so in initial attempt we were able to make some simplifications.

Our base idea for plugin is:

  • the plugin accepts a list of working Jolokia endpoints in dedicated section of snap config
  • on start, the plugin retrieves JMX metrics available on these endpoints; the metrics catalog is updated based on that
  • task config can hold one (or more) Jolokia endpoints to read the metrics from and the list of metrics it's interested in

This approach has the following consequences:

  • when the plugin starts, it requires that there is some Jolokia endpoint working
  • metrics catalog is updated once (because of the plugin lifecycle) - if there are new endpoints used in tasks, metrics they can handle are restricted to this list (which means even if the new endpoints introduce new metrics, new metrics cannot be served -- unless you change the global config to include the url and restart SNAP)

We still have a doubt what to do with response with non-base type.

For packaging you would need:

Creating packages:

To create a package simply run $ make pkg in root directory.

In configuration doubts, please take a look into examples.

snap-plugin-collector-jolokia's People

Contributors

kdembler avatar akantak avatar andrzej-k avatar rdower avatar

Stargazers

Laurent Hoss avatar

Watchers

Connor Doyle avatar B.J. Ray avatar James Cloos avatar Niklas Nielsen avatar Nicholas Weaver avatar Marcin Spoczynski avatar Rashmi Gottipati avatar Patryk Matyjasek avatar Izabella Raulin avatar Daniel Nguyen avatar Aaron avatar  avatar Łukasz Mróz avatar  avatar Emily Gu avatar Marcin Krolik avatar Snappy avatar Alicja Kwaśniewska avatar Katarzyna Kujawa avatar Mateusz Kleina avatar  avatar Piotr Adamowicz avatar Dancy avatar  avatar

snap-plugin-collector-jolokia's Issues

METRIC.md file

Could you provide separated METRIC.md file with table of metrics with columns "namespace", "data type" and "description" like here.

Add Testing

It would be nice to have unit tests for the jolokia plugin to test the following functions:

  1. update_catalog
  2. collect
  3. get_config_policy
  4. get_data

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.