Tree Xie

Results 169 comments of Tree Xie

You can new grpc server with tls cert. My golang program: ```go creds, err := credentials.NewServerTLSFromFile("~/tmp/me.dev+3.pem", "~/tmp//me.dev+3-key.pem") if err != nil { return err } s := grpc.NewServer(grpc.Creds(creds)) ```

I think gRPC proxying requires your service to support tls.

tls: https://github.com/hyperium/tonic/blob/master/examples/src/tls/server.rs#L39 h2c: https://github.com/hyperium/tonic/blob/master/examples/src/h2c/server.rs#L42

Do you want a grpc gateway like: https://github.com/grpc-ecosystem/grpc-gateway ? I thinks pingora doesn't support it.

I can get the trailers `{"grpc-status": "0", "grpc-message": ""}` in `response_trailer_filter`, but I don't know how to encode it. ```rust /// When a trailer is received. async fn response_trailer_filter( &self,...

是指X轴直接传Time对象,再指定format的方式这样吗? Sent from my iPhone On Feb 22, 2023, at 11:14, farmer luo ***@***.***> wrote:  +1,可以像grafana的图这样就好了: [image] — Reply to this email directly, view it on GitHub, or unsubscribe....

我误解你们的意思了,下个版本增加支持

@farmerluo @leslieDD 最新版本已经支持,具体设置如下: 1. 设置x axis的boundaryGap为false: charts.XAxisDataOptionFunc(xAxisValue, charts.FalseFlag()), 2. 根据x轴的value值计算第一个label展示的位置,例如判断value为xx:00 3. 设置 opt.XAxis.FirstAxis = firstAxis 可参考示例:https://github.com/vicanso/go-charts/blob/main/examples/time_line_chart/main.go

是的,本质上X轴只是字符串

You can try pingap which built on pingora, it supports web for managing the proxy configuration.