Code Monkey home page Code Monkey logo

Comments (3)

erikvanoosten avatar erikvanoosten commented on August 24, 2024

Can you please be more specific to what is wrong (and where)?

from metrics-scala.

erikvanoosten avatar erikvanoosten commented on August 24, 2024

I see now. You are asking a question. Please ask questions on the metrics mailing list. This is an issue system, not a forum.
BTW, the answer can be (should be) found in the metrics (core) documentation.

from metrics-scala.

fancellu avatar fancellu commented on August 24, 2024

I have created some health checks, can't see them in JMX. So thought maybe
had to the health registry to JMX. but found
JmxReporter.forRegistry doesn't take a health registry

If its not the case that I have to do that would be nice to know how to get
the health checks to appear in JMX

e.g. code is:

class JMXUI extends UI with nl.grons.metrics.scala.InstrumentedBuilder
with nl.grons.metrics.scala.CheckedBuilder{

val metricRegistry = new com.codahale.metrics.MetricRegistry()
val registry = new com.codahale.metrics.health.HealthCheckRegistry()

....
val reporter = JmxReporter.forRegistry(metricRegistry).build()
reporter.start()

...
healthCheck("database"){dbOk.booleanValue}

Thanks.

On 5 November 2013 14:59, Erik van oosten [email protected] wrote:

Can you please be more specific to what is wrong?


Reply to this email directly or view it on GitHubhttps://github.com//issues/23#issuecomment-27778882
.

from metrics-scala.

Related Issues (20)

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.