@@ -32,16 +32,16 @@ option go_package = "github.com/census-instrumentation/opencensus-proto/gen-go/a
32
32
service TraceService {
33
33
// After initialization, this RPC must be kept alive for the
34
34
// entire life of the application. The agent pushes configs
35
- // down to applications via a stream of requests .
36
- rpc Config (stream ConfigTraceServiceResponse ) returns (stream ConfigTraceServiceRequest ) {}
35
+ // down to applications via a stream.
36
+ rpc Config (stream CurrentLibraryConfig ) returns (stream UpdatedLibraryConfig ) {}
37
37
38
38
// Allows applications to send spans to the agent.
39
39
// For performance reasons, it is recommended to keep this RPC
40
40
// alive for the entire life of the application.
41
41
rpc Export (stream ExportTraceServiceRequest ) returns (stream ExportTraceServiceResponse ) {}
42
42
}
43
43
44
- message ConfigTraceServiceRequest {
44
+ message CurrentLibraryConfig {
45
45
// Identifier data effectively is a structured metadata.
46
46
// This is required only in the first message on the stream.
47
47
opencensus.proto.agent.common.v1.Node node = 1 ;
@@ -50,7 +50,7 @@ message ConfigTraceServiceRequest {
50
50
opencensus.proto.trace.v1.TraceConfig config = 2 ;
51
51
}
52
52
53
- message ConfigTraceServiceResponse {
53
+ message UpdatedLibraryConfig {
54
54
// Requested updated configuration.
55
55
opencensus.proto.trace.v1.TraceConfig config = 2 ;
56
56
}
0 commit comments