Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiplexing gRPC and Prometheus metrics services using Google Cloud Run #86

Open
DazWilkin opened this issue May 19, 2021 · 0 comments

Comments

@DazWilkin
Copy link

cmux is very useful.

Thank you!

Google Cloud Run is a serverless solution built atop Knative and it limits deployed services to a single port.

This is a challenge when running, e.g. gRPC services that also expose Prometheus metrics.

Using cmux, I'm able to multiplex both services onto the single port and serve gRPC and Prometheus metrics with little effort.

I wrote up the solution here: Multiplexing gRPC and HTTP (Prometheus) endpoints with Cloud Run

NOTE I did need to use the Java gRPC client solution to get this to work (locally and when deployed to Cloud Run) with Golang clients (my own and gRPCurl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant