opencensus-proto icon indicating copy to clipboard operation
opencensus-proto copied to clipboard

Add a version field to TraceConfig

Open panzhongxian opened this issue 5 years ago • 0 comments

Please add a version field to TraceConfig : https://github.com/census-instrumentation/opencensus-proto/blob/26aa36c099c2041b432cf3cc8a26c5fb858d218b/src/opencensus/proto/trace/v1/trace_config.proto#L29-L51

Depending on a version filed in UpdatedLibraryConfig, Oc Agent will determine whether to send a UpdatedLibraryConfig back easily.

On library side, it's also helpful to determine whether they need to update the current libary config in there memory according to the Config response - UpdatedLibraryConfig.

panzhongxian avatar Jul 31 '19 04:07 panzhongxian