N
N
nakem2021-12-02 16:31:18
API
nakem, 2021-12-02 16:31:18

How to make grpc middleware for connection time metric?

There is a two way grpc api. I need to add a metric that measures the lifetime of a client connection. I'm going to add this to the middleware. But I can't figure out how to handle connection disconnection. Well, in general, there are small gaps with middleware.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question