Coder Social home page Coder Social logo

spring-boot metrics about dns-java HOT 9 CLOSED

spotify avatar spotify commented on July 17, 2024
spring-boot metrics

from dns-java.

Comments (9)

pettermahlen avatar pettermahlen commented on July 17, 2024

I'm not familiar with Spring Boot, but from this link: http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#production-ready-recording-metrics, it would seem like you'd have to do something like:

  1. Implement a SpringBootDnsReporter (implementing the DnsReporter interface)
  2. Hook that up with probably two CounterServices from Spring Boot (total request count and failure count)
  3. Possibly expose the timing data using a GaugeService.

Another option with Spring Boot seems like it might be to use the Metrics library directly (which is what we do internally). Hope that helps!

from dns-java.

benschw avatar benschw commented on July 17, 2024

thanks! any idea for timing on a new release?

from dns-java.

pettermahlen avatar pettermahlen commented on July 17, 2024

New release? The things I mentioned above are things you can do yourself with the current version of dns-java, but perhaps that's not what you mean?

from dns-java.

benschw avatar benschw commented on July 17, 2024

just noticed that the statistics package in master isn't in maven

from dns-java.

pettermahlen avatar pettermahlen commented on July 17, 2024

Ah, right, got it. I wasn't aware - those changes should go out ASAP. I'll get a release out next week.

from dns-java.

benschw avatar benschw commented on July 17, 2024

oops! I suppose this ticket is solved. Thanks for the help

from dns-java.

pettermahlen avatar pettermahlen commented on July 17, 2024

Yes, the metrics-munin-reporter package is released and should work: http://search.maven.org/#search%7Cga%7C1%7Cmetrics-munin-reporter

from dns-java.

benschw avatar benschw commented on July 17, 2024

Sorry I think we got crossed up - What's in master works great for integrating with Codahale / Spring Boot, but the 2.2.0 tag is less flexible. I was hoping to find out if you had a new release of this project on your roadmap.

from dns-java.

benschw avatar benschw commented on July 17, 2024

opened a new ticket targeted to the issue - thanks for the integration helphelp

from dns-java.

Related Issues (17)

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.