Git Product home page Git Product logo

jaeger-client-micrometer's Introduction

Jaeger Client Metrics exposed via Micrometer for Spring Boot 2.x applications

This is a simple starter project for Spring Boot including the Jaeger Client exposing its metrics via Micrometer. It also automatically opens an endpoint for Prometheus to scrap.

References:

How to get metrics

Start the application as a regular Spring Boot application, with:

$ ./mvnw spring-boot:run

A message like the following should be seen in the logs:

... Mapped "{[/actuator/prometheus],methods=[GET],produces= ...

If that’s the case, then Jaeger metrics should be available along with the other metrics:

$ curl localhost:8080/actuator/prometheus 2>/dev/null | grep jaeger
# HELP jaeger:reporter_spans_total
# TYPE jaeger:reporter_spans_total counter
jaeger:reporter_spans_total{result="dropped",} 0.0
jaeger:reporter_spans_total{result="ok",} 0.0
jaeger:reporter_spans_total{result="err",} 0.0
# HELP jaeger:finished_spans_total
# TYPE jaeger:finished_spans_total counter
jaeger:finished_spans_total 0.0
# HELP jaeger:sampler_queries_total
# TYPE jaeger:sampler_queries_total counter
jaeger:sampler_queries_total{result="ok",} 0.0
jaeger:sampler_queries_total{result="err",} 0.0
# HELP jaeger:sampler_updates_total
# TYPE jaeger:sampler_updates_total counter
jaeger:sampler_updates_total{result="ok",} 0.0
jaeger:sampler_updates_total{result="err",} 0.0
# HELP jaeger:baggage_restrictions_updates_total
# TYPE jaeger:baggage_restrictions_updates_total counter
jaeger:baggage_restrictions_updates_total{result="ok",} 0.0
jaeger:baggage_restrictions_updates_total{result="err",} 0.0
# HELP jaeger:baggage_truncations_total
# TYPE jaeger:baggage_truncations_total counter
jaeger:baggage_truncations_total 0.0
# HELP jaeger:started_spans_total
# TYPE jaeger:started_spans_total counter
jaeger:started_spans_total{sampled="n",} 0.0
jaeger:started_spans_total{sampled="y",} 0.0
# HELP jaeger:span_context_decoding_errors_total
# TYPE jaeger:span_context_decoding_errors_total counter
jaeger:span_context_decoding_errors_total 0.0
# HELP jaeger:traces_total
# TYPE jaeger:traces_total counter
jaeger:traces_total{sampled="n",state="started",} 0.0
jaeger:traces_total{sampled="y",state="started",} 0.0
jaeger:traces_total{sampled="n",state="joined",} 0.0
jaeger:traces_total{sampled="y",state="joined",} 0.0
# HELP jaeger:baggage_updates_total
# TYPE jaeger:baggage_updates_total counter
jaeger:baggage_updates_total{result="ok",} 0.0
jaeger:baggage_updates_total{result="err",} 0.0

jaeger-client-micrometer's People

Contributors

jpkrohling avatar

Watchers

 avatar

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.