Giter Site home page Giter Site logo

Comments (9)

jvmlet avatar jvmlet commented on May 30, 2024 3

I have plans to expose metrics via micrometer.io, so stay tuned 😁

from grpc-spring-boot-starter.

petrmac avatar petrmac commented on May 30, 2024 1

@jvmlet, we are using the grpc-spring-boot-starter, but would like to run boot alongside to provide the kubernetes liveness and readiness probes. The boot however does not start web server (neither Tomcat, nor Jetty).
Would you have any hint on how to use spring boot actuator on http (rest) for health check alongside the grpc port?

from grpc-spring-boot-starter.

jvmlet avatar jvmlet commented on May 30, 2024

You are right, I haven't found the API to attach gRPC listener to the running instance of server.
At our own projects we are running both embedded Tomcat that hosts actuator endpoints and embedded gRPC server on different ports.

from grpc-spring-boot-starter.

Joholland avatar Joholland commented on May 30, 2024

I tried this, but I didn't see the Jetty instance start. I can try embedded tomcat. Did you do anything else to make this side by side configuration work?

from grpc-spring-boot-starter.

jvmlet avatar jvmlet commented on May 30, 2024

No, nothing special, I just added web starter with actuator together with grpc starter and got tomcat with netty running side by side. I'll be able to send you the sample at Sunday if you still have issue till then.

from grpc-spring-boot-starter.

jvmlet avatar jvmlet commented on May 30, 2024

@Joholland,
I've updated the demo application to host actuators + added test case for this.
Also, you can start demo app with gradle bootRun or java -jar grpc-spring-boot-starter-demo-0.0.2.jar and see the output of http://localhost:8080/env.

from grpc-spring-boot-starter.

axcrest avatar axcrest commented on May 30, 2024

@jvmlet does your solution get the actuator to give info on GRPC such as tracing the request time of those GRPC endpoints? I want to know how long my business logic is taking to respond, and the logic is triggered by the GRPC endpoints.

from grpc-spring-boot-starter.

jvmlet avatar jvmlet commented on May 30, 2024

@axcrest not yet, but you can have a loot at
#136 that integrates kibana APM via interceptors support as example

from grpc-spring-boot-starter.

jvmlet avatar jvmlet commented on May 30, 2024

If you add web and actuator starters to your app, do you see metrics exposed by grpc?

from grpc-spring-boot-starter.

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.