Coder Social home page Coder Social logo

tehuti's People

Contributors

arunthirupathi avatar felixgv avatar gaojieliu avatar hsaputra avatar huangminchn avatar jkreps avatar joestein avatar junrao avatar shuhui-liu avatar sidw avatar ssen-li avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

tehuti's Issues

[further improvement] metric naming convention

Right now, Repository name, Sensor name, and Metric name are orthogonal. It makes more sense if prefixing the former in front of the latter and separating them by dot. That being said, if repository A has a sensor called B which contains metric C, the full name of this metric would be A.B.C.

Since JMX has the similar naming convention, this also makes it easier mapping metrics into corresponding JMX attribute.

Reporter'd better have a method for sensor-level registration

Reporter right now registers stats at metric-level. If the metric belongs to a existing sensor, it unregisters the sensor first, and then re-registers the whole again. It is overhead. Reporter would better have a method for sensor-level registration.

[further improvement] Add a compareTo method in MetricsReporter

It might be better to move JmxReporter#prefix to MetricsReporter and add a compareTo method in MetricsReporter that returns true if (this.getClass == a.getClass) && this.prefix == a.prefix).

In that way, we could check if there is existing reporter before adding new reporter in MetricsRepository.

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.