fix: global proto name conflict
This commit is contained in:
13
api/conf/v1/kratos_conf_tracer.proto
Normal file
13
api/conf/v1/kratos_conf_tracer.proto
Normal file
@@ -0,0 +1,13 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package conf;
|
||||
|
||||
option go_package = "github.com/tx7do/kratos-bootstrap/gen/api/go/conf/v1;conf";
|
||||
|
||||
// 链路追踪
|
||||
message Tracer {
|
||||
string batcher = 1; // jaeger或者zipkin
|
||||
string endpoint = 2; // 端口
|
||||
double sampler = 3; // 采样率,默认:1.0
|
||||
string env = 4; // 运行环境:dev、debug、product
|
||||
}
|
||||
Reference in New Issue
Block a user