opencensus-proto
opencensus-proto copied to clipboard
Add a version field to TraceConfig
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.